Skip to Content
author's profile photo
Former Member

Retrieve sort priority for a navigation item

Is there any way to dynamically retrieve the sort priority of a menu item within a navigation when the navigation is being displayed? The navigation is returned as a 2D array, and displayed, but I would like to find the sort priority of each top-level item and depending on its value, display it elsewhere. Does anyone know how to find this value?

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • author's profile photo
    Former Member
    Aug 11, 2004 at 06:59 AM

    Hi,

    depends on where you're coding. Inside the portal, as a navigation API client (iView), you can call getPriority() on each node. See PDK for example on how get the navgation tree in the portal.

    Regards,

    Armin

    Add comment
    10|10000 characters needed characters exceeded