on 09-06-2018 5:35 PM
Hi,
We are running Personas 3.0 SP7. I'm working in Slipstream; I'm not sure if that matters for this post.
I was working on a template that has a Script Button, and saw in the template editor that I could add an onClick event to the button, which I did. I added a script called btn_Click and let it default the script as I do in the flavor editor.
Now if I click the button, I get an alert saying 'btn_Click' like it would with any newly created event script. But now I don't know how to actually use this functionality, and I have a couple questions.
Thanks for your help!
Hi Peter,
In the flavor editor, I see the onClick event I created in the template (btn_Logoff) and the one I created in the flavor (btn_LogOff).
In the script editor, I only see the script I created in the flavor (btn_LogOff).
So I don't see a way to edit or delete the template script (btn_Logoff).
The template was created in Slipstream; I don't know if that makes a difference. The template was also created and is being used on ViewPort screens; again, I don't know if that makes a difference.
Thanks,
Jeff
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jeff,
1. You can edit the script in the script editor. Save and exit the flavor and open the flavor editor. You will see the script you created and can edit or delete it there.
2. If you click on the "X" in the script events box, you can break the connection between the script button and onClick event.
This applies whether your script is in a template or in a standard flavor.
This applies for both SAP Screen Personas in Web GUI and Slipstream Engine.
Regards,
Peter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.