Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! 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