Logo

    Home

    Documentation

    Use Cases

    Training

    Applications

    Release Notes

    Add and configure a Form (SWAT Form)

    Add and configure a Form (SWAT Form)

    1 Context

    đź§ 
    A form is the next available no-code object, that we will implement, to display data for a specific data set. Additionally, a form can also be used for workflows and processes. In this step, we will drag and drop objects onto the screen and connect them to each other.

    2 Result

    image
    image

    3 Step by step guide

    3.1 Copy an existing form

    1. Select the “Home icon” in the top left corner to go back to the Home screen
    2. Navigate to “Design” → “Components” → “Forms”
    3. Search for the object “OrderForm” in the column “Object Name” in the grid and select it by clicking on the description text
    4. Click on the button “Duplicate”
    5. image
    6. Give it a name like “OrderForm_<yourName>” and select the module “MyAppModule” and select “Confirm” to save a new form object

    3.2 Put the form in the screen

    1. Now navigate back to your “OrderOverview” Screen Designer
    2. Please select the first tab, called “Design view” to get back to the preview of your screen
    3. Search in the panel “Library of Objects” for your newly created Form “OrderForm_<yourName>”
    4. Now drag & drop it into the “B” panel in the “Design View” panel
    5. Please select the third tab, called “Flow view”
    6. Hover over the grey dot at the bottom of “OrderDSO” (the mouse cursor will change) and drag & drop the connection into the “OrderForm_<yourName>” object
    7. In the popup window select the “Link type” “Display” and select “Ok”
    8. You will find that now the objects will have rearranged themselves
    9. Now launch your screen again and see the form displayed on your first screen.
    10. icon

      The data visible is pre-populated data of the “OrderDSO”. It will show detailed information of a specific data set selected in the grid.

    4 Explanation

    icon
    By connecting the form to the same DSO that the grid is connected to, a request is sent to the DSO every time a specific record is selected in the grid. This request is then forwarded to the form via the DSO and the record is displayed in detail.

    5 Helpcenter Article

    Forms

    The Forms created in Build.One using the SwatForm object. The Form control is collapsible/expandable labeled section in a panel. It is used to group multiple form-field level controls for a functional reason.

    helpcenter.build.one

    Logo