Hi My survey contains a SamplingPointData file in which I want to check the species names. I tried idm:samplingPointData('baumart', vorgabe) where baumart= species name and vorgabe= name of the SamplingPointData file are. I chose "Pattern" as Check type. In the Preview an error message occurs that I should contact the system administrator. Which is the correct XPath expression to check the species name? Thanks for your support, Sabrina
Accepted answer
Dear Sabrina,
If you have only one species name in your Sampling Point Data per sampling unit (i.e. object of interest, even tree) and the field to validate is a text field, you can try this:
idm:samplingPointData('bauart', tree_id) = $this
But if you know your species in advance, you do not need to fill it in because then you can use a function (i.e. Calculated value expression) to automatically retrieve it.
Regards, Lauri