32
Views
2
Comments
Solved
Dynamic Menu list
Question
Application Type
Reactive

Hi,

I am working on dynamic menu and facing a issue that if menu is having submenu then menu's on click event is not working.

Want to set destination on click of menu.

I have attached a sample oml for the same.

Thanks 

Menu.oml
Champion
Solution

Hello @Ridhima Shewani 

I tried replicating your scenario, I made some changes I am able to navigate and I am able to execute the action.

I have just saperated Sub Item to a block and passed the Identifier of the menu

I am attaching the sample for you - https://personal-ejuytnht.outsystemscloud.com/MenuwithSubMenu/Account

Thanks
Tousif Khan

MenuwithSubMenu_Sample.oml

@Ridhima Shewani I have tried the OML and when i click on a menu item, the onclick is working but you have to click on the menu item itself, if you click on the arrow, it won't work.
For example when i click on the "Accounts" item, i go to the Account List Page and when i click on the AccountDetails item i go to the account detail page.
Could you be more specific?

Regards

Champion
Solution

Hello @Ridhima Shewani 

I tried replicating your scenario, I made some changes I am able to navigate and I am able to execute the action.

I have just saperated Sub Item to a block and passed the Identifier of the menu

I am attaching the sample for you - https://personal-ejuytnht.outsystemscloud.com/MenuwithSubMenu/Account

Thanks
Tousif Khan

MenuwithSubMenu_Sample.oml
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.