No Results
Search Tips:
- Please consider misspellings
- Try different search keywords
Newer Version Available
ConnectApi.Motif Class
The motif properties contain URLs for small, medium, and large icons that indicate the Salesforce record type. Common record types are files, users, and groups, but all record types have a set of motif icons. Custom object records use their tab style icon. All icons are available to unauthenticated users so that, for example, you can display the motif icons in an email. The motif can also contain the record type’s base color.
Custom object records use their tab style icon, for example, the
following custom object uses the “boat” tab style:
1"motif": {
2 "color: "8C004C",
3 "largeIconUrl": "/img/icon/custom51_100/boat64.png",
4 "mediumIconUrl": "/img/icon/custom51_100/boat32.png",
5 "smallIconUrl": "/img/icon/custom51_100/boat16.png"
6 },Users use the following icons:
1"motif": {
2 "color: "1797C0",
3 "largeIconUrl": "/img/icon/profile64.png",
4 "mediumIconUrl": "/img/icon/profile32.png",
5 "smallIconUrl": "/img/icon/profile16.png"
6 },Groups use the following icons:
1"motif": {
2 "color: "1797C0",
3 "largeIconUrl": "/img/icon/groups64.png",
4 "mediumIconUrl": "/img/icon/groups32.png",
5 "smallIconUrl": "/img/icon/groups16.png"
6 },Files use the following icons:
1"motif": {
2 "color: "1797C0",
3 "largeIconUrl": "/img/content/content64.png",
4 "mediumIconUrl": "/img/content/content32.png",
5 "smallIconUrl": "/img/icon/files16.png"
6 },| Name | Type | Description | Available Version |
|---|---|---|---|
| color | String | A hex value representing the base color of the record type, or null. | 29.0 |
| largeIconUrl | String | A large icon indicating the record type. | 28.0 |
| mediumIconUrl | String | A medium icon indicating the record type. | 28.0 |
| smallIconUrl | String | A small icon indicating the record type. | 28.0 |