| Oracle Help for the Web | Contents | Index | Search | View Topic |
| Definition | Related
Help Topics | Additional Information
|
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.
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:
hostname is the
machine on which OracleAS
Portal is installed.
portnumber is the
port number used to access OracleAS
Portal
pls is the virtual
path and indicates that the request is for a PL/SQL procedure which
alerts the Oracle HTTP Server to reroute the request to mod_plsql.
dad is the Database
Access Descriptor (DAD) used for your OracleAS
Portal installation. The DAD contains information on how to connect
to the database.
url indicates that
the URL is a direct access URL to a page (this is the path alias
specified in the DAD).
Note: url
is the default path alias, but your portal administrator could have
changed it to something else.
page indicates that
the object is a page.
pagegroupname is
the name of the page group that owns the object.
objectname is the
name of the object.
Examples:
http://mymachine.mycompany.com:5000/pls/portal/url/page/myportal
Note: The name of the root page of a page group is the same as the name of the page group.
http://mymachine.mycompany.com:5000/pls/portal/url/page/myportal/mypage
http://mymachine.mycompany.com:5000/pls/portal/url/page/myportal/mypage/mysubpage
http://mymachine.mycompany.com:5000/pls/portal/url/page/myportal/mypage/mytab
http://mymachine.mycompany.com:5000/pls/portal/url/page/myportal/mypage/mytab/mytab1
http://mymachine.mycompany.com:5000/pls/portal/url/page/myportal/mycategory
http://mymachine.mycompany.com:5000/pls/portal/url/page/myportal/mycategory/mysubcategory
http://mymachine.mycompany.com:5000/pls/portal/url/page/myportal/myperspective
http://mymachine.mycompany.com:5000/pls/portal/url/page/myportal/myperspective/mysubperspective
http://mymachine.mycompany.com:5000/pls/portal/url/page/myportal/mytemplate
http://mymachine.mycompany.com:5000/pls/portal/url/page/myportal/mynavigationpage
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.
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:
docs indicates that
the URL is a direct access URL to a document (this is the document
path specified in the DAD).
Note: docs
is the default document path, but your portal administrator could
have changed it to something else.
documentname is the
name of the document.
Examples:
To access a document called mydocument.txt that is on the mypage page of the myportal page group:
http://mymachine.mycompany.com:5000/pls/portal/docs/page/myportal/mypage/mydocument.txt
http://mymachine.mycompany.com:5000/pls/portal/docs/page/myportal/mypage/mysubpage/myotherdocument.txt
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.
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 changes.
A durable link is formed as follows:
http://<hostname>:<portnumber>/pls/<dad>/url/ITEM/<GUID>
where:
ITEM indicates that
the URL is a durable link.
GUID is the GUID of
the item. You can find out an item's GUID by right-clicking the item and
choosing Copy Location (Internet
Explorer) or Copy Link Location
(Netscape), or by displaying the item's property sheet.
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:
If the GUID of the My Document text item is A47D41ECA23648A9E030007F0100118A, the durable link URL is:
http://mymachine.mycompany.com:5000/pls/portal/url/ITEM/A47D41ECA23648A9E030007F0100118A
http://mymachine.mycompany.com:5000/pls/portal/url/ITEM/A47D41ECA23648A9E030007F0100118A/2
For more information go to the documentation section of Portal Center.
Copyright © 2005, Oracle. All rights reserved.