Bug
Bug ID Number | BUG-000152604 |
---|---|
Submitted | September 27, 2022 |
Last Modified | September 5, 2024 |
Applies to | ArcGIS Online |
Version found | 10.2 |
Operating System | N/A |
Operating System Version | N/A |
Status | Will Not Be Addressed |
Use a different value other than $feature. For example,
var features = FeatureSetByName($map, 'layername')
var schema_dict = Schema(features);
var fields_array = schema_dict['fields'];
var allFields = '';
for(var i in fields_array){
var fieldname =fields_array[i]['name']
var allFields = Concatenate([allFields, fieldname, ": ", Text($feature[fieldname]), TextFormatting.NewLine]);
}
return allFields
Bug ID: BUG-000152604
Software:
Get help from ArcGIS experts
Download the Esri Support App