You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 23
Next »
Menuoptions XML file is used for defining the left menu items.
What does this section cover?
Custom left menu items along with their pages' URLs are declared in menuoptions.xml file which must be created under ../web/WebContent/metadata directory.
All menu option IDs must be defined in modules.xml under <leftmenuoptions>. For more information on creating modules.xml, got to Customise Modules Metadata.
In the following example, three new custom menu items will be defined.
menuoptions.xml
<menuoptionconfig xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/menuOptions.xsd">
<menuoptions>
<!-- Billing> Provisioning > Local SMS Provider -->
<menuoption>
<id>CUSTOM_LOCAL_SMS_PROVIDER</id>
<name>key_local_sms_provider</name>
<description>key_local_sms_provider</description>
<menuoptionparentid>PROVISIONING</menuoptionparentid>
<menuoptionordernum>1</menuoptionordernum>
</menuoption>
<!-- Billing > Provisioning > Local SMS Provider > Manage Settings -->
<menuoption>
<id>CUSTOM_MANAGE_LOCAL_SMS_PROVIDER_SETTINGS</id>
<name>key_manAge_settings</name>
<description>key_manage_settings</description>
<menuoptionparentid>CUSTOM_LOCAL_SMS_PROVIDER</menuoptionparentid>
<menuoptionordernum>1</menuoptionordernum>
</menuoption>
<!-- Billing > Subscriptions> Import Subscriptions -->
<menuoption>
<id>CUSTOM_IMPORT_SUBSCRIPTIONS</id>
<name>key_import_subscriptions</name>
<description>key_import_subscriptions</description>
<menuoptionparentid>SUBSCRIPTIONS</menuoptionparentid>
<menuoptionordernum>9</menuoptionordernum>
</menuoption>
...
</menuoptions>
</menuoptionconfig>