Hi,

having a buchn of calculated fields in a OF collect mobile survey significantly decreases the performance of the tablets in the field. It seems as if all calculations are updated every time new data is entered. Is there a possibility to hold the calculation and only trigger them, once all relevant data is entered? E.g. use a boolean attribute on the plot level, which when true causes the basal area per hectar to be calculated from the tree data entered, instead of updating the basal area per hectar with each new tree entered.

Many thanks!

asked 03 Mar '20, 13:32

emiir's gravatar image

emiir
115
accept rate: 0%

edited 03 Mar '20, 13:33


Dear Emiir,
Not "all" the calculated attributes are updated whenever you enter new data, but only the ones that depend on the attribute being edited.
The efficiency of the calculations depends even on the way you define the calculated attributes (for example, if you have complex expressions repeated in several attributes, you can think about splitting the expression into smaller pieces and introduce other calculated attributes; the most complex computations will be evaluated only one time).
If you want we can contact you to your private email so you can share with us your survey and we can try to improve it a bit.
Meanwhile you can try to make the calculated attributes "relevant" only when the user selects a boolean attribute: the calculations will be performed only at that time.
Many thanks,
Open Foris Team

permanent link

answered 03 Mar '20, 14:43

Stefano%20%28OF%29's gravatar image

Stefano (OF) ♦♦
4.8k119
accept rate: 19%

edited 03 Mar '20, 14:45

Thanks for the detailed and quick answer! I will check your suggestions and get back to you soon. Great support!

(03 Mar '20, 16:33) emiir emiir's gravatar image
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×171

question asked: 03 Mar '20, 13:32

question was seen: 1,671 times

last updated: 03 Mar '20, 16:33