Show TOC

Background documentationShort (Hashed) URLs Locate this document in the navigation structure

 

The portal supports navigation based on short (hashed) URLs. For example, instead of a URL

http://myServer:50000/irj/portal? NavigationTarget=ROLES://portal_content/administrator/super_admin/super_admin_role/com.sap.portal.system_administration/com.sap.portal.system_admin_ws/com.sap.portal.permissions

the portal creates another URL for the same navigation target:

http://myServer:50000/irj/portal? NavigationTarget=navurl://0c3c7ac0dfe1083d8f50ae954b8ec25f

If this feature is turned on, which is by default, the navigation service creates hashed URLs for all navigation nodes. All links created by the navigation service are generated as hashed rather than original URLs.

For more information, see Navigation URLs.

Note Note

If the feature is turned on, the hashing occurs automatically.

End of the note.

You can call the following methods to get the long and hashed URL of a navigation node:

  • getHashedName(): returns the short (hashed) URL. If the hashed URL feature is turned off, this method returns the long URL.

  • getName(): returns the long URL