Custom JSON for Order Items controls the name and display behavior of the order and
product fields on the Order Items page.
Required Editions
Available in: Lightning Experience
Available in: Enterprise and
Unlimited Editions where Consumer Goods Cloud is enabled
Attribute
Data Type
Required
Default
Description
active
Boolean
FALSE
Defines if the field is active and shown in order items.
ascending
Boolean
FALSE
Defines if the field is by default sorted in ascending or descending
order.
columnsConfiguration
Object
Yes
Key to list the fields in the grid.
defaultTab
String
No
AllItems
Defines the default tab shown for an order.
Possible Values are:
Basket
AllItem
editable
Boolean
FALSE
Defines if the field is editable when the order is in Edit mode.
fieldApiName
String
Yes
API name of the field.
fieldLabel
String
Field label
Custom label.
fieldType
String
text
Defines the data type of the field in the grid.
fixedColumns
Integer
2
Number of fixed columns in the grid.
hierarchicalSearch
Boolean
FALSE
Determines if order items are filtered by hierarchical and dynamic product
filtering options.
isFilter
Boolean
FALSE
Defines if the values in the field can be filtered.
isPickList
String
FALSE
Defines if the field is shown as a multi-select picklist on the page.
maxNumberUpdates
Integer
1000
Maximum number of updates in the grid.
maxWidth
String
Defines the maximum width of the field in the grid.
minWidth
String
Defines the minimum width of the field in the grid.
objectApiName
String
Yes
API name of the object.
order
Integer
Defines the display position of the field in the grid.
orderItems
Object
Yes
Key attribute.
required
Boolean
FALSE
Defines if the required icon is to be shown in the grid for the field.
sortable
Boolean
FALSE
Defines if the field is sortable in the grid.
typeAttributes
Object
{}
Can be one of:
maxLength - maximum characters You can input while editing.
maximumFractionDigits - maximum number of decimals for the field.
visible
Boolean
FALSE
Identifies if the field is visible in the grid.
width
String
Calculated based on the total number of fields present.
Identifies the width of the field in the grid.
Did this article solve your issue?
Let us know so we can improve!
Loading
Salesforce Help | Article
Cookie Consent Manager
General Information
Required Cookies
Functional Cookies
Advertising Cookies
General Information
We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required Cookies
Always Active
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional Cookies
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising Cookies
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.