Select to view content in your preferred language

Attribute Rule error

351
2
11-28-2023 08:03 AM
BrianBulla
Honored Contributor

Hi,

I'm trying to edit an attribute on a web service that has an attrbute rule on it.  I'm assuming this error in Field Maps is because of some incompatibility with Field Maps?  Or is something else going on??

In an AGOL webmap, I am able to make the same edit with no problems.

BrianBulla_0-1701187387605.jpeg

 

0 Kudos
2 Replies
ClayDonaldsonSWCA
Frequent Contributor

can you share your expression? I would also suggest looking at the field maps troubleshooting logs.

0 Kudos
BrianBulla
Honored Contributor

Sure,

It's just a rule to update a field for our Asset Management system Maximo.  The code works fine, it's just Field Maps that doesn't seem to like it.

Where are the logs for Field Maps??

if ($feature.FACILITYID != $originalfeature.FACILITYID || $feature.CONTRACTNO != $originalfeature.CONTRACTNO || $feature.LIFECYCLESTATUS != $originalfeature.LIFECYCLESTATUS || $feature.OWNERSHIP != $originalfeature.OWNERSHIP || $feature.LOCATIONDESCRIPTION != $originalfeature.LOCATIONDESCRIPTION || $feature.DEPOTAREA != $originalfeature.DEPOTAREA || $feature.WALLMATERIAL != $originalfeature.WALLMATERIAL || $feature.MHDIAMETER != $originalfeature.MHDIAMETER || $feature.SUBTYPECD != $originalfeature.SUBTYPECD) {
    return 1
} else {

}
0 Kudos