apex:remoteObjectModel

Defines an sObject and its fields to make accessible using Visualforce Remote Objects. This definition can include a shorthand name for the object, which you can use in JavaScript instead of the full API name. This is especially useful if your organization has a namespace, and makes your code more maintainable.

Attributes 

Attribute NameAttribute TypeDescriptionRequired?API VersionAccess
createString$RemoteAction override for the create method. Applies to all remote object types. 43.0
deleteString$RemoteAction override for the create method. Applies to all remote object types. 43.0
fieldsStringA list of the object’s fields to make accessible. Only these fields are available when existing objects are loaded from the server. The list is a comma-delimited string of the full API names of the fields. 43.0
idStringAn identifier that allows the component to be referenced by other components in the page. 14.0global
jsShorthandStringA shorthand name, or ‘nickname’, that you can use in your JavaScript code, instead of the full object name. 43.0
nameStringThe API name of the sObject to access. The full API name includes your organization’s namespace, if you have one.Yes43.0
renderedBooleanA Boolean value that specifies whether the component is rendered on the page. If not specified, this value defaults to true. 14.0global
retrieveString$RemoteAction override for the retrieve method. Applies to all remote object types. 43.0
updateString$RemoteAction override for the create method. Applies to all remote object types. 43.0

See Also