Adding a field group to your data model
Add a field group to your data model to store the values of a group of related fields in a Skin form — Components tab — General — Page data structure. You can then reference this field on a form to collect values from users at run time.
Add a field group to your data model to store the values of a group of related fields in a single data structure. You can then reference this field on a form to collect values from users at run time.
For example, you can capture the first name, last name, and address of a person in the Prospective Client field group.
Access the data model for a data object or a case type, based on how the field will be used in your application.
- To view fields in a data object:
- In the navigation panel of App Studio, click the .
- Click the name of a data object.
- Click the Data model tab.
- To view fields in a case type:
- In the navigation panel of App Studio, click Case types.
- Click the name of a case type.
- Click the Data model tab.
- Optional: To display fields that are inherited by your application, click Show reusable fields.
- To view fields in a data object:
Click + Add field.
Enter the name of the field group.
In the Type column, select Field group from the list of options.
In the Options column, select a data object from the autocomplete field.
Click Done.
- Adding field groups to forms
Save time and create comprehensive forms for your case types by categorizing related fields in a single data structure. For example, you can capture the first name, last name, and address of a person in the Prospective Client form in a single field group, instead of several individual fields.
- Storage and display of fields
- Creating a data object
Use data objects to simplify the organization of the information that your application needs to process a case. For example, configure an Onboarding application to provide orientation course suggestions to new hires based on department. In the Onboarding application, a Courses data object might include fields such as Course ID, Course Title, Department, Duration, and Description.
Previous topic Adding field groups to forms Next topic Adding a field group list to your data model