Cannot call member property on object of this type

3015
10
01-17-2022 05:37 AM
Labels (2)
DaveBodak
Occasional Contributor

Hello,

I am trying to reference data stored in another feature layer in ArcGIS Online for a pop-up, and there are a few other instances where I want to use the expressions to reference data stored in other feature layers. 

Here is the line of code that I am using to reference the data, in this case I am trying to get the inspection date from the hydrant inspections table:

return (FeatureSetByName($datastore,"Hydrant Inspections").InspectionDate)

When I do this, I receive the following error:

"Cannot call member property on object of this type."

I have tried a few different methods, such as going through the portal and setting the ID of the dataset, but I am still getting the same error message when I try to reference the field.

Thank you for any assistance!

0 Kudos
10 Replies
DaveBodak
Occasional Contributor

Is there a way to have the recent hydrant inspections feature layer collect the ObjectID of the hydrant being inspected?

0 Kudos