- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2018 05:03 PM
Hi ServiceNow Community Developers,
Do you know if there is a way to put 3 variables per row in a catalog item form? For instance when you define variables to add to a form you can have a container start where you specify "2 columns wide" on the layout if you want to see 2 variables side by side per row in a catalog item form. What I would like to know is whether there is a way one can put 3 variables per row so that all 3 variables appear side by side in one row in a service catalog item form. Kindly advise.
Thanks,
Johannes
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2018 06:13 PM
Yes you can. Think of containers as your HTML <table> tags. Containers can contain other containers. Each container is a two column table using the container split. Just add a container within the split and you will have multiple columns:
For example:
[Start] [Start] [Split] [End] [Split] [Start] [Split] [End] [End]
The container above will give you One Row with 4 Four Columns.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2018 05:31 PM
Hi Johannes,
I don't believe this is possible. ServiceNow only supports single and two column layouts on catalog items.
If you are on the ServiceNow London release you could use a mult-row variable set to capture more than two inputs per line. Brad Tilton did a nice write up about multi-row variable sets in his blog - Exploring the Multi-row Variable Set
Let me know if this helped with your question.
Brent
P.S. If my suggestion helped then please mark as helpful and/or correct so other community members can benefit from this information.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2018 06:13 PM
Yes you can. Think of containers as your HTML <table> tags. Containers can contain other containers. Each container is a two column table using the container split. Just add a container within the split and you will have multiple columns:
For example:
[Start] [Start] [Split] [End] [Split] [Start] [Split] [End] [End]
The container above will give you One Row with 4 Four Columns.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2018 06:47 PM
Great tip Vamin,
I didn't realise that was possible. I just recreated it in my developer instance. Should look like the below:
End result:
I would point out that this won't work in Service Portal. Service Portal can only handle up to two column layouts.
Brent
P.S. If my suggestion helped then please mark as helpful and/or correct so other community members can benefit from this information.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2018 07:43 AM
Works!
Thank you very much vamin for your response.
Johannes