10,730
edits
(→Lookup: expanded) |
|||
Line 518: | Line 518: | ||
* You must select one or more entities as target(s) of the lookup. | * You must select one or more entities as target(s) of the lookup. | ||
* You can configure a filter to display only the relevant records to the user. | * You can configure a filter to display only the relevant records to the user. | ||
* You can configure a custom view | * You can configure a custom view displayed in the app to locate the record. Click the View icon in the target entity row and define up to 7 fields that should be displayed in the view. | ||
:If this custom view does not exist, the app uses the lookup view for the entity (if any), or simply the default view. | |||
:Remember that one questionnaire can be used in different [[app projects]], and each project can have different views. As a result, the same questionnaire template can look differently depending on the app project of the inspector. Set up a view directly in the questionnaire to prevent this from happening. | |||
* If you enable '''Allow Create New''' in the question properties, users can create a new record from the questionnaire. | * If you enable '''Allow Create New''' in the question properties, users can create a new record from the questionnaire. | ||
[[File:Setting up a lookup question.png|600px]] | |||
=== Images === | === Images === |