Kodall
Develop App

Edit Views

The edit view displays one entity in a form, allowing the user to view or change the properties.

The edit view displays one entity in a form, allowing the user to view or change the properties.

Functions of the edit view:

  1. Displaying one entity with all the properties and all the children.
  2. Editing the property values on the main entity or child properties.
  3. Presentation of the data on multiple tabs. Each tab can contain columns of values or grids of values.
  4. Displaying related entities.
  5. Generating a printable format for the entity.

For more information on edit views see Documentation → The user interface → The Edit view.

How to use

To open the Edit Views view, navigate to Develop ➔ Edit Views.

Designer

Fields in the sidebar:

Entity diagram:

Rendering diagram...

INPUTS tab

Fields in the inputs table:

  1. Title - The title of the input field displayed to the user.
  2. Property name - The property name on the entity for the input field.
  3. Input type - The input type displayed to the user.
  4. Catalog - Represents a dropdown or searchable list input that lets users select options from a predefined set of choices.
  5. Navigate edit view - The edit view for navigating.
  6. Rank - The rank (order) of the input field.
  7. Read only - If the field is read-only.
  8. Default value - The default value to display in the UI.

Tab entity diagram:

Rendering diagram...

TABS tab

Fields in the tabs table:

  1. Title - The title of the tab displayed to the user.
  2. Relationship name - The name of the property or relationship to which the input tab is associated.
  3. Input tab - The input tab, if the tab displays input fields.
  4. Child entity name - The name of the child entity.
  5. Search view - The search view, if the tab displays an one-to-many relation.
  6. Rank - The rank (order) of the tab field.

Displaying the one-to-many relationship in an edit view

Select the Tabs tab, click the Add button, and specify:

  • Title = title of the tab

Select Search View

Click the navigate arrow next to the Search view field.

Create the search view for the related entity (representing the "Many" part of the relationship).

Configure Relation Filter

The search view requires a filter to relate the parent entity with the child entity. After configuring this filter on the search view, specify it in the Fetch tab.

Tab entity diagram:

Rendering diagram...

ACTION tab

Fields in the actions table:

  1. Action - The entity action. See entity actions for details.
  2. Rank - The rank (order) of the action field.

Tab entity diagram:

Rendering diagram...

CONFIGURATION tab

The Edit View can be customised by setting the following properties.

The configuration tab is a JSON input in which you can enable or disable additional configuration options for the edit view.

ONE Workflow
{
  "expanded": false,
  "timestamp.visible": true,
  "buttons.delete.visible": true,
  "buttons.saveAsCopy.visible": true,
  "options.visible": true,
  "options.expanded": false
  "options.sharing.visible": true,
  "options.ownership.visible": true,
  "options.actions.visible": true
}

The properties can be set individually, the properties not set will have their default values as above.

  1. expanded
  • Determines whether the view is initially expanded when loaded.
  • Default Value: false
  1. timestamp.visible
  • Description: Controls the visibility of the date_created and date_updated fields of the current entity presented in the view.
  • Default Value: true
  1. buttons.delete.visible
  • Description: Toggles the visibility of the "Delete" button. This button allows users to delete the current entity presented in the view.
  • Default Value: true
  1. buttons.saveAsCopy.visible
  • Description: Determines whether the "Save as Copy" button is shown. This button allows users to create a duplicate of the current entity presented in the view.
  • Default Value: true
  1. options.visible
  • Description: Introduced in version 1.7.2, this controls whether the options sidebar is visible. The options sidebar contains the Actions, Ownership and Sharing sections.
  • Default Value: true
  1. options.expanded
  • Description: Added in version 1.7.2, this determines if the options sidebar is expanded by default.
  • Default Value: false
  1. options.sharing.visible
  • Description: Introduced in version 1.7.2, this controls whether the "Sharing" option is visible in the options sidebar.
  • Default Value: true
  1. options.ownership.visible
  • Description: Added in version 1.7.2, this toggles the visibility of the "Ownership" option in the options sidebar.
  • Default Value: true
  1. options.actions.visible
  • Type: Boolean
  • Description: Introduced in version 1.7.2, this specifies whether the "Actions" option is displayed in the options sidebar.