Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Label for Variable Set

sgmartin
Kilo Guru

Been using a label to put at the top of a section of variables on a Service Catalog Item form.   With CSS we color it like a banner and it spans both columns.   However, when I attempt to do this for a group of variables in a variable set, the formatting get screwed all up.   I put the label first and then wrap all the variables in the set with a container.   The container is 2 columns wide. The fields get pushed to the right and the label is off on the left by itself.

Has anyone been successful making a label look like a banner instead of using the Title which is just plain text?

1 ACCEPTED SOLUTION

HV1
Mega Guru

Check the layout of the variable set itself. Try changing it to 1 column. Thus your parent container of variable set will 1 column. First label will display on entire row, then container with 2 columns starts for group of variables.


You can also try adding a split after label.


View solution in original post

2 REPLIES 2

Tim Deniston
Mega Sage

I have done this using a UI Macro variable, but not using a label. Am interested to hear if this is possible.


HV1
Mega Guru

Check the layout of the variable set itself. Try changing it to 1 column. Thus your parent container of variable set will 1 column. First label will display on entire row, then container with 2 columns starts for group of variables.


You can also try adding a split after label.