<?xml version="1.0" encoding="UTF-8"?> <!-- CreateFederationConsumer.xml --> <request xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" type="update" xsi:noNamespaceSchemaLocation="PortalConfig_6.1.0.xsd"> <portal action="locate"> <!-- This script creates a federation server definition and a federated page on the consumer side. --> <!-- Create the federation server definition --> <federation-server action="update" objectid="federationServer" servertype="PORTAL" authmethod="NONE" uniquename="myfederationserver"> <federation-url>http://example.com/wps/contenthandler</federation-url> <!-- Specify the name of the federation server --> <localedata locale="en"> <title>My Federation Server</title> </localedata> </federation-server> <!-- Locate the parent page --> <content-node action="locate" objectid="parent" uniquename="ibm.portal.Home"/> <!-- Create the federation page --> <content-node action="update" active="true" content-parentref="parent" create-type="explicit" domain="rel" ordinal="12" type="page" uniquename="federationpage" serverref="federationServer"> <!-- Specify in the display-option how the federated page is embedded.--> <supported-markup display-option="iFrame" markup="html" update="set"/> <!-- Specify the name of the page --> <localedata locale="en"> <title>My federated page</title> </localedata> <!-- Specify as ReferencedResourceID the referenced resource from the federation server (objectid or unique name) --> <parameter name="com.ibm.portal.federation.ReferencedResourceID" type="string" update="set"> <![CDATA[wps.content.root]]> </parameter> <!-- Specify in the ReplaceNodeFlag, if the current content-node should be replaced or not. --> <parameter name="com.ibm.portal.federation.ReplaceNodeFlag" type="string" update="set"> <![CDATA[false]]> </parameter> <!-- Set the access permissions for the current page --> <access-control externalized="false" owner="uid=wpsadmin,o=default organization" private="false"/> <!-- Optional a page layout can be defined. --> <component action="update" active="true" deletable="undefined" domain="rel" modifiable="undefined" ordinal="0" orientation="H" type="container" width="undefined"> <component action="update" active="true" ordinal="0" orientation="V" type="container"/> <component action="update" active="true" ordinal="100" orientation="V" type="container"/> </component> </content-node> </portal> </request>