Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
I want to create a Menu in Thingworx from script. I can create almost all other entities from script but I do not find a service to create a menu.
Solved! Go to Solution.
No.
The EntityServices don't allow for creating a menu.
But I'll open an enhancement request for you on this one... seems like a good idea to me :)
Cheers,
Michael
No.
The EntityServices don't allow for creating a menu.
But I'll open an enhancement request for you on this one... seems like a good idea to me :)
Cheers,
Michael
You can however do a dynamic creation of a menu in runtime
or if you want to persist, you could create your content in a datatable
What is your use case for a persistent menu creation at runtime.
Yes Menu's can be data driven
So you can create a datatable based off the 'MenuItem' DataShape (plus some fields you need for administrative purposes)
and then when you pull that info from the datatable, you can then assign that to a Menu widget