Tarik
02/26/2025, 4:57 AMJacob Overgaard
02/26/2025, 7:44 AMTarik
02/26/2025, 10:31 AMJacob Overgaard
02/26/2025, 10:36 AMJacob Overgaard
02/26/2025, 10:36 AMJacob Overgaard
02/26/2025, 10:42 AMJacob Overgaard
02/26/2025, 10:44 AMkind: "menu"
. In the meta object you want to set "menu": "My.Menu"
and lastly, you want to register the menu itself with the same alias:
{
type: 'menu',
alias: 'My.Menu',
name: 'My Menu',
}
Tarik
02/26/2025, 10:46 AMJacob Overgaard
02/26/2025, 10:47 AMjs
{
type: 'menuItem',
alias: 'Umb.MenuItem.MyMenuItem',
name: 'My Menu Item',
weight: 100,
meta: {
label: 'Click me',
icon: 'icon-globe',
entityType: 'section-view-alias',
menus: ['My.Menu'],
},
}
The important things are "entityType" which would be what is added to the path when clicking the item, i.e. the section view, and "menus", which should have the alias(es) of the menu(s) where the item should be shown within.Tarik
02/26/2025, 10:51 AMTarik
02/26/2025, 10:53 AMJacob Overgaard
02/26/2025, 10:54 AMTarik
02/26/2025, 10:56 AMJacob Overgaard
02/26/2025, 11:01 AMJacob Overgaard
02/26/2025, 11:01 AMJacob Overgaard
02/26/2025, 11:01 AMTarik
02/26/2025, 11:03 AMJacob Overgaard
02/26/2025, 11:05 AM