Nested containers not rendering as expected in service portal. But working fine in native instance

sowmyaprabhakar
Tera Contributor

Hi,

I am working on a catalog item, where in I have created a nested container to display 3- 4 columns on the form. This is working as expected in native instance. But this is not rendering properly in Service Portal.

The below image is for variables inside the nested cotnainer.

Servicenow view:

find_real_file.png

Serviceportal view:

find_real_file.png

The below image is a variable set with 4 columns.

Service now view:

find_real_file.png

Service portal view.find_real_file.png

1 ACCEPTED SOLUTION

Domenic Horner
Tera Expert

Hi there,

 

There is a really helpful blog post on the community that explains the changes, and why certain layout elements behave differently on the Service Portal
https://community.servicenow.com/community?id=community_blog&sys_id=e00d2aa5dbd0dbc01dcaf3231f96194c

 

This is one of the excerpts from the article:

  1. Only the top level container settings will be honored
  2. If there are other containers within the top level container, these will be rendered as a single column layouts
    • If there are container splits within these additional containers, these will be rendered as single column layouts as well.
  3. Variables Sets are treated as containers and the above rules apply to Variable Sets as well as containers within them.
  4. Variable Default Size feature coming in Jakarta is not supported on the Service Portal

 

There is a page on the docs site regarding this here:
https://docs.servicenow.com/bundle/jakarta-servicenow-platform/page/build/service-portal/concept/sc-...

 

 

#JIVEwasWayBetter

View solution in original post

2 REPLIES 2

Domenic Horner
Tera Expert

Hi there,

 

There is a really helpful blog post on the community that explains the changes, and why certain layout elements behave differently on the Service Portal
https://community.servicenow.com/community?id=community_blog&sys_id=e00d2aa5dbd0dbc01dcaf3231f96194c

 

This is one of the excerpts from the article:

  1. Only the top level container settings will be honored
  2. If there are other containers within the top level container, these will be rendered as a single column layouts
    • If there are container splits within these additional containers, these will be rendered as single column layouts as well.
  3. Variables Sets are treated as containers and the above rules apply to Variable Sets as well as containers within them.
  4. Variable Default Size feature coming in Jakarta is not supported on the Service Portal

 

There is a page on the docs site regarding this here:
https://docs.servicenow.com/bundle/jakarta-servicenow-platform/page/build/service-portal/concept/sc-...

 

 

#JIVEwasWayBetter

sowmyaprabhakar
Tera Contributor

Thanks Dom. Thanks for the article. I reviewed this. Was checking, if there are any better solutions for my form design.