ActivatePortlet.xml

 

<?xml version="1.0" encoding="UTF-8"?>
<!--
With the web-app tag Standard API portlets do not have a uid attribute. 
Use the id attribute of the portlet-app tag in the file portlet.xml instead. 
Append webmod to the end of the id attribute to make up the uid. 

With the portlet-app tag Standard API portlets do not have a uid attribute. 
Use the id attribute of the portlet-app tag in the file portlet.xml instead. 

With the portlet-app tag Standard API portlets do not have a name attribute. 
Remove the tag for Standard API portlets.
-->

<request xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:noNamespaceSchemaLocation="PortalConfig_1.4.xsd"
      type="update">

    <portal action="locate">

        <!-- uid must match uid attribute of portlet-app in portlet.xml -->
        <web-app action="update" active="true" uid="com.ibm.wps.portlets.welcome">

            <!-- uid must match uid attribute of concrete-portlet-app in portlet.xml -->	
            <portlet-app action="update" active="true" uid="com.ibm.wps.portlets.welcome.1">

                <!-- Name must match content of portlet-name subtag of concrete-portlet in portlet.xml -->		
                <portlet action="update" active="true" objectid="thePortlet" name="Welcome Portlet">
				
                </portlet>
            </portlet-app>
        </web-app>
    </portal>
</request>