Resource
This view allows you to display a resource by using the resource's declared
display_view, edit_view or list_view.
JSON Format
{
"type": "resource",
"id": ...,
"type": ...,
"margin_left": ...,
"margin_right": ...,
"margin_top": ...,
"margin_bottom": ...,
"is_visible": ...,
"validation_message": ...,
"resource_id": ...,
"stat": ...,
"view_type": ...,
"create_if_empty": ...
}
Fields
| Field | Type | Required | Description |
|---|---|---|---|
create_if_empty | bool | Optional. Defaults to false. Whether the app should automatically create an empty resource instance if the given stat's value is null. |