Custom json for tabs layout

Hi!

Is there any guide about the parameters of the json that build the tabs menu?
I would like to create custom menu and I want to understand what the role of the parameters (like - target, requirement etc.)

Thanks
Amiel

@Amiel,
You may find the json listed in interface/main/tabs/menu/menu_data.php Consider the below json {“label”:“Messages”,“menu_id”:“msg0”,“target”:“msg”,“url”:"/interface/main/messages/messages.php?form_active=1",“children”:[],“requirement”:0},
label – Specify the menu name
menu_id – Unique Id for the Menu
target - Frame source
url – path of the page to be loaded on hitting that menu.
children – sub menu
requirement – defined by various levels.
0 = Once login, the menu will be enabled
1 – Enabled once the patient is selected.
Let us know if you have further clarifications.

Thanks,
ViSolve

Thank you.

Hi

ok for 0 and 1 and if the value is 2 or 3 or 4 what does it mean?
Thanks