Menus.json
The options that menu component is shown are located into
menus-2.2.0.json
file located inhttps://lib.lumen.com/menu/menus-2.2.0.json
.- Control Center endpoint (
/rudra/navigation/entitledMenus
).
menus-2.2.0.json
file has the above structure:
[
{ "value: portal name.": {
"description": "value: portal description.",
"origin": [
// first item will be the option by default
{ "value: origin key.": "value: origin or domain." },
...
],
"menu": [
// internal menu option (WITHOUT second level)
{ "value: menu option name.": {
"icon": "value: chi icon. Not required.",
"site": "OriginKey. Not required.",
"local-href: "value: relative path. Required.",
"href": "value: complete url. If site exists, required.",
"id": "value: identifier for the menu option."
}
},
// external menu option (WITHOUT second level)
{ "value: menu option name.": {
"icon": "value: chi icon. Not required",
"ext": "value: true. Required",
"window": "value: window name. Not required.",
"href: "value: complete url. Required"
}
},
// menu option WITH second level
{ "value: menu option name.": {
"icon": "value: chi icon. Not required.",
"menu": [
// internal menu option (WITHOUT third level)
{ "value: menu option name.": {
"site": "OriginKey. Not required.",
"local-href: "value: relative path. Required.",
"href": "value: complete url. If site exists, required.",
"id": "value: identifier for the menu option."
}
},
// external menu option (WITHOUT third level)
{ "value: menu option name.": {
"ext": "value: true. Required.",
"window": "value: window name. Not required.",
"href: "value: complete url. Required."
}
},
// menu option WITH third level
{ "value: menu option name.": {
"menu": [
// internal menu option
{ "value: menu option name.": {
"site": "OriginKey. Not required.",
"local-href: "value: relative path. Required.",
"href": "value: complete url. If site exists, required.",
"id": "value: identifier for the menu option."
}
},
// external menu option
{ "value: menu option name.": {
"ext": "value: true. Required.",
"window": "value: window name. Not required.",
"href: "value: complete url. Required."
}
},
...
]
}
},
...
]
}
},
...
]
}
},
...
]