Skip to content

Latest commit

 

History

History
58 lines (33 loc) · 2.52 KB

File metadata and controls

58 lines (33 loc) · 2.52 KB
title url
Grid Create Button
/refguide7/grid-new-button/

The Create button allows the user to create new objects in a grid or reference set selector.

Common Properties

{{% snippet file="/static/_includes/refguide7/Class+Property.md" %}}

{{% snippet file="/static/_includes/refguide7/Style+Property.md" %}}

Data Source Properties

Entity

This property determines of which entity this button should create an instance. If the entity that is connected to the grid or reference set selector has no specializations, the page builder will automatically set this property for you. Otherwise, you will have to select one of the specializations yourself.

{{% alert color="info" %}}

Let us say you have an entity Vehicle and two specializations, namely Bicycle and Car. In a grid on Vehicle you have to specify for the create button whether a Vehicle, a Bicycle or a Car will be created. You can even have three create buttons, one for each possibility.

{{% /alert %}}

General Properties

{{% snippet file="/static/_includes/refguide7/Caption+Property.md" %}}

{{% snippet file="/static/_includes/refguide7/Tooltip+Property.md" %}}

{{% snippet file="/static/_includes/refguide7/Image+Property.md" %}}

{{% snippet file="/static/_includes/refguide7/Button+Style+Property.md" %}}

{{% snippet file="/static/_includes/refguide7/Is+default+button+Property.md" %}}

Edit location

Value Description
Inline at top The new instance is added directly at the top of the grid or reference set selector and can be edited inline.
Inline at bottom The new instance is added directly at the bottom of the grid or reference set selector and can be edited inline.
In a page The new instance is added and can be edit in a page. The page in which this instance is being edited can be set with the page property

Default value: In a page

Page

This property is relevant if the edit location is set to 'In a page' and it indicates the page that is shown to the end-user when they click this button. The end-user can use this page to edit the newly created object before it is saved. This page should contain a data view connected to the same entity as this grid or reference set selector.

See Opening Pages.

Visibility Properties

{{% snippet file="/static/_includes/refguide7/Visible+Property.md" %}}