ibm websphere portal blog,websphere portal, portal blog, ibm blog,websphere blog,websphere tips and tricks, websphere interview questions, portal interview questions, portal faqs

Set WCM Configuration details for Specific Virtual Portal | IBM WebSphere Portal Blog

Pages

Sunday, October 30, 2016

Set WCM Configuration details for Specific Virtual Portal


From WCM 8.x onwards we can scope the WCM libraries to specific virtual portal , there may be a lot of situations where we need to configure different WCM Config Service settings specific to each virtual portal we create.
Navigate to below path for  WCM Config Service settings.
Resources > Resource Environment > Resource Environment Providers >WCM WCMConfigService > Custom properties.

1.     Setting unique configuration for each virtual portal

You can set this for either host name or context path
Host name:
vp.uniquename.hostname=ExistingVPHost
Context path:
vp.uniquename.context=ExistingVPContext
E.g: vp.hrportal.context=hrportal   (for hr virtual portal like /wps/myportal/hrportal/welcome)

2.     Defining virtual portal scoped configuration

propertykey.vp.uniquename= override_value
E.g:
a. For customizing the link generated in email for the specific virtual portal(hrportal)
wcm.authoringui.url.vp.hrportal= http://${WCM_HOST}:${WCM_PORT}/${WCM_WPS_CONTEXT_ROOT}/${WCM_WPS_PERSONALIZED_HOME}/hrportal/wcmAuthoring
b. Configuring subscriber only setting for virtual portal (hrportal)  
deployment.subscriberOnly.vp.hrportal = true
NOTE: default subscriber only value = false for all other portals(Base and virtual portals) except hrportal

3.     Settings specific to base portal

You can specify configuration specific to base portal only like below
E.g
wcm.authoringui.url.base = http://${WCM_HOST}:${WCM_PORT}/${WCM_WPS_CONTEXT_ROOT}/${WCM_WPS_PERSONALIZED_HOME}/wcmAuthoring

4.     Settings those are global

If you specify any setting without (.vp.uniquename) or  (.base) are applied across all portals (base and virtual portals).
If the base configuration for a setting is different from all the virtual portals, it is more efficient to use a base override setting. To do this, add this setting:enable.base.portal.overrides=true
Other References to refer for :
http://www-01.ibm.com/support/knowledgecenter/SSHRKX_8.5.0/mp/wcm/wcm_config_scoped_vp.dita?lang=en