Bug
| Bug ID Number | BUG-000153809 |
|---|---|
| Submitted | November 17, 2022 |
| Last Modified | June 5, 2024 |
| Applies to | ArcGIS Online |
| Version found | November 2022 |
| Operating System | N/A |
| Operating System Version | N/A |
| Status | Non-Reproducible |
Use template literals instead of the @ notation. For instance, instead of:
var P = Portal("https://wwww.arcgis.com")
var itemID='ITEMID'
var featureID=$feature["FIELD_NAME"]
Var FS= FeatureSetByPortalItem(P, itemID,0,['FIELD_NAME2'])
var Mathes =Filter(FS, `FIELD_NAME= @featureID')
Use the following syntax:
var P = Portal("https://wwww.arcgis.com")
var itemID='ITEMID'
var featureID=$feature["FIELD_NAME"]
Var FS= FeatureSetByPortalItem(P, itemID,0,['FIELD_NAME2'])
var Mathes =Filter(FS, `FIELD_NAME= ${featureID}`)
Bug ID: BUG-000153809
Software:
Get help from ArcGIS experts
Download the Esri Support App