Newer Version Available
List Preferences Input
List preferences to update.
- Example
-
This example updates list preferences for the All
Accounts list
view.
1PATCH /services/data/v65.0/ui-api/list-preferences/Account/AllAccounts1{ 2"columnWidths" : { 3 "Name" : 200 4 }, 5"columnWrap" : { 6 "Name" : false 7 }, 8"orderedBy" : [{ 9 "fieldApiName": "Name", 10 "isAscending" : true 11 }] 12} - Properties
-
Name Type Description Required or Optional Available Version columnWidths Map<String, Integer> Column width preferences to update. If you pass a null value, preferences reset to the default. Optional 61.0 columnWrap Map<String, Boolean> Column wrap preferences to update. If you pass a null value, preferences reset to the default. Optional 61.0 orderedBy List Order By Input[] Ordering preferences to update. If you pass a null value, preferences reset to the default. In API version 63.0 and later, you can sort by up to five columns. In earlier versions, results are sorted by the first column.
Optional 61.0