Select to view content in your preferred language

Custom search result graphic attributes?

750
2
08-20-2013 12:43 PM
brettangel
Frequent Contributor
I would like to modify the Search Tool to add a layer with all the fields of the original layer, not just the search field.  To accomplish this I'm trying to identify, in the source code, the code used to add the result graphic to the map, but cannot find it. 

Ideas where this is?  Anybody done this before?  Suggestions? 

Thanks in advance!

-Brett
0 Kudos
2 Replies
DominiqueBroux
Esri Frequent Contributor
Which search tool are you talking about?
0 Kudos
brettangel
Frequent Contributor
I'm referring to the SearchTools.AddIns.xap provided with ArcGIS Silverlight Viewer 3.1.  Currently, the result is added as a graphic with the candidate address for attributes, but I'd like to include all attributes from the original feature. 

I've sifted through all the code and although I thinks it's possible I'll probably write something simple that captures the search:add result event and modify the layer to my liking.
0 Kudos