on 09-12-2013 5:07 AM
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Folks,
There is not enough help documentation for creating a custom WPC page layout. Especially while forming the XML_Template value to support the AJAX Page Builder.
I have followed the Help Documentation Adjusting Custom Layouts to Ajax Page Builder
I am not able to build the XML with nested TableLayout tag, Experts need your help in this regard ASAP. Or else, provide me the help links which talks about the tags like TableLayout ContainerRows Container and TableCellData in detail.
Thanks in Advance.
Regards,
Venkatesh K
Hi Christian, as I had mentioned earlier that using "rowspan" property is not possible in the new release and this particular layout cannot be built without rowspan. So, in my understanding it would not be possible to build an exact custom layout for this case.
But, a layout with two columns with first column having width of 75% and 2nd column having width of 25%, can be built. The iviews can be placed in a fashion that it fulfills the actual requirement. In this case the width of the content in the iviews also needs to be fixed to adjust the iviews side by side (for 5th and 6th row). In the second column all five iviews can be placed one below the other.
This way the required layout can be achieved.
Regards,
Aditya
User | Count |
---|---|
80 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.