Questionnaire Designer: Difference between revisions

Jump to navigation Jump to search
Line 459: Line 459:
* 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 that is 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.<br>If this custom view does not exist, the app uses the lookup view for the entity (if any), or simply the default view.
* You can configure a custom view that is 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.<br>If this custom view does not exist, the app uses the lookup view for the entity (if any), or simply the default view.
=== Images ===
Questionnaires may include images. Questionnaire Designer supports several image-type components in two main groups:
* static image and logo: these are added to the questionnaire at design time by the author of the questionnaire template
* dynamic images: images that the inspector can take when filling out the questionnaire
For each image, you can configure where it should be saved. Select an image-type component and on the '''Properties''' pane, configure the value of the '''Storage Entity''' property.
* Use annotation (or a different entity that supports binary attachments) if you want to save images directly in the database.
* Use one of the supported cloud document servers for storing images, such Google Drive or SharePoint. See [[Documents#Cloud_storage_for_questionnaire_images|Documents]] for more information. Cloud document storage requires a bit more effort to set up, but in general, cloud storage is cheaper than database space.
If you need to access questionnaire images on the database level, for example, when designing a [[sync filter]] or custom reports, consider the following information:
* In the annotation (or similar) entity, the Regarding/objectid field contains the reference to the questionnaire, and the Title/subject contains the reference to the question on which the image is saved.
* For the logo, the Title/subject equals "-resco_logo".
* See [[Mobile_reports_for_Resco_Inspections#Images_from_repeatable_groups|detailed instructions]] how to access images from repeatable groups.


=== Tagged image ===
=== Tagged image ===

Navigation menu