Skip to Content
0
Former Member
Sep 12, 2013 at 04:07 AM

xml_template property in WPC Custom Layout in Netweaver Portal 7.3

32 Views

We have upgraded the WPC content from 7.01 to 7.3 EHP1. We had a custom WPC Page layout in 7.01 which also needs to be migrated to the newer version. The layout is similar to the attached image.


In the new version, for the custom layout to work we need to add an additional property "XML_Template" in portalapp.xml file (as recommended by SAP). This property should resemble the required layout.


Link to the Migration document from SAP provided in SAP Note 1371703 ( https://service.sap.com/~sapidb/012006153200000293592011E/WPC_UPG_MGR_NW73_SP3.pdf ). We need to perform page no.19-21 activity of this document to add “XML_Template” as per our customization.

For example:


<ContainersRow>

<Container containerID="com.sap.portal.reserved.layout.Cont1">

<TableCellData colSpan="1" vAlign="top"/>

</Container>

</ContainersRow>

<ContainersRow>

<Container containerID="com.sap.portal.reserved.layout.Cont2">

<TableCellData colSpan="1" vAlign="top"/>

</Container>

</ContainersRow>


The above xml template will create a layout with 2 rows having 1 column each.


We need to implement the same for the attached image, but we are having trouble doing the same.

We were able to create xml_template for cells m1, m2, m3, m4, m5 and m6 but were not able to write xml_template for r1, r2, r3, r4 and r5.

Attachments

WPC Layout.jpg (39.9 kB)