The Creation widget

Tags

Creation Module Overview

The Creation module allows your operator to reference new resources directly from the field. This will add new resources to your databases.

Where is the Creation Module located?

The Creation module is found under the Database category in the Editing Studio.

image

How to configure it?

  • You can define the minimum and maximum number of resources that can be created by the operator.
  • You can also link the created resources to a database or ensure they have a default parent resource.
  • The attributes assigned to the created resources can also be configured.

Practically, how to enable my operator to create resources?

My operator wants to report anomalies.

For each anomaly encountered, they will create a new anomaly (thus a new resource) to populate the database.

How can I ensure my operator can create anomalies and make sure they are visible in the database?

a. In my form, drag and drop the Creation module. Name it "Report an Anomaly."

b. Within the "Report an Anomaly" module, include a Text module. Name it "Anomaly Type." Link the module to a Text attribute named "Anomaly Type," for example, and allow editing in the app to enable the operator to make changes.

image

c. Publish your form and go to the application.

d. Start an intervention. Create the first anomaly. Define this anomaly.

image

You can create as many anomalies as you want. Once the intervention is complete, these anomalies will be visible in your database.

Add a random suffix to the created resource name:

In the Creation module settings, an option allows you to add a suffix to the created resource name.

This suffix will consist of 9 randomly generated digits, allowing you to differentiate the created resources and avoid having the same name. Each newly created resource will thus have a unique identifier.

image

We do not yet have the ability to automatically increment the names of created resources (to sort them in your database).

How to automatically load data into created resources and/or hide these resources?

Within the Creation module, an option allows you to automatically load data into the resources and also hide these resources.

image

Make the created resource the main resource of the intervention

In the Creation module settings, if you check the option "This resource is the main resource of the intervention," then the created resource will be the main resource of the intervention. Note that if this option is enabled, it will not be possible to create more than one resource with your Creation module.

You can hide your Creation modules!

It is possible to hide a Creation module. The created resources will then be created automatically. To do this, you must have a display condition that triggers this Creation module.

For example: The form should automatically create an anomaly if the operator answers "Yes" to the question "Do you want to report an anomaly?"

In the editing studio, you need to:

a. Drag and drop a Yes/No module (which will trigger the Creation module). Name it "Do you want to report an anomaly?"

b. Then drag and drop your Creation module. Configure your Creation module to select creation criteria (and notably the database).

c. On your Creation module, place the following display condition: "Show if 'Do you want to report an anomaly?' is Yes."

image

For further details

  • In the "Creation" module, you can link the internal modules to attributes in your database. This way, you can characterize the created resources with the appropriate associated attributes.
image
  • It is possible to create two resources with the same name. The code associated with the resource will differentiate them.
  • Using tags, you can reuse previously entered information during the intervention to name the new resources.
  • No resource will be created if you test the form in preview mode.
💡
Limitation: It is not yet possible to automatically increment the names of the resources.