All absolute and relative hyperlinks to a URL are added using the Address field in the Insert Hyperlink dialog box. The Insert Hyperlink dialog box also contains a Full URL field, which shows the base path if one is set in the Options dialog box, plus the appended relative URL. The Full URL field is a calculated field; meaning that it is not editable. When you first open the Insert Hyperlink dialog box, the base URL path does not appear; however, as you enter a relative URL, the Full URL field updates to show the entire URL link as it is being typed. Depending on the relative URL convention you use, the Full URL inserts all or part of the base path and appends the relative address.
Note: If the linked content is not accessible or available for you to install locally, you can still create the links with relative URLs without setting a base URL; however, the linked content cannot be previewed. After the linked content is deployed, you can set the base URL path in post-publishing to resolve the links. See Publish Relative URL Links in the Enhance Content with URLs, Work with Relative URLs sections of the Enhance Content with Attachments chapter for more information.
When entering a relative URL, the Developer follows standard URL conventions of dots and slashes as defined by webreference.com. The following list describes the standard conventions. The examples below each convention show the relative address typed into the Address field and the resulting Full URL when the base URL path is set to "http://wsgsrv/hr-content/en/us."
. (one period)
.. (two periods)
/ (one slash)
<targetfilename> (no notation)
Note: You cannot use URL conventions to navigate to an address higher than the root of the base URL path.
Enter an Absolute URL
You can link to another URL outside of the base URL path if you enter an absolute URL in the Address field. Typing http:// or https:// in the Address field indicates that you are not entering a relative URL, and therefore, not using the base URL path.
Relative address = http://xyzserver/salescontent/home.html
Full URL = http://xyzserver/salescontent/home.html
Table of Contents