Creating attachment, location, and user-reference fields
Attachment, location, and user-reference fields provide advanced functionality for how users interact with a form. For example, you can configure an attachment field to allow users to attach resumes to a case, or configure a location field to allow users to enter a shipping address with the aid of a map. You can also configure a user-reference field to display the list of users in your application as a list or as an autocomplete that returns a list of search results.
- In the navigation panel of App Studio, click Case types.
- Under Case types, click the name of a case type.
- On the Data model tab, click + Add field.
- In the Name column, enter the name of the field.
- In the Type column, select one of the following field types:
- Attachment
- Location
- User reference
- Click the Gear icon to configure attachment or user-reference fields.
- To configure attachment fields, complete the following steps:
- In the Attachment category field, select the category associated with the attachments that are uploaded by the user. By default, the attachment category matches the field name. For more information, see Attachment categories.
- Click OK.
- To configure user-reference fields, complete the following steps:
- In the Select record using field, select a control type from the list.
- Search box – Prompts users to search for an existing user by entering a full name or operator ID in an autocomplete field.
- Drop-down list – Prompts users to select the full name of an existing user from a list.
- Click OK.
- In the Select record using field, select a control type from the list.