on 01-22-2016 9:20 AM
Hello Personas Experts,
ive some trouble with the command
session.utils.executeScript(String scriptId, GuiVComponent source)
i dont know how to use it i think the "String scriptId" is something like "wnd[0]/scrptPersonas_0" but what is the "GuiVComponent source" ?
thank you for helping
kind regards
Florian
Update to the last version has fixed the error
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You are right about the scriptId value. You can copy it from the blue header bar of the script editor when looking at a script.
You can ignore the second parameter - it isn't necessary. I confess I've never used it so I don't actually know what it does, but looking at the code for executeScript I'd guess at it being related to event handling.
Steve.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
And when i run my skript i get this errormessage:
Error during script execution:
TypeError: oSession.findById(...).oPrivate.getProperty is not a function
at sap.personas.scripting.scriptingEngine.GuiUtils.executeScript
the command was :
session.utils.executeScript("wnd[0]/scrptPersonas_6");
and the called script is definitely working
User | Count |
---|---|
84 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.