Select to view content in your preferred language

View Attributes Table Add-in

1459
3
03-15-2012 10:33 AM
CodyScott
Regular Contributor
Hello Everyone,

I have created an Add-in to view the Attribute Table of a feature in ArcExplorer.

this work with Most layer types (or at least all that i've tested - Layer Package, Layer Packer Child, Feature Layer, Shapefile, etc)

Hope this is useful to someone!

http://www.arcgis.com/home/item.html?id=065f1da43c4f47da80f7f2d3cb958194
0 Kudos
3 Replies
DustinDunnill
Frequent Contributor
Very useful for the user to print out all field attributes etc!  In my case I author the attributes I want to be shown by a popup in Arc Map so the user just clicks on a layers display to view the information specific to it within the table. Is there any way you can take your expertise here and create a tool to search for attributes?

Thank you.
0 Kudos
CodyScott
Regular Contributor
Would you be able to elaborate on what you mean by search tool by attribute?

I have an addin i created that somewhat lets you search by attributes but it is somewhat limited in scope.

Basically a first dropdown(combobox) presents a list of all features in your table of contents(TOC).
A second combobox gives you all the fields in that layer.
A third combobox provides a list of all unique attributes within the selected field.

Given those critera it queries the feature and highlights what you searched for in blue on the map and displays your items within a table.

The limitiations of this currently is that:
A: you are limited to searching for only 1 attribute value at a time
B: Currently it only is made for Package Child Layers in a layer package (but this could be fixed and expanded fairly quickly)
C: It looks at each individual attribute in the table by looping through which (though not the best method) was the only method i could figure out. It will be slow on very large datasets but will function.
😧 It doesn't return the symbology of the layer you queried. I have no clue how ESRI does it. I assume since there is shapefile sitting locally on your machine they pull from that but since the layers are contained as packages in the TOC I don't believe its possible to leverage the SDK to pull the symbology, hence the blue highlighting and the table return.

If your interested i could expand the feature types and post this online.
0 Kudos
DustinDunnill
Frequent Contributor
Hey Cody,

I downloaded your "Zoom to Feature" tool and it works really well.  Better than any tool I have seen with these capabilities for Explorer (maybe only tool?).  I noticed some field attributes when found only center and won't zoom.  Otherwise this is an Awesome tool.

thank you.
0 Kudos