Oracle WebCenter Interaction Administrator Guide

     Previous Next  Open TOC in new window   View as PDF - New Window  Get Adobe Reader - New Window
Content starts here

Customizing the Tokens in Friendly URLs

By default, the portal areas are represented by the following tokens in friendly URLs: mypage, community, user, directory, document, and gw. However, the portal administrator can change these tokens to fit the needs of the company.

  1. Open the following file in a text editor: Install_Dir\bea\alui\settings\portal\FriendlyURLs.xml. For example: C:\bea\alui\settings\portal\FriendlyURLs.xml or /opt/bea/alui/settings/portal/FriendlyURLs.xml
  2. Edit the <key> values as desired. You can change the following tokens:
    • mypage — represents a My Page object
    • community — represents a community object
    • user — represents a user
    • directory — represents a Knowledge Directory folder
    • document — represents a document
    • gw — represents gatewayed object
    For example, you might change the token for directory to “folder” as in the following code:
    	<FriendlyURLMapping>
    		<key>folder</key>
    		<classId>17</classId>		
    	</FriendlyURLMapping>
    
    This would mean that users could access Knowledge Directory folders through a friendly URL in the format: http://portal.company.com/portal/server.pt/folder/object_name/[object_id]
Related tasks

  Back to Top      Previous Next