How do I format columns in a record producer?

c_hayes
Giga Contributor

I am currently working on a record producer for my app. I want it to have two columns. From what I've read I need to use the container start, container end, and maybe container split variables and place them to contain what I want in each column when sorted by order. But it doesn't seem to be working.

So Currently we have this in the record producer:

VariableOrder
Container Start1
Request Title5
Request Type10
Application Category15
Container End50
Container Start51
Requestor55
Business Unit Approver60
Desired Completion Date65
Container End100

This is still only making one column though when we view it.

This is the goal(without the titles. But ideally there would be 2 columns with 3 items)

Column 1

Column 2

Request TitleRequestor
Request TypeBusiness Unit Approver
Application Category

Desired Completion Date

1 ACCEPTED SOLUTION

Brad Tilton
ServiceNow Employee
ServiceNow Employee

Hi Colin,



The containers will always go full page, but you can set them up to have 2 columns. That means that if you have 4 variables within one container and have it set to 2 columns you'll get 2 variables in each column. It sounds like you only need one container start and end and should have the container itself set to 2 columns.



You'll want to select Layout: 2 columns wide on the container start variable.


Types of variables


View solution in original post

8 REPLIES 8

c_hayes
Giga Contributor

I would assume that if it wasn't turned on though I wouldn't be seeing it in the preview link either.


Brad Tilton
ServiceNow Employee
ServiceNow Employee

How are you viewing the page, through the default frameset, and cms site, or a service portal site?


Service Portal Site


Brad Tilton
ServiceNow Employee
ServiceNow Employee

Ahh ok. It's important to know that the preview link and the service portal site actually use different renderers, so preview will not actually show you what the item or RP will look like in Service Portal (as you've seen). Could you post a screenshot of the record producer you're seeing in the Service Portal view?