Category Archives: WebSphere Portal

WCM XPath queries to list contents

List all the contents in a library -> //element(*, ibmcontentwcm:webFolder)[@jcr:uuid = ‘e44b9a0049a97888a1b6b1e45894c92a‘]//element(*, ibmcontentwcm:webContent)[(@ibmcontentwcm:workflowStatus = 1 )] order by sortkey(@icm:title, ‘en’) ascending jcr:uuid = ‘e44b9a0049a97888a1b6b1e45894c92a -> uid of the Contents of library that you can find from WCMSupportTools > Browse Nodes  … Continue reading

Posted in Other, WCM, WebSphere Portal | Tagged ,

JSP Reloading in WebSphere Portal V8

WebSphere Portal Server V8.0: – Note this method is applicable if the themes directories are located into wps.war module. – Login to WebSphere Integrated Solutions Console. – Navigate to “Enterprise Applications > wps > JSP and JSF options” – Enable/Check … Continue reading

Posted in WebSphere Portal

PropFilePasswordEncoder to encode passwords in soap.client.props

Enter the password in “/profiles/AppSrv01/properties/soap.client.props” for the property “com.ibm.SOAP.loginPassword” Run the following command: /profiles/bin/PropFilePasswordEncoder.sh /profiles/AppSrv01/properties/soap.client.props  com.ibm.SOAP.loginPassword References: http://www-01.ibm.com/support/knowledgecenter/SSAW57_8.0.0/com.ibm.websphere.nd.multiplatform.doc/info/ae/ae/rsec_propfilepwdencoder.html?cp=SSAW57_8.0.0%2F3-16-1-55

Posted in websphere, WebSphere Application Server, WebSphere Portal

Refresh All WCM items in a virtual portal

http://myhost:10039/wps/wcm/myconnect/vp?MOD=RefreshAllitems&library=MyLib&preserve_dates=true

Posted in WCM, WebSphere Portal | Tagged

WCM Security Update task

./ConfigEngine.sh run-wcm-admin-task-update-security -DPortalAdminPwd=passw0rd -DWasPassword=passw0rd -Dlibrary=MyLib -DinheritPerms=apply -DlibSecurity=true -DpreserveDates=true Note: Add -DVirtualPortalContext=VP to run the task for the library in virtual portal.

Posted in WCM, WebSphere Portal | Tagged , ,

Import WCM library

1. Import a single library:./ConfigEngine.sh import-wcm-data -DWasPassword=wpsadmin -DPortalAdminPwd=wpsadmin -Dimport.libraryname=MyLib -Dimport.directory=/tmp/wcm/MyLib 2. Import a single library in a Virtual Portal:./ConfigEngine.sh import-wcm-data -DWasPassword=wpsadmin -DPortalAdminPwd=wpsadmin -DVirtualPortalContext=myvp -Dimport.libraryname=MyLib -Dimport.directory=/tmp/wcm/MyLib 3. Import all libraries:./ConfigEngine.sh import-wcm-data -DWasPassword=wpsadmin -DPortalAdminPwd=wpsadmin -Dimport.directory=/tmp/wcm 4. Import all libraries in a Virtual … Continue reading

Posted in WCM, WebSphere Portal | Tagged

Export WCM library

1. Export a single library: ./ConfigEngine.sh export-wcm-data -DWasPassword=wpsadmin -DPortalAdminPwd=wpsadmin -Dexport.libraryname=MyLib -Dexport.directory=/tmp/wcm/MyLib 2. Export a single library in a Virtual Portal: ./ConfigEngine.sh import-wcm-data -DWasPassword=wpsadmin -DPortalAdminPwd=wpsadmin -DVirtualPortalContext=myvp -Dimport.libraryname=MyLib -Dimport.directory=/tmp/wcm/MyLib 3. Export all libraries: ./ConfigEngine.sh export-wcm-data -DWasPassword=wpsadmin -DPortalAdminPwd=wpsadmin -Dexport.allLibraries=true -Dexport.singledirectory=true -Dexport.directory=/tmp/wcm 4. Export all … Continue reading

Posted in WCM, WebSphere Portal | Tagged