Dear Ivan,
thank you a lot for your answer!
Nobody told me to do it like that, i tried to learn it for myself the last days and weeks.
I had a look at all the samples, watched some Tutorial-videos and read the affected API pages, but you saw the result 🙂
Even if it not looks like this, i spent already 1-2 Weeks on this problem.
So i was very happy to read your post and excited to try it out, but sadly it's still not working.
When i just enter the ValueName in the submitJob REST Service Directory (see 19.png) it works perfectly.
But when i click on the button in my widget, nothing happens.
I Added an Example-Alert to see if the function is called and the end of it is reached, this was successfull.
Is the order of the code correct? "fx:Script", then "fx:Declarations" and then the viewer:WidgetTemplate ? ( Full code attached: schematics_widget.txt).
You told me that the type is "GPString" like i can see it in the screen1.png, but you wrote just "var paramName:String" ? Why? After i tried to change String in GPString there was an error, so i think your code was correct.
:confused: