AnsweredAssumed Answered

How can I add custom inputs to the attribute inspector?

Question asked by timdine on Sep 26, 2017
Latest reply on Oct 23, 2017 by dankirs10w

I'm building an Attribute Inspector for an application.  The application allows the user to click on a feature (displayed from a feature layer) and edit the attributes of that feature.  I'd like to add some additional inputs to the Attribute inspector which will not be populated by fields of that feature.  Is there a tidy way to do this using api methods or is it going to be done with lower level dojo and html manipulation?

 

What I'm imagining is something like this sample Query and edit related records | ArcGIS API for JavaScript 3.21  except that I'd prefer not to build the whole content.  I'd like the content to be built from the layerInfo like this example Using the attribute inspector | ArcGIS API for JavaScript 3.21  and then modify it.  

 

If I have to build the additional controls up from dojo objects that's ok.  Ultimately what I'm attempting is to click a feature, show it's fields, get data from another feature, show some of it's fields and allow them to be edited (ideally with all the validation and domains associated with that field) while it looks like one feature to the user.  For external reasons the attributes can't be on the same feature class / table and there is no relationship class between the two feature layers.

 

Thanks

Outcomes