======WebSphere Portal======
====Externi Odkazy:====
[[https://www-304.ibm.com/support/docview.wss?rs=688&uid=swg24008662|IBM Support Assistant Lite]] w WebSphere Portal\\
====wpscript====
wp_root/bin/wpscript.sh -port 8882 ... interaktivni mod\\
wp_root/bin/wpscript.sh -port 8882 -conntype SOAP ... interaktivni mod, typ spojeni SOAP (RMI, NONE)\\
wp_root/bin/wpscript.sh -port 8882 -f script.jacl portaladmin adminpwd ... spusteni JACL scriptu pod uzivatelem portaladmin\\
wp_root/bin/wpscript.sh -port 8882 -profile loginprofile.jacl -f script.jacl ... spusteni JACL scriptu pod uzivatelskym profilem\\
wp_root/bin/xmlaccess.sh -in control.xml -user user -pwd pwd -url Myhost:9081/wps/config -out result.xml ... vyslani XML prikazu v control.xml\\
wp_root/bin/xmlaccess.sh -in wp_root/config/work/setup_Portal.xml -user user -pwd pwd -url PortalConfigURL -out result.xml ... obnova Portalu\\
Interaktivni mod:\\
wp_root/bin/wpscript.sh -port 8882\\
wsadmin> $Portal login wpsadmin pwsadmin\\
wsadmin> $Content find page uniquename "wps.My Portal.Welcome" select\\
wsadmin> $Content create page "My New Page" html
prikazy:\\
$Portal help\\
$Portal login USER PASSWD\\
$Portal logout\\
$Content help\\
$Content select the root ... ukaze ID root dokumentu\\
$Content select [$Content create label AAA] ... ukaze ID vytvoreneho labelu AAA\\
$Content create page BBB ... Vytvori stranku BBB\\
$Layout help\\
$Layout help select\\
$Portlet - MBeam Portlet\\
$Look - MBeam Look\\
$Access\\
$Paclist\\
====xmlaccess====
Export celeho portalu:\\
<?xml version="1.0" encoding="UTF-8"?>\\
<request type="update" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="PortalConfig_1.3.xsd" type="export" export-users="false">\\
<portal action="export"/>\\
</request>
Ziskani seznamu vsech zdroju stejneho typu:\\
<?xml version="1.0" encoding="UTF-8"?>\\
<request type="update" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="PortalConfig_1.3.xsd" type="export" create-oids="false">\\
<portal action="locate">\\
<content-node action="export" objectid="*"/>\\
</portal>\\
</request>
Ziskani konkretni stranky z portalu pomoci nikatniho jmena:\\
<?xml version="1.0" encoding="UTF-8"?>\\
<request type="update" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="PortalConfig_1.3.xsd" type="export">\\
<portal action="locate">\\
<content-node action="export" uniquename="wps.MyPortal.Welcome.My Page"/>\\
</portal>\\
</request>
Ziskani stranky se vsema potomkovyma objektama:\\
<?xml version="1.0" encoding="UTF-8"?>\\
<request type="update" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="PortalConfig_1.3.xsd" type="export" create-oids="true">\\
<portal action="locate">\\
<content-node action="export" objectid="wps.My Portal" export-descendents="true"/>\\
</portal>\\
</request>
Modifikace Unikatniho jmena:\\
<?xml version="1.0" encoding="UTF-8"?>\\
<request type="update" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="PortalConfig_1.3.xsd" type="update" create-oids="false">\\
<portal action="locate">\\
<content-node action="update" objectid="_6_003II98OB041FAI_255" uniquename="my.portal.news"/>\\
</portal>\\
</request>