cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X

Is it possible to create a menu from script?

kornelius
14-Alexandrite

Is it possible to create a menu from script?

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. 

 

 

ACCEPTED SOLUTION

Accepted Solutions

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

View solution in original post

4 REPLIES 4

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

PaiChung
22-Sapphire I
(To:kornelius)

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.

kornelius
14-Alexandrite
(To:PaiChung)

The use case for this is that I use menus and sub-menus to structure my landing page similar to how the Navigate landing page looks like.
For future applications I want to add additional apps (tiles) through the menu structure.
Regarding the datatable: Is there a way to bind these to a menu?
PaiChung
22-Sapphire I
(To:kornelius)

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

Announcements


Top Tags