Hi,
Have searched the forum but didn't find anything.
I'm writing attribute rules in ArcPro for the LGS Addressing. I'm wanting to fill in columns from other data that has been published to our Enterprise Portal. Parcels, Zipcodes, Municipalites specifically, I've got the var for the portal item and set up the AR, it all validates. However, when placing a new feature, it fills in the columns with the text for the name of the column - PID, Zip, City - not the value. Any help would be appreciated.
One of the ARs:
// This rule will calculate the Zipcode the site address falls within
// Define the Site Addresses fields
var portal = Portal('//server.domain/portal/')
var zip_field = "ZipCode"; // column name in Situs Address layer
if (IsEmpty(zip_field)) {
var fs = FeatureSetByPortalItem(portal, 'Zip Codes', 0, ['ZIP_CODE'], true);
var zip_field = First(Intersects($feature, fs));
}
else {
zip_field = zip_field
}
return zip_field;
Thanks,
Lorinda