What is a direct access URL (path aliasing)?

A direct access URL is an easy to read URL that users can enter to get to a specific item, document, page, category, or perspective.

Direct access URLs for pages

Say you have a page group called myportal. Within that page group you have a page called mypage and that page has a subpage called mysubpage. If you navigate to mysubpage, the URL in your browser's Location field will look something like the following:

http://mymachine.mycompany.com:5000/portal/page?_pageid=93,38903&_dad=portal&_schema=PORTAL

This is a rather complicated URL to pass on to another user, so instead, you can give the user the page's direct access URL, which will look something like the following:

http://mymachine.mycompany.com:5000/pls/portal/url/page/myportal/mypage/mysubpage

A direct access URL for a page is formed as follows:

http://<hostname>:<portnumber>/pls/<dad>/url/page/<pagegroupname>/<objectname>

where:

Examples:

Note: Because direct access URLs are based on object names, if the name of an object changes, any links that use the old name will no longer work.

Direct access URLs for documents

You can also provide direct access URLs to documents in your portal. Direct access URLs for documents are slightly different:

http://<hostname>:<portnumber>/pls/<dad>/docs/page/<pagegroupname>/<page>/<documentname>

where:

Examples:

Note: Because direct access URLs for documents are based on the document file names, if the file name changes, any links that use the old file name will no longer work.

Durable links for items

Document names are much more likely to change than page or category names, which can lead to broken links. To solve this issue, you can use durable links. A durable link uses the item's globally unique id (GUID) to identify it. The item's GUID will not change, so you can safely use durable links without fear of them breaking if an item's document name.

A durable link is formed as follows:

http://<hostname>:<portnumber>/pls/<dad>/url/ITEM/<GUID>

where:

You can also use durable links to access a specific version of an item by putting the version number after a slash at the end of the URL.

You can use durable links to access items of Simple File, Simple Text, and Simple PL/SQL item types, and items of custom types based on those item types.

Examples:

Notes

Back to top