on 2018 Apr 24 2:11 AM
Hi everyone
We are using SAP Personas and have a script which runs "after page refresh".
This is working perfectly. However, we have one button on our page and we do NOT want this script to run. Is there a way to turn off this script for this one button only?
Thanks
Shaun
Is this button a script button? If it is, then you can include a statement in the associated script that stores a value using session.utils.put, and your onAfterRefresh script can query this value using session.utils.get - if the value is set, then don't run the rest of the onAfterRefresh script.
Make sure you are resetting (clearing) this stored value at each onAfterRefresh run.
If your button is not a script button, then you can replace it with a script button, doing the session.utils.put step, then pressing the original button.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks guys!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shaun,
An example of the coding can be found in this wiki (ok, it is for a different event...).
Regards,
Cris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
73 | |
10 | |
9 | |
8 | |
8 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.