Skip to main content

Edit a Form Template Using the New AppBuilder

This article will explain how to edit an existing Form Template using the new Asite AppBuilder, configure Form elements, and publish the changes using AppBuilder Designer.

Prerequisites

System Requirements

Requirement

Description

Access to AppBuilder Designer

Allows access to create or edit Form Templates within a Project.

Role Privileges

Role

Description

Developer Edition - Project Form Setting

Allows users to access the new AppBuilder interface.

NOTE: This is a system-level privilege. Users must contact Asite Support to have it enabled.

Edit Workspace Form Settings

Allows access to Edit App Settings.


How Do I Edit a Form Template in the New AppBuilder?

  1. Select the required Project.

  2. Select Admin from the More dropdown.

  3. Click the AppBuilder tile.

  4. On the My Templates page, locate the required form template.

  5. Click the three-dot icon on the form template card.

  6. Select Edit from the available options.

  7. The selected Form Template will open in the AppBuilder Designer.

  8. Make the required changes using the Form Elements (left-hand menu).

    • For information on the available Form Elements, check Form Elements.

  9. Click Save to save it as a draft. (top-left).

    NOTE:

    • Changes made to a Form Template will only be applied to the Form after the updated Form Template is published.

    • If the selected Form View is changed before saving, the newly selected View will also be saved with the draft.

    TIP: Click Discard Draft to remove unpublished changes and restore the Form Template to the last published version.

  10. A success message, Operation Successful, will appear.

  11. Click Publish to publish the updated Form Template.


New AppBuilder Designer - Form Elements

NOTE: Click the left panel icon to show or hide the left panel.

Element

Sub-Elements

Text

  • Label - Displays read-only text with formatting options.

  • Short Text - Accepts short text.

  • Long Text - Accepts several lines of text.

  • Rich Text Box - Allows users to enter formatted text.

  • Hyperlink - Displays clickable text that opens a web address in the browser.

Choices

  • Dropdown - Displays a list of options, allowing users to select single or multiple options, depending on how it's configured.

  • Multi-select Dropdown - Allows users to select multiple options from the dropdown list.

  • Checkbox - Allows users to select one or multiple configured options.

  • Radio - Allows users to select an option from the configured list.

  • Toggle Button - Lets users to switch the toggle on or off.

  • Rating - Allows users to provide a rating.

Date & Scheduling

  • Date Picker - Allows users to select a date and time.

  • Time Picker - Allows users to select a time.

Layout & Table

  • Table - Organises form fields in a table. Cells can be merged or split.

  • Layout - Arranges form fields into columns and allows bor

  • der configuration.

  • Repeating Table - Displays form fields in a table and allows users to add additional rows.

Page Elements

  • Divider - Adds a page divider.

Location

  • Map - Allows users to select a location on a map.

  • Site Location - Allows users to select a project location or sub-location.

Calculation

  • Calculated Value - Displays read-only values retrieved dynamically from the Asite database.

Basic

  • Button - Allows users to perform an action based on the configured properties.

  • Signature - Allows users to add a signature to the form.

  • Image - Displays an image on the form.

  • Attachment - Allows users to attach external files to the form.

  • Associate Files - Allows users to associate project files with a form and configure related metadata.

  • Associate Apps - Allows users to associate project forms with a form and configure related standard metadata.

  • View Associations - Displays associated items on the form, including deactivated items, based on the configured settings.
    This option is available only for project-related forms and is not available when using the standalone AppBuilder option under the Admin tab.

NOTE: Associate Files, Associate Apps, and View Associations are not supported with the Launch Form function in the AppBuilder Code Editor or when using Asite API services.

NOTE:

  • Drag and drop the required elements from the left panel onto the form.

  • Select an element from the left-hand menu to view its configurable properties in the right panel.

  • Click the right panel icon to show or hide the right panel.

  • Associate Files, Associate Apps, and View Associations are not supported with the Launch Form function in the AppBuilder Code Editor or when using Asite API services.


New AppBuilder Designer - Top Bar Options

Option

Description

API Connection

API connections allow form templates to retrieve data from:

  1. Other Asite forms in the same or different accessible Projects.

  2. External APIs.

For more information on creating an API Connection, check Set Up an API Connection in AppBuilder.

Code Editor

