Create a data-mapped form with Form Builder to create new data records in Skedulo for Salesforce (Beta)

How to create a mobile form that collects data to add new data records.

Overview

Data-mapped forms allow mobile users to submit data values through forms in the Skedulo Plus mobile app that either create new records or update existing records in the Skedulo database.

The instructions in this article cover the steps to create a mobile form for the Skedulo Plus mobile app that allows users to create new data records in Skedulo. The term data-mapped means that the fields in the forms are mapped to fields in Skedulo data objects such that by submitting data via the form, new data records are created in Skedulo.

For this to be possible, some prior planning and data setup is required before creating the form. See the prerequisites section below for details.

Prerequisites

  • Administrators can configure forms in Form Builder.
  • Resources need permission to create and edit the data object that is mapped in the form.
  • Form Builder can only be used in teams using the Skedulo Plus mobile app, as the forms created using the Form Builder can only be installed on the Skedulo Plus mobile app.

Data schema preparation

Before creating a data-mapped form to create new data records, you must do the following steps:

  1. Create a custom object in Salesforce to store the form data. For details on how to do this, see Create custom objects in Salesforce.
  2. Add custom fields to the object to fulfill your form’s data-creation requirements. Take note of the field types, as you will need to configure corresponding data entry components in the form for each field.
  3. Add two custom fields to the object with the following properties:
Custom field Field type Field label Field name
The Job field Lookup (refer to the Job object) Job Job
The FormUID field Text FormUID FormUID
  1. Map the following fields to Skedulo: Job, Form UID, Created Date, Created ID, and all custom fields to be used in the form. For details on how to map fields, see Map custom objects and fields.

Create a Skedulo Plus form to create new data records

Creating a form in Form Builder is a two-step process. First set up the form and then configure the form’s visual components that map to the custom fields configured above.

Set up the form

To set up a data-mapped form for new data records, do the following steps:

  1. Navigate to Settings > Mobile app configuration > Mobile forms in the Skedulo web app.

    The Mobile forms page displays all Skedulo Plus mobile forms that are created using Form Builder.

  2. Click Create form.

    The Create new form window displays.

  3. On the Create new form > Create form window, click Create new records and then click Next.

    Create new forms modal
  4. On the Create new form > Form details window, complete the following fields:

    Create new record example
Field Description
Form title (Required) The title or name of the form that mobile users will see in the Skedulo Plus app. Character limit is 38. Title can include alphanumeric characters, spaces, and special characters, but must start with an alphabetic character. The form title can be edited after the form is created.
Form description (Optional) Text that appears underneath the form title in the Skedulo Plus app.
Form type (Required) Where the form appears in the Skedulo Plus app; either in the job details screen or in the More menu screen.
Display order (Required) Where there are multiple forms shown in the same location, the display order determines where the form displays in the list. The lower the number, the higher it appears in the list.
Data mapping (Required) The data object to which the form is linked and for which a new record will be created when the user submits form responses. Each form can only be linked to one object and it cannot be changed after the form is created.
  1. Click Create. The form details page displays.

Add components to the form and map them to the custom object’s fields

Before adding components to your form, ensure you have a record of the custom object and its fields that you would like the form to map to, including the field names and types.

To add UI components to the form, do the following steps:

  1. On the Form Details page, switch to the Form Builder tab.

  2. Click Add new component and then select the component type that you want to create.

    To learn about available components, see Components available in the Skedulo Plus Form Builder.

    Add new component button

  3. After adding a component, the Component details configuration panel displays.

    Component details panel

    a. From the Field mapping drop-down, select the field to map. You can only select fields that have the field type compatible with the component you are working on.

    b. Enter a Label and configure the other fields, as required, according to the component type. For an example of how to configure a component, see Build a Skedulo Plus form with Form Builder components.

    c. Click Save.

When adding a drop-down or multi-dropdown component, the options will be populated automatically from the picklist values of the field you select.

Dropdown or multi-dropdown component example

  1. Add all the components you need. They can be reordered by dragging and dropping and conditional display logic can be configured, if required. See Set conditional display logic in Form Builder for details on how to do this.

  2. Install the form to make it available to resources in the mobile app.

When users fill and submit the form, you will be able to access the data by navigating, in Salesforce, to the list of records for the object to which the form was mapped. For details, please see View form data.