Category Archives: WCM

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 ,

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

Prepare CentOS for IBM software installation

1. Install the following packages for IBM installations: yum install -y compat-libstdc++-33-3.2.3-69.el6 yum install -y compat-libstdc++-33-3.2.3-69.el6.i686 yum install -y compat-db-4.6.21-15 yum install -y compat-db-4.6.21-15.i686 yum install -y libXp-1.0.0-15.1 yum install -y libXp-1.0.0-15.1.i686 yum install -y libXmu-1.0.5-1 yum install -y libXmu-1.0.5-1.i686 … Continue reading

Posted in Linux, TDS, WAS, WCM, Web Server, websphere, WebSphere Application Server, WebSphere Portal | Tagged , , ,

Clearing or Cropping item version history in WCM 6.x, 7.0

For WCM 6.0 pls follow this document http://www-10.lotus.com/ldd/portalwiki.nsf/dx/08172009013117AMWEB8H4.htm For WCM 7.0 follow this document http://www-10.lotus.com/ldd/portalwiki.nsf/xpDocViewer.xsp?lookupName=IBM+Web+Content+Manager+7+Product+Documentation#action=openDocument&res_title=Clearing_version_history_wcm7&content=pdcontent It’s advisable to run the task in report mode “fix=false” first and analyze SystemOut.log for output. Then set “fix=true” in the URL to run it … Continue reading

Posted in WCM, WebSphere Portal | Tagged | Leave a comment