Provides a block-based interface for creating form logic, validations, and conditions. To use Code Editor:

  1. In the AppBuilder Designer, click Code Editor.

  2. In the Code Editor pop-up, configure blocks to define the required logic.

    NOTE:

    • The Code Editor can be used to apply logic to individual form elements or to the entire form.

    • The Code Editor uses Blockly, a third-party service. Refer to the Blockly Documentation for more information.

  3. Save the configuration.

Manage Attribute

Allows users to create dependencies between dropdown and checkbox controls.

EXAMPLE: If the hierarchy is set as shown below, selecting Project 1 displays Unit A and Unit B as checkboxes, while selecting Project 2 displays Unit C and Unit D.

Copy

There are two available options:

  • Copy Selected - Copies the selected form objects.

  • Copy All - Copies all objects in the selected view.

Paste

After copying form elements, click Paste to add them to the required View. Available paste options:

  • Paste - Pastes the copied objects as editable objects.

  • Paste as Read-only - Pastes the copied objects as read-only objects.

  • Paste as Calculated Value - Pastes the copied object as a new calculated value control.

    NOTE:

    • Paste options will become available after a form object is copied.

    • To maintain the same output across form views, keep properties such as Data Field Name and Data Source the same when copying and pasting dropdown fields.

Undo / Redo

Click Undo to reverse the latest action and Redo to restore the reversed action.

Delete All

Click Delete All to delete all form controls.

NOTE: Delete All does not delete the default ORI_FORMTITLE.

Download

Allows users to download the form template as a ZIP file.

NOTE: Save the form template before downloading it to ensure the latest changes are included.

Publish

Allows users to publish the updated form template and apply the saved changes to the form.


Manage Form Views in the New AppBuilder

The Manage Views option allows users to add new views, edit existing views or delete views. The Create View option is available by default. To manage form views:

  1. Click the Manage Views dropdown.

  2. Select an existing view to edit it.

  3. Click the delete icon next to an existing view to delete it.

  4. To add a new view, click Create New.

  5. Complete the fields in the Create New View pop-up.

  6. Click Create View.

    NOTE:

    • Select a View to add it to your form. View names must not contain spaces or symbols.

    • If no Created View is defined, all fields in Create View are displayed as read-only.


Configure Form Settings in the New AppBuilder Designer

The Settings option allows users to configure additional form settings, select a Sample Project for supported design-time configurations, define mobile display preferences, and configure print settings.

  1. To access these settings, click Settings in the top bar of the AppBuilder Designer.

  2. There are two types of Settings:


Additional Settings

The Additional Settings section provides the following configuration options:

Setting

Description

How to Configure

Thumbnail

Allows users to enable or disable the thumbnail setting for the form.

Enable or disable the Thumbnail toggle as required.

To learn more, check Thumbnail Settings.

Select Project

Allows users to select a sample project whose data is used when configuring and testing supported features in the AppBuilder Designer.

Select the required Project from the dropdown.

Mobile View

Defines how form fields are arranged when the form is viewed on a mobile device.

Select Rows or Columns, as required.

  • Rows: Stacks all form fields vertically in a single column. This provides a mobile-friendly, scrollable layout.

  • Columns: Displays form fields in columns with horizontal scrolling. This option preserves the multi-column layout on mobile devices.

NOTE:

  • The selected project provides sample data for configuration and testing. It does not restrict the form template to that project.

  • If the selected Project is changed, re-check the configured form controls to ensure that they are set up correctly for the new project.


Thumbnail Settings

Enable the Thumbnail toggle to configure a thumbnail for the form template. The following options become available:

Option

Description

How to Configure

Thumbnail Template

Defines the Form View used to generate the thumbnail.

Select the required Form View from the dropdown.

Generate Thumbnail

Generates a thumbnail using the selected Form View.

Click Generate Thumbnail. You will be redirected to the selected view.

NOTE: The generated thumbnail becomes visible in Grid View on the My Templates page only after the form template is published.


Print Settings

  1. Select the required options under Print Settings. The following options are available:

Setting

Description

How to Configure

Printing Type

Defines how form content and controls appear in the printout.

Select Basic Print or Advance Print.

Basic Print

Displays plain text values in the printout.

Select Basic Print.

Advance Print

Retains form controls in the printout.

Select Advance Print.

NOTE: Advance Print prints the form with its controls and applicable visual scripting.

Printing Orientation

Defines the page orientation of the printed form.

Select Portrait or Landscape.

  • Portrait: Prints the form in vertical page orientation.

  • Landscape: Prints the form in horizontal page orientation.


Did this answer your question?