Skip to main content

Esri ArcGIS Enterprise UK Data Loader - Property has field value

  • What is it? This calculation will check if a specified field exists or matches the given value for the property identified by the supplied UPRN (or its parent).

Setup

The formula requires Esri ArcGIS Enterprise UK Data Loader integration to be configured. This can be done under Settings > Integrations > Esri ArcGIS Enterprise UK Data Loader.

Inputs

This formula requires 5 inputs to be passed through to it:

FieldDescription
UPRNthe UPRN of the property to look up
Check Parentwhether or not to return a value from the Parent property (if there is one)
Field Namethe name of the field on the property record to compare a value for
Field Valuethe value of the field on the property record to compare with
Accept any valuewhether or not to ignore Field Value and return 'true' if the field with the given Field Name exists for the property record

Return values

ValueDescription
trueIf the property (or parent property) exists and has the given field value
falseIf the property (or parent property) does not exist, does not have the given field value, or if there was an error fetching the results

Formula Logic

  1. A check is made to see if the integration has been enabled in the Settings > Integrations page. If the integration is not enabled the logic returns 'false'.

  2. The property is fetched from Esri using the supplied UPRN value.

  3. If the property has a Parent and the Check Parent option is set to 'Yes', the value of the field with the specified Field Name is fetched for the Parent property.

  4. Otherwise, the value of the field with the specified Field Name is fetched for the property identified by UPRN.

  5. If Accept any value option is set to 'Yes', 'true' is returned if any value is fetched in the previous step.

  6. Otherwise, compare the fetched value to the Field Value and return the result of comprasion 'true' if the two values are equal and 'false' otherwise.

If the property or the Field Name field is not found, 'false' will be returned.