@jamespeltzer Thanks for working with me on this. I guess what I'm really after is being able to create visible UI elements from ogscript.
Lets say I've got the following in my panel:
<param expand="true" height="40" left="60" oid="temp" top="300" widget="1" width="200"/>
How do I create that from a script section? I've tried the following without success from inside a button task:
var paramObject ={
"expand": "true",
"height": "40",
"left": "60",
"oid": "temp",
"top": "400",
"width": "200"
};
var newParam = params.createParam(paramObject);
My end goal is to build a panel for monitoring a routing system based on a user generated XML file. This way the user can more easily modify the panel without having to know the ins-and-outs of the script and the risk of breaking the panel by trying to add something new to it. To pull this off I at minimum need to generate standard UI elements dynamically (like the one referenced above) as well as the paramaters backing those elements. Maybe this isn't possible (which would be a bummer) but I'm hoping it is and you can point me in the right direction.
Thanks
#DashBoard