Setting Links in Documents to Objects in KM Folders

Use

If you set links to objects in KM folders, you should use the short ID for the object. The short ID does not change if you move an object from one KM folder to another.

Procedure

To set a link in a document to an object in a KM folder, proceed as follows:

  1. In a KM navigation iView, navigate to the object that you want to link to and choose Start of the navigation pathSettings Next navigation step Properties  Next navigation step Access PathsEnd of the navigation path in the Details dialog box for the object.

  2. Select the short ID and use the key combination Ctrl + C to copy it to the clipboard.

  3. Use the key combination Ctrl + V to insert the short ID in your document.

  4. Add the document URL.

    The URL is composed of the following parts:

    < Protocol >://< server >:< port >/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/< short_ID >

    You can copy the first part of the URL from the Target URL field on the Access Paths tab page.

Example

In an HTML file, a link to a document in a KM folder could look like this:

<a href="http://myportal.com:50000/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/guid/c00e4dc8-2bbe-2710-b9bc-e7ee1e676ad4">My Document</a>