Skip to end of metadata
Go to start of metadata

Purpose

The purpose of this page is to describe in detail the steps required to configure anonymous access to KM Content.

Overview

Anonymous access allows users to access content without the need to authenticate in the portal. This is useful in scenarios where you have public content that should be available to everyone. In order to achieve this for KM content there are some important configuration steps that need to be carried out. You must make sure that you are using short URLs in the URL Generator Service and you must also change the authentication scheme of certain KM iViews to Anonymous.

URL Generator Service Configuration

The URL Generator Service is used whenever a URL is required to access a resource in KM. The URL Generator Service is preconfigured in the standard delivery so normally it is not required to make any changes. However in an upgrade scenario it’s possible that you may need to configure short URLs. This is a required prerequisite of KM anonymous configuration so this should be checked regardless of whether you are using a new installation or not.

  1. Navigate to System Administration > System Configuration > Knowledge Management > Content Management > Global Services > Show Advanced Options > URL Generator Service
  2. Select Edit and makes changes to the following:
    Replace the prefix
    /irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs in the parameters Viewer, XML Forms CSS URL, and Content Access Path with /irj/go/km/docs
    The entry in the Image Path parameter must look as follows: /irj/go/km/docs/etc/public/mimes/images
    Replace the prefix
    /irj/servlet/prt/portal/prtroot/com.sap.km.cm.uidetails in the parameters Resource Properties Page and New Resource Properties Page with /irj/go/km/details
    Replace the prefix
    /irj/servlet/prt/portal/prtroot/com.sap.km.cm.navigation in the parameters Explorer Servlet and Navigation Servlet with /irj/go/km/navigation
    Replace the prefix
    /irj/servlet/prt/portal/prtroot/com.sap.km.cm.highlightedcontent in the parameters Highlighted Content with /irj/go/km/highlightedcontent
    Replace the prefix
    /irj/servlet/prt/portal/prtroot/com.sap.km.cm.basicsearch in the parameter Basic Search Servlet with /irj/go/km/basicsearch
  3. Save your changes. For further information see the URL Generator Service SAP Help Documentation

Authentication Scheme of KM iViews

This step is very important and is one that is frequently overlooked.

  1. Open the PCD editor by navigating to Content Administration > Portal Content or Portal Content Management (NW 7.30)
  2. Within the PCD Editor navigate to Portal Content > Content provided by SAP > End User Content > Standard Portal Users
  3. Right click on the Standard User Role and select Open Role
  4. Navigate to Home > Hidden > URL Access
  5. There you will see the following iViews listed
    KM Basic Search iView
    KM Details iView
    KM Document iView
    KM Highlighted Content iView
  6. Click on the KM Document iView and open its properties
  7. Select Modify properties and change the value of the AuthScheme parameter to Anonymous
  8. Save your changes
  9. Repeat this for all the iViews listed in point 5 above.

Creation of Anonymous Portal Roles

Once you have configured the KM prerequisites you can then create a role for your anonymous users. You can then assign iViews to this role to display your anonymous content to your end users. For more details information on these steps see the How To configure anonymous access to KM guide on SCN.

Related Content

Related Documents

SCN How To Guide - How To configure anonymous access to KM
SAP Help Documentation - Using Anonymous Logon to Access the Portal
SAP Help Documentation - Configuring Anonymous Logon with Names Anonymous Users

Related Notes/KBAs

SAP Note 837898 - How to configure anonymous CM access
SAP Note 1532876 - Anonymous access for KM resources through Web Folders
SAP Note 1269191 - Troubleshooting Anonymous Access in NW WPC
SAP KBA 1631202 - KM notification email links are not working when anonymous access is enabled

  • No labels