Select to view content in your preferred language

Identify widget wont show hyperlink

3963
40
06-09-2010 01:37 PM
ShawnKraft
Occasional Contributor
I have a virtual directory set up to where my plats are.  They are in .tif format but I do have one in .pdf format to use to test this widget.  

                                <descriptionlabel>Use the identify tool to identify features on the map:</descriptionlabel>
  <pointlabel>Identify</pointlabel>
  <clearlabel>Clear</clearlabel>
  <loadinglabel>Loading...</loadinglabel>
  <selectionlabel>Features Identified:</selectionlabel>
</labels>
<layers>
  <layer>
   <name>Lot</name>
   <linkfield>PLATLINK</linkfield>
  </layer>
  <layer>
   <name></name>
   <linkfield></linkfield>
  </layer>
</layers>
</configuration>

Not sure why this isn't working.  I modified the identifywidget.xml, do I need to modify anything else to get this to work? Might be easier to just explain what to do and I will do it per the instructions and see if I missed anything.
Tags (2)
0 Kudos
40 Replies
ShawnKraft
Occasional Contributor
Yeah.  I have something wrong somewhere.  Implementing this tool should be easy.  All I should have to do is replace the IdentifyWidget.xml/mxml files right?  I changed the config to point to flexviewer folder instead of the esa folder but that just gives me a "identify operation not supported on this service" in the identify box.
0 Kudos
ShawnKraft
Occasional Contributor
Should I set up that virtual directory as a service in arcgis server manager?
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Shawn,

   Is "Lot" the exact name of the layer in a map service as it is listed in your REST service directory?
0 Kudos
ShawnKraft
Occasional Contributor
Well I have the myIdentify_v1.2.02 that you created.  I am gonna try that.
0 Kudos
ShawnKraft
Occasional Contributor
Yep.  I have an mxd set up with several layers in it.  The mxd is running as a service called Streetstuff.  Its my test as i am building in flex.  Lot is the exact name of the layer in the mxd, and PLATLINK is the field alias with the http urls.
0 Kudos
ShawnKraft
Occasional Contributor
What is interesting is if I have it in the config file to point at the IdentifyWidget in the esa folder, the tool will function properly, albeit it doesn't show the hyperlink that I am trying to accomplish.  If I change it in the config to point to the IdentifyWidget in the flexviewer folder, the tool functions properly, it just give me that comment that says the tool does not support that service.
0 Kudos
ShawnKraft
Occasional Contributor
-->
<configuration>
<securedlayer>http://cigtdc.esri.com</securedlayer>
<securedproxy>http://sabags/FlexProxy/proxy.ashx</securedproxy>
</configuration>

this is the gist of the IdentifyWidget.xml in the esa folder. 

this is the IdentifyWidget.xml in the flexviewer folder

<configuration>
<identifylayeroption>visible</identifylayeroption>
<identifytolerance>5</identifytolerance>
<zoomscale>5000</zoomscale>
<labels>
  <identifylabel>Identify</identifylabel>
  <resultslabel>Results</resultslabel>
  <descriptionlabel>Use the identify tool to identify features on the map:</descriptionlabel>
  <pointlabel>Identify</pointlabel>
  <clearlabel>Clear</clearlabel>
  <loadinglabel>Loading...</loadinglabel>
  <selectionlabel>Features Identified:</selectionlabel>
</labels>
<layers>
  <layer>
   <name>Lot</name>
   <linkfield>PLATLINK</linkfield>
  </layer>
  <layer>
   <name>Layer2</name>
   <linkfield>URL</linkfield>
  </layer>
</layers>
</configuration>
0 Kudos
ShawnKraft
Occasional Contributor
How about this, how would I go about installing the myIdentify_v1.2.02.zip version you created?
0 Kudos
ShawnKraft
Occasional Contributor
Its probably important to note that I did not try to create a separate Identify tool to use in addition to the standard Identfiy tool that comes with the sample viewer.  What I did was just replace the IdentifyWidget.xml and mxml in the flexviewer folder.  Which, I thought would basically alter the standard Identify tool in the sample viewer.
0 Kudos
ShawnKraft
Occasional Contributor
I am starting to think I should have replaced the IdentifyWidget.xml and mxml in the esa folder as well.
0 Kudos