Directing Users to Portal Areas with Friendly URLs
You can direct users to one of their My Pages, to a community,
to a user profile, to a Knowledge Directory folder, to a document,
or to search results with a simple URL, referred to as a friendly
URL.
- To direct users to one of their My Pages, to a community,
to a user profile, to a Knowledge Directory folder, or to a document,
create a link in the following format: http://portal.company.com/portal/server.pt/object_token/object_name/[object_id]
- Replace http://portal.company.com/portal/server.pt with the URL to your portal.
Replace object_token with the token
for the type of object to which you are linking.
The default
values are: mypage, community, user, directory,
and document, but your portal administrator
might have customized them. For example, “directory” could instead
be “folder.”
- Replace object_name with the name of the
object. Replace any spaces in My Page, community, user, or Knowledge
Directory folder names with underscores (_); replace any spaces in
document names with plus signs (+).
- You can optionally specify the object ID. To do so, replace object_id with the ID of the object.
Note:
- Users must have at least Read access to the object to which you
are directing them.
- If an object cannot be found, the user will receive an error message.
- If more than one object has the name specified in the link and
an ID is not specified, the portal displays a list of objects with
the same name and the user can select which one to view.
- To direct users to search results, create a link in the
following format: http://portal.company.com/portal/server.pt/search?q=search+term[&num=items]
- Replace http://portal.company.com/portal/server.pt with the URL to your portal.
- Replace search+term with the term you want
to search for, replacing any spaces with plus signs (+).
- You can optionally specify the number of results to display
per page. To do so, include the num element
and replace items with the number of results you
want to display per page.