Hello,
When you create a script web item, there is some auto-generated code at the start of your script put into comments:
When I put the line var key = currentState.getParameter( PARAM_KEY ).getValue(); out of comment, the script doesn't work anymore (in debug it complains about this line saying: 'null' is null or not an object).
However, in an example on help.sap.com, they put this line out of comment. What is the reason that when I do so, my script doesnt work anymore?
What I'm hoping to be able to do with this command is to get a web item's parameters. If it's not possible to get them this way
Kind regards,
Tom