Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
apex:remoteObjectField
Defines the fields to load for an sObject. Fields defined using this component, instead of the fields attribute of <apex:remoteObjectModel>, can have a shorthand name, which allows the use of a "nickname" for the field in client-side JavaScript code, instead of the full API name. Use as child of <apex:remoteObjectModel>.
Attributes
| Attribute Name | Attribute Type | Description | Required? | API Version | Access |
|---|---|---|---|---|---|
| id | String | An identifier that allows the component to be referenced by other components in the page. | 14.0 | global | |
| jsShorthand | String | The shorthand, or nickname, that can be used instead of the full field name in JavaScript code. | 43.0 | ||
| name | String | The API name of the sObject field. | Yes | 43.0 | |
| rendered | Boolean | A Boolean value that specifies whether the component is rendered on the page. If not specified, this value defaults to true. | 14.0 | global |