Container split in not working in service portal?

sam332
Kilo Contributor

Hi All,

     Container split is not working in service portal.created varibel set with container start ,end  and split,it is working fine from catalog side.But when i open same catalog from service portal side,it is not working(not getting splitted).

Thanks

Sam

13 REPLIES 13

Nia McCash
Mega Sage
Mega Sage

There's a great post explaining what is supported and is not supported in terms of layout in the Service Portal here: https://community.servicenow.com/community?id=community_blog&sys_id=e00d2aa5dbd0dbc01dcaf3231f96194c

If your layout is supported but not working as expected, perhaps you can post more details on the layout that isn't working for you.

John Heal
Giga Contributor

I had the issue of not being able to get container items to work with a variable set in the Portal. Apparently the ServiceNow trying to make the portal more device agnostic issue.

 

As re-using variable sets was important to us in creating over 200 catalog items I wanted to find a way to get two column variable sets in the portal other than applying an unsupported update set from ServiceNow.

The fudge I found that does work is to create two variable sets instead of 1 one of the left side variables and one for the right side.

You then add the two variable sets to your form with left order lower than right  e.g left order 10 and right order 20. Then on the variable section of the form you add a container start with 2 columns and alternating side with lower order e.g 5 in example above. And of course and end container with larger order than both e.g. 30 in this example. You then get the two columns in the portal.

Things you do need to be careful of is that your UI or scripting logic needs to have all the variables it is acting on in the same side variable set, but it does do the layout trick and I have not found another way to do it in posts, hence adding this to a year old post to help other people.

Vishal Khandve
Kilo Sage

Hi,

 no need of container if you are using  the layout as 2 column wide, alternating side.

 

see the below image:

find_real_file.png

 

Thanks,

vishal khandve

Nice one - it's so obvious that I missed it, thanks.