UpdatePortlet.xml

+

Search Tips   |   Advanced Search

 

<?xml version="1.0" encoding="UTF-8"?>

<request
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:noNamespaceSchemaLocation="PortalConfig_8.0.0.xsd"
    type="update"
    create-oids="true">

    <!-- sample for updating a portlet from a new version of the WAR file -->
    <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">
          <url>file:///$server_root$/ap/wp.ap.welcome/installableApps/WelcomePortlet.war</url>
          <!-- 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>