Where is Identify code in Basic Viewer template located?

Discussion created by steinj14 on Jun 11, 2013
Latest reply on Jun 11, 2013 by steinj14
I have downloaded the Basic Viewer template and using that as a basis for a custom app. I have several operational layers and 1 feature layer. When I click on the map to do an "Identify", it selects the feature in my feature layer and symbolizes it with a black outline with gray fill.  When you close the popup window, the feature remains selected. Questions:

Is there any way to prevent the app from selecting the feature in the feature layer when you do the Identify?
Is there a way to change the symbology of the selected feature?
When you close the popup, is there a way to clear the selection?

I can't find any of the javascript code that controls the Identify functionality, can anyone point me in the right direction?