Show a Subset of Attributes of a Feature in Pro

07-08-2021 02:01 PM
Occasional Contributor

Hi, I understand how to display a features attributes using the inspector class. However, I dont know how to display only a few attributes fields instead of ALL of them.


Can anyone point me in the right direction?




0 Kudos
6 Replies
MVP Esteemed Contributor

Hide columns in a table—ArcGIS Pro | Documentation ?

is this what you are referring to?

... sort of retired...
0 Kudos
by Esri Regular Contributor
Esri Regular Contributor

It does look like the Inspector class honors the 'Visible' setting (see Dan's reference above) and hides the attribute column if the 'Visible' checkbox is unchecked.  I implemented an attribute control in my 'Show Attributes' dockpane and changed the 'Visible' checkbox state.  Below the 'Visible' is off and you can see that the 'Description' column is not displayed:


Next i checked the 'visible' checkbox and the attribute column appeared:



0 Kudos
Occasional Contributor

Hi Wolf,

just found this thread because I'm having the same issue. I want to create a custom Inspector in an AddIn where the user can edit only a subset of visible attributes from a feature layer. How can this be achieved without modifying the actual layer definition? Is there a way to modify a copy of the schema and pass it to the Inspector?

0 Kudos
Regular Contributor III


You can find  how to show/hide attribute fields using code here: 

New Contributor III

Did you ever figure this out?  I know one can change the visibility at the layer level which changes the table as well.  Did you determine if it's possible to only alter the feature inspector itself?

0 Kudos
Occasional Contributor

@KierenTinning2, I added an ArcGIS Idea for this issue. Please vote for it, anybody who would like this feature to be added.

0 Kudos