List
A list of records. Each cell can have its own style rules.
Required Fields
table - the table to query.
conditions - the conditions to apply to the chart
record_limit - the maximum number of records
columns - an object containing the information for the columns to use
id: the id
label: the display value for the label
name: the name of the label
position: the order of the label in comparison to the rest
score: if it's a score or not
show styles: if we are showing a style
styles: an array of the styles
type: the type of value
width: the width of the label
order_direction - the direction of ordering
order_by - the field to order by
fixed_left_column - whether the left column should be fixed or scrolling
Optional Fields
N/A
Return Data
An array with a two objects, the first being the columns repeated and the second being the data for each record. The following format is used
first array: the same as the columns
the second array: contains a value for each record listed
(field): value of the field
sys_id: the system id for the record
(field)_style: the conditional slate style to apply to the individual column
styleClass: the style class used
styles: and array containing the list of slate styles
Example Payload
A screenshot of the data in ServiceNow:
Last updated