websphere 6.1 - XMLAccess in WebSpherePortal 6.1? -
hi want install , configure new theme , skin websphereportal server 6.1. 1 give reference or document xmlaccess.
before configuring themes , skins have copy our themes file:\$server_root$\installedapps\ibm-710bb15a391\wps.ear\wps.war\themes\html , skin file:\$server_root$\installedapps\ibm-710bb15a391\wps.ear\wps.war\skins\html skin: 1)register skin
registerskin.xml:
<?xml version="1.0" encoding="utf-8"?> <request xmlns:xsi="http://www.w3.org/2001/xmlschema-instance" xsi:nonamespaceschemalocation="portalconfig_6.1.0.xsd" type="update" create-oids="true"> <portal action="locate"> <skin action="update" active="true" objectid="rockskin" uniquename="rockskin" resourceroot="w3skin"> <localedata locale="en"> <title>rockskin</title> </localedata> </skin> </portal> </request>
->xmlaccess.bat –in registerskin.xml -out -user usrname –pwd password –url http://localhost:10040/wps/config
2)register theme
i)register theme existed skin registertheme1.xml:
<?xml version="1.0" encoding="utf-8"?> <request xmlns:xsi="http://www.w3.org/2001/xmlschema-instance" xsi:nonamespaceschemalocation="portalconfig_6.1.0.xsd" type="update" create-oids="true"> <portal action="locate"> <skin action=”locate” active=”true” objectid=”noskin” uniquename=”wps.skin.noskin”/> <theme action="update" active="true" defaultskinref="noskin " uniquename="rocktheme" resourceroot="w3theme"> <localedata locale="en"> <title>rock theme</title> </localedata> <allowed-skin skin=" noskin" update="set"/> </theme> </portal> </request>
->xmlaccess.bat –in registertheme1.xml -out -user usrname –pwd password –url http://localhost:10040/wps/config
ii)register theme new skin in above xml file using existed skin name noskin if want apply new skin have mention follows:
registertheme2.xml:
<?xml version="1.0" encoding="utf-8"?> <request xmlns:xsi="http://www.w3.org/2001/xmlschema-instance" xsi:nonamespaceschemalocation="portalconfig_6.1.0.xsd" type="update" create-oids="true"> <portal action="locate"> <skin action="update" active="true" objectid="newskin" uniquename="newskin " resourceroot="newskin "> <localedata locale="en"> <title>rockskin</title> </localedata> </skin> <theme action="update" active="true" defaultskinref="newskin " uniquename=" w3theme " resourceroot="w3theme"> <localedata locale="en"> <title>rock theme</title> </localedata> <allowed-skin skin="newskin " update="set"/> </theme> </portal> </request>
->xmlaccess.bat –in registertheme2.xml -out -user usrname –pwd password –url http://localhost:10040/wps/config
note:resourceroot in both skin , theme must copied theme , skin folder names.
Comments
Post a Comment