Inspections: Difference between revisions

Jump to navigation Jump to search
2,365 bytes removed ,  1 June 2022
(→‎Technical information: portions moved elsewhere)
Line 146: Line 146:


When you deploy Resco Inspections in large projects without considering performance, your users may experience performance degradation. Learn about the possible problems in advance and set up your questionnaires to mitigate the risks.
When you deploy Resco Inspections in large projects without considering performance, your users may experience performance degradation. Learn about the possible problems in advance and set up your questionnaires to mitigate the risks.
=== Rapidly increasing database footprint ===
If you created your Resco Inspections organization some time ago, the default setting used to be that every single answered questionnaire is saved in a self-contained way, i.e., it includes the answers, but also the questions along any possible custom images (logo), business rules, and styles. This approach ensures that even if the original questionnaire template changes, your answered questionnaires are unaffected.
In scenarios where questionnaires are changing frequently and each questionnaire is answered only a limited number of times, this is a valid approach. However, if your inspectors perform hundreds or thousands of inspections every day, you might discover that your database gets full of redundant data.
Use the parameter '''Dependency Level''' in the [[Questionnaire_Designer#Properties_pane|properties of a questionnaire template]] to control this behavior.
* '''None''': Questionnaires are self-contained, at the cost of increased database footprint.
* '''Images''': In this case, static images of the questionnaire template (such as the logo) are not included in each answer.
* '''Full''': Save only the answers. Static images, questions, rules, and styles are not included; instead, they are replaced with a reference to a questionnaire template. This option is recommended if your questionnaires rarely change and it is only available for versioned questionnaire templates.
: <small>Using versioned templates means that old template versions gain the archived state. Sometimes, the sync filter for the Questionnaire entity is configured to exclude archived templates. If you attempt to view old answered questionnaires (that use an archived template with medium or high dependency level) in the app in offline mode, you may encounter the ''Questionnaire template not found!'' error. In this case, consider modifying the sync filter to make archived templates available in the offline mode.</small>
Another complementary option is saving your images in external cloud document storage, rather than in the database. This behavior is configured on the Properties pane for images in the parameter '''Storage Entity'''. Cloud document storage is often much cheaper than databases. Resco Inspections supports third-party document storage by Box, Dropbox, Google Drive, OneDrive, and SharePoint.


=== Slow questionnaire loading time ===
=== Slow questionnaire loading time ===

Navigation menu