Problem with action-enable-page-as-extension-node-wp.dynamicui.config

The Exploiting the WebSphere Portal 5.1.0.1 programming model: Part 4: Making your portal dynamic and context sensitive article says that before you create pages you need to create a extension node, which is nothing but a portal page with some special property,

It says that you can use following configuration code to convert a page into extension node

wpsconfig.{bat|sh} enable-page-as-extension-node
-DPageUniqueName=extensionNode


But it seems that this task was renamed in the WPS 6.1 and you can call it like this

ConfigEngine.sh action-enable-page-as-extension-node-wp.dynamicui.config
-DPageUniqueName=pageUniqueName


I tried running this task on my WPS 6.1.5 but it always failed so i looked into what is going on and it turns out that this task actually creates a xmlaccess and invokes it for some reason the task was failing so i tried executing the xmlaccess manually and it worked and i was able to mark that page as extension node


<?xml version="1.0" encoding="UTF-8"?>
<request
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="PortalConfig_1.3.xsd"
type="update"
create-oids="true">

<!-- Locate the tpl transformation -->
<portal action="locate">
<web-app action="locate" active="true"
uid="wps.dynamicui.transformationapp.webmod">
<transformation-app action="locate" active="true"
uid="wps.dynamicui.transformationapp">
<transformation action="locate" active="true"
objectid="theTransformation" name="DynamicUITransformation" >
</transformation>
</transformation-app>
</web-app>

<!-- Enable page as task page container -->
<content-node action="update"
uniquename="pageUniqueName">
<transformationinstance action="update"
transformationref="theTransformation"/>
</content-node>

</portal>
</request>

4 comments:

beste said...

The task was probably failing because it seems to be configured for a default virtual portal. If you specify -DVirtualPortalContext= at the end of your commandline, it works (at least for me).

srjwebsolutions said...


We are leading responsive website designing and development company in Noida.
We are offering mobile friendly responsive website designing, website development, e-commerce website, seo service and sem services in Noida.

Responsive Website Designing Company in Noida
Website Designing Company in Noida
SEO Services in Noida
SMO Services in Noida

Vikas Chaudhary said...

Battery Mantra is Authorized exide car battery dealer in Noida and Greater Noida. We are providing our service in Indirapuram, Delhi, Ashok Nagar.

Exide Battery Dealer in Noida
Battery Dealer in Noida
Authorized Battery Dealer in Noida
Car Battery Dealer in Noida
Car Battery Dealer
Exide Battery Dealer

EG MEDI said...

Egmedi.com is online medical store pharmacy in laxmi nagar Delhi. You can Order prescription/OTC medicines online.
Cash on Delivery available. Free Home Delivery


Online Pharmacy in Delhi
Buy Online medicine in Delhi
Online Pharmacy in laxmi nagar
Buy Online medicine in laxmi nagar
Onine Medical Store in Delhi
Online Medical store in laxmi nagar
Online medicine store in delhi
online medicine store in laxmi nagar
Purchase Medicine Online
Online Pharmacy India
Online Medical Store