Developer forum

Forum » Feature requests » Request for extra attributes in Menu XML

Request for extra attributes in Menu XML


Reply

Hi,

 

It would be cool if the Menu XML would be extended with some information if a menu item is restricted and if the user has access or no access to it.

 

I suggest to add the following attribute and values to the "Page" element:

 

Restricted="No" (menu item is publicly visible)
Restricted="Access" (menu item is restricted and user has access)
Restricted="NoAccess" (menu item is restricted and user has no access)

 

For instance:

<Page ID="122" AreaID="1" MenuText="Board of management"  MouseOver="Board of management" Href="Default.aspx?ID=122"  FriendlyHref="/euromate-en/about_us/board_of_management.aspx"  Title="Euromate" Image="" ImageActive="" ImageMouseOver=""  Allowclick="True" ShowInSitemap="True" AbsoluteLevel="2"  RelativeLevel="1" Sort="5" LastInLevel="False" InPath="False"  ChildCount="0" class="L2" Active="False" Restricted="Access" />

 

In this way we can show in the website which menu items are restricted (e.g. by giving  them a special color ).

 

Kind Regards,

Emil


Replies

 
Reply

Hi,

 

Any reaction to this?

Do you understand what kind of feature i'm looking for ?

 

-Emil

 
Reply

Sorry for the late response. I hadn't seen the suggestion myself, but we're looking into it now investigating if it could be implemented. In the next release we've implemented some new menu stuff, so please look out for that:)