Skip to Content

Configuring the Naming Conventions Service for any Portal Landscape

When creating PCD objects – such as iViews, pages, worksets, and systems – the portal allows administrators to enter any string as the namespace of an object. To facilitate and standardize this procedure, you can define naming conventions service for the namespace used in the content object ID.

Image.jpg

In the above screen shot “Folder ID Prefix” field is a free text entry and we need to restrict user from entering any desired value in it.

Create an XML file which contains all the valid namespace for your landscape. Proposed set of Namespace for any client landscape is

·         com.client

·         com.client.pct

·         com.client.pct.roles

·         com.client.pct.ui

·         com.client.pct.iviews

·         com.client.pct.pages

·         com.client.pct.roles.technical

·         com.client.pct.roles.functional

·         com.client.pct.ui.layouts

·         com.client.pct.ui.desktops

·         com.client.pct.systems

·         com.client.pct.transports

·         com.client.pct.twl 

create an XML file say client_namespace.xml and enter the above decided namespaces in xml file in following way.

<definitions>

   <namespace id=”com.client”> 
      <principal uniqueName=”Everyone” typeId=”GROUP”/>

      <namespace id=”pct”>
           <namespace id=”roles”>
                 <namespace id=”technical”/>
                 <namespace id=”functional”/>       
           </namespace>
           <namespace id=”ui”>
                 <namespace id=”layouts”/>
                 <namespace id=”desktops”/>       
            </namespace>
           <namespace id=”iviews”/>
           <namespace id=”pages”/>
           <namespace id=”systems”/>
           <namespace id=”transports”/>
           <namespace id=”twl”/>             
           <namespace id=”others”/>                      
      </namespace>
  </namespace>

</definitions>

This file must be placed in the following location

“/usr/sap/<SID>/<instance>/j2ee/cluster/server0/apps/sap.com/irj/servlet_jsp/irj/root/portalapps/com.sap.portal.namingconventions/xml”

Now go to System administration\System configuration\ select Service Configuration from detailed navigation.

Image.jpg

Expand Applications Node and go to com.sap.portal.namingconventions\Services\NamingConventionsSrv. Double click this service.

Configure the service according to the following snapshot.

Image.jpg

Save the content and close the editor. The service is configured according to our landscape. Now we need to enable this service to accept our changes.

Right click on com.sap.portal.namingconventions and select administrate

Image.jpg

Capture.JPG

Now stop the service and start again. Following would be the result

Image.jpg

Now the Prefix field is open for text but only to some standard values.

This Blog is applicable to SAP Netweaver portal 7.0 version

To report this post you need to login first.

3 Comments

You must be Logged on to comment or reply to a post.

Leave a Reply