Container Start and End inside a Variable Set in Service Portal

Poorthi Laxmi
Mega Contributor

Hi All,

Good Morning !   Can anyone please help me on the below query ?

I would like to layout my variables in a container with 2 columns , alternating sides however The container insider my variable set doesn't seems to work on Service Portal whereas it works on the Native Servicenow page. Do we have any workaround to apply for time-being?

Thank you,

Raji.

20 REPLIES 20

larstange
Mega Sage

Hi



AFAIK it is a known issue that container definitions in variable sets are not rendering.



There is KB0610337 on it on HI, I can't access it though:


ServiceNow Customer Service System


Fabian Kunzke
Kilo Sage
Kilo Sage

Hello,

I have run into the same issue. With some trial and error and pure luck (i mean skill...) i found a workaround:

Within your variable set, before starting with the first container, put a "container end" above it. Example:

Your variable set:

Some vaiable (whole size)
Container End
Container Start (alternating sides)
Variable on the left
Variable on the right
Container end
Some variable (whole size)
Second Container Start (alternating sides)
... (and so on)

No clue why this works and i hate it (because its not only ugly but also unintuitive), but at the moment it seems to be the best i can come up with.

Hope this helps,

Regards

Fabian

This is an odd fix but it definitely does the job.  Thanks Fabian.

Dude, you rock!!! Thanks a lot!!!