|
Options
|
Description
|
|---|---|
|
Type
|
• Mashup — Opens a mashup when clicked
• Menu — Opens another menu when clicked. This option enables the creation of multi-level structures.
• Hyperlink — Opens a hyperlink when clicked.
• Logout
|
|
Title
|
Title of the menu item. Menus must have unique titles. Duplicate menu titles will cause permissions to get merged.
|
|
Link
|
Links to a mashup or hyperlink.
|
|
Target
|
Controls whether the page specified in the Link field is opened in a new page or within the current page.
When the selected type is Menu, enter the name of the sub-menu to open this field.
|
|
Icon
|
Image that is displayed with the title text.
|
|
Groups
|
Groups that belong to the menu item.
|
|
Default
|
Defines which menu item is selected by default.
|
|
|
The Menu widget is not a responsive widget. As a result, a panel is required when inserting this widget into a responsive mashup.
|
https://localhost/Thingworx/Menus/testMenu/Services/UpdateGroups
{
"groupReferences": {
"groupReferences": [
{
"name": "Developers",
"type": "Groups"
}
]
},
"menuItems": {
"menuItems": [
{
"groupReferences": [
{
"name": "Developers",
"type": "Groups"
}
]
}
]
}
}
|
|
The order of the menu items must be considered when setting permissions. Verify the order before setting the permissions.
|
{
"groupReferences": {
"groupReferences": [
{
"name": "Developers",
"type": "Group"
}
]
},
"menuItems": {
"menuItems": [
{
"groupReferences": [
{
"name": "Developers",
"type": "Group"
}
]
}
]
}
}
|
|
If you import an updated version of the extension that contains the menu, changes made in Composer will be merged with any changes made in the extension, outside of Composer.
|