Adding custom business logic to Field Maps

1911
11
11-03-2023 11:41 AM
BrianBulla
Honored Contributor

Hi,

I'm just wondering if it's possible to add any logic to field maps.  For example, we have features that get yearly inspections so we have a related INSPECTION table to the feature.  Each time an inspection happens:

- if this, this and this come up in the inspection, then the STATUS field on the feature needs to be INSPECTED

- or if this, this and this come up in the inspection, then the STATUS field on the feature needs to be WORK REQUIRED

- etc.

Basically, we need to update fields on the feature, based on what fields are filled out on the inspection form.  Is it possible to do this??

Currently we are look at VertiGIS Mobile, since it seems to be impossible to get FieldMaps to do this, but I would much prefer to stick with FieldMaps.

0 Kudos
11 Replies
BrianBulla
Honored Contributor

Thanks....so for the Authorize URI and the Token URI, where do I find this information??  I am in my developer account, and see the App ID and App Secret, but not sure where to find these URIs.

BrianBulla_0-1699373383473.png

 

0 Kudos
DougBrowning
MVP Esteemed Contributor

No you cannot symbolize by a related table using Arcade since it gets to slow.  For me I have had luck making the related table a feature class instead.  Then I can just map the inspections instead with them on top of the other points.  We even use little check marks sometimes.  It also shows us cases where the inspector picked the wrong parent and spatial collection on the child shows us this right away.  No real advantage to have it a table so make it a feature class.

Other option is old school Python script that runs on a schedule and clacs the parent fields.  So basically attribute rules on a timer.

Hope that helps.

0 Kudos