Questionnaire Designer: Difference between revisions

Jump to navigation Jump to search
Line 608: Line 608:
* [1] Completed
* [1] Completed
* [2] Canceled
* [2] Canceled
=== 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.


== See also ==
== See also ==

Navigation menu