Select to view content in your preferred language

Attribute Inspector Use

1362
3
Jump to solution
11-17-2016 02:55 PM
SarojThapa1
Frequent Contributor

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.

0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus

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/"?

View solution in original post

3 Replies
RobertScheitlin__GISP
MVP Emeritus

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/"?

SarojThapa1
Frequent Contributor

Thanks Robert. I have decided to  try a slightly different approach than this sample. 

0 Kudos
PrasadG
Deactivated User

Hi Saroj

add the feature layer to map which layer do you want to update attribute. 

0 Kudos