# Replacing HTML Container Property in Upgraded Screen Layout

**URL:** <https://forums.pega.com/t/replacing-html-container-property-in-upgraded-screen-layout/5904>\
**Category:** User Experience\
**Tags:** updates, pega-cloud, pega-smart-dispute-for-payments, user-experience\
**Created:** [January 25, 2024, 10:23am UTC](https://forums.pega.com/t/replacing-html-container-property-in-upgraded-screen-layout/5904 "2024-01-25T10:23:41Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![LondheGS](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/londhegs/32/2007_2.png) [@LondheGS](https://forums.pega.com/u/LondheGS)\
**Post date:** [January 25, 2024, 10:23am UTC](https://forums.pega.com/t/replacing-html-container-property-in-upgraded-screen-layout/5904/1 "2024-01-25T10:23:41Z")

</div>

Does anyone can help in this

we are upgrading from Pega 7.2.2 to Pega 8.8 , the recommendations say we need to replace containers with screen layout

in container properties i can see HTML rule mentioned which act as header for the container layout  
below is container properties screen shot

 ![Container properties.jpg](https://pega1.discourse-cdn.com/pega/original/2X/0/0f451f9d7a73d8c7f7f7cdc62230c57dcf95707f.jpeg)

so what needs to be done in Screen layout , can we mention this HTML rule as is in screen layout header ? or what is appropriate way, please suggest

---

<div class="post-metadata">

**Author:** ![Tushar\_Banerjee1](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/tushar_banerjee1/32/22442_2.png) [@Tushar\_Banerjee1](https://forums.pega.com/u/Tushar_Banerjee1)\
**Post date:** [January 25, 2024, 10:33am UTC](https://forums.pega.com/t/replacing-html-container-property-in-upgraded-screen-layout/5904/2 "2024-01-25T10:33:08Z")

</div>

Hi @LondheGS ,

As part of the Screen layout you wont be getting the same configuration settings as that of a container layout. Once you drop a screen layout into the harness rule you will have to choose the layout format from the options available. These formats define how the harness would look and render by dividing the harness into certain segments.

 ![ScreenLayout.png](https://pega1.discourse-cdn.com/pega/original/2X/c/c138c829c1434e27b940023ac602c84cfccbc2d6.png)

In your case you can choose the format that has a header element, post that you have to drop the section that will hold the HTML non auto generated code.

For further support and better design details you can open up the Case Worker / Case Manager portal and look into the outer harness design configuration.

---

<div class="post-metadata">

**Author:** ![LondheGS](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/londhegs/32/2007_2.png) [@LondheGS](https://forums.pega.com/u/LondheGS)\
**Post date:** [January 25, 2024, 10:47am UTC](https://forums.pega.com/t/replacing-html-container-property-in-upgraded-screen-layout/5904/3 "2024-01-25T10:47:43Z")

</div>

@banet the rule i want to mention here is HTML rule with HTML source which we can not add as embeded section in header of screen layout , and that is not section rule with html source. so is there anything which we can use to embed HTML rule in the section?

below are more details

 ![screen shot.jpg](https://pega1.discourse-cdn.com/pega/original/2X/8/8c6c5a724e4d09a2160b41f959b867ad083951f9.jpeg)

---

<div class="post-metadata">

**Author:** ![Tushar\_Banerjee1](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/tushar_banerjee1/32/22442_2.png) [@Tushar\_Banerjee1](https://forums.pega.com/u/Tushar_Banerjee1)\
**Post date:** [January 29, 2024, 4:30am UTC](https://forums.pega.com/t/replacing-html-container-property-in-upgraded-screen-layout/5904/4 "2024-01-29T04:30:01Z")

</div>

@LondheGS You can create a non auto generated section which gives you the space to add your custom HTML code. This way you can add your HTML source code into a section.

Once you create a section rule in Pega Infinity, change the rule to render in full section editor mode, you will get the HTML tab enabled.

---

<div class="post-metadata">

**Author:** ![LondheGS](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/londhegs/32/2007_2.png) [@LondheGS](https://forums.pega.com/u/LondheGS)\
**Post date:** [January 29, 2024, 9:24am UTC](https://forums.pega.com/t/replacing-html-container-property-in-upgraded-screen-layout/5904/5 "2024-01-29T09:24:14Z")

</div>

@banet thanks for helping out, creating section with HTML rendered code , then adding it to the screen layout as embeded section in the header helps to add the legacy code thanks
