on 09-13-2022 3:17 PM
I have a client requirement to have a trigger button to publish data.
For every sac story there is a publish data option in the top pannel
Is there any way to add a trigger button in the story to do the "Publish Data"
Is it possible to have some script inside "Data Action Trigger -> Advanced Formulas Step" that does the Publish data job?
Any suggestions
Hi Rijin,
You can set the flag on the data action to publish the target version once it finishes running.
If what you need is a dummy planning trigger that will not calculate anything but only publish data I guess you could try building a data action with no calculation but the target version selection only, set the flag to publish after it runs and test if it actually publishes the version however it looks like an unnecessary effort considering there is a standard button which addresses exactly and easily the publishing.
Another option involving more effort will be using analytics designer and the submitData planning API but that will increase your stories complexity and the support efforts after the implementation is done as javascript knowledge will be mandatory so I strongly suggest to avoid this option unless it is a MUST(should not be as the standard already addresses the data publishing from a story).
Use the Planning APIs setUserInput and submitData
Try to keep it simple!
Hope it helps!
Pedro
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank You pedrosan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi nikhil_1486
I am trying to publish the data using the data action, i have selected the publish the data check box in the data action widget when i run the data action data is getting copied but its not publishing throwing an error, If i do that manually there is some data loss because of validation rules ,Need to schedule this data action because of this publishing issue we are doing it manually
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
11 | |
8 | |
7 | |
7 | |
6 | |
6 | |
6 | |
6 | |
6 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.