I was looking at the Attribute Inspector sample for ArcGIS API for JavaScript 3.18.
ArcGIS API for JavaScript Sandbox
I changed the feature layer Url and fieldNames in the fieldInfos. I also added Geometry Service, but when I click on the features, it does not show up the attributes. I am working on creating an editing where a user can only edit attributes.
Thanks.
Solved! Go to Solution.
Saroj,
Did you change the layerInfos.fieldInfos and change the UniqueValueRenderer renderer to use a field and value from your data? Also do you have a proxy setup for this line of code: esriConfig.defaults.io.proxyUrl = "/proxy/"?
Saroj,
Did you change the layerInfos.fieldInfos and change the UniqueValueRenderer renderer to use a field and value from your data? Also do you have a proxy setup for this line of code: esriConfig.defaults.io.proxyUrl = "/proxy/"?
Thanks Robert. I have decided to try a slightly different approach than this sample.
Hi Saroj
add the feature layer to map which layer do you want to update attribute.