on 2025 May 15 10:35 PM
Hi
I am using below steps in input page to update data once users enter planning data.
Sometimes users are forgetting to Run the DA before ‘Publish’ data and giving wrong results..
If I keep ‘Publish’ step in DA by removing ‘Publish’ button from tool bar, they will not have option to ‘Revert Data’ step which don’t like it. They require ‘Revert Data’ step.
How to update ‘Data Action’ step if user click the ‘Publish’ button.
How to manage this issue, any ideas please.
Regards,
Vasu
Request clarification before answering.
Maybe create 3 buttons in your story: Revert button (with scripting), Calculate button (triggers Data action without publish) and Publish button (triggers data action with publish).
Or maybe train users to use the right-click context menu on table widget > Version > Revert
Then also hide the Publish option here from within the Styling Quick Menu options.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @JefB
Thank you for your message.
Just looking Revert button (with scripting).
var planVersion = Table_1.getPlanning().getPublicVersion("Plan"); if (planVersion) { if(planVersion.isDirty()) { planVersion.revert(); }; };
Users are editing the public version, so it will create Public Edit versions. In script should I need to find the relevant user public edit version to Revert, or system will take care it only Revert the changes by same user and not for any other user changes.
For, ex, two users are editing public version, by different company codes CC1, CC2. If user1 edited CC1 data and he wants Revert his changes. If he uses do Revert button using above code, will it Revert all changes including other user2 changes in CC2 data or his changes only.
There is no issue if it Revert data only for same user changes.
If not how to adjust the above code to Revert data only for same user changes.
Sorry, if it is silly doubt. Regards, Vasu
User | Count |
---|---|
30 | |
21 | |
16 | |
8 | |
7 | |
6 | |
5 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.