Skip to main content

ObjectForm

This is a component for displaying, creating, or editing object records in a form format.

Basic Usage

The most basic usage is to configure the "Object" and "Record ID" properties of the component, which can then display a read-only form page for a certain object record.

As shown below, we configure the "Object" property of the object form to be the current object and the "Record ID" property to be the current record:

{
"type": "page",
"title": "Welcome to Steedos",
"body": [
{
"type": "steedos-object-form",
"label": "ObjectForm",
"objectApiName": "${objectName}",
"recordId": "${recordId}",
"className": "sm:border sm:shadow sm:rounded sm:border-gray-300 bg-white p-4"
}
]
}