POST
|
Yes, you can do this. You will need to configure the hyperlink in the popup. Let me know if need more clarification. It is pretty straight forward. I've done this on several projects.
... View more
12-11-2014
06:16 AM
|
0
|
0
|
192
|
POST
|
Robert, Am I missing something or is there not a compiled version of the Enhanced Search Widget version 3.1.6? Any chance you could post a compiled version. Thanks, Aaron
... View more
01-30-2013
04:45 AM
|
0
|
0
|
354
|
POST
|
Robert, It looks like the problem is the secured service. When I click on the "Show Relates" icon it puts a request to the REST Services directory but it is not authorized to view the data. Somehow the token has to be embedded in the request. Currently the request is https://maps.barr.com/ArcGIS/rest/services/Demos/Test_Relate/MapServer/1?f=json Thanks, Aaron
... View more
09-28-2012
01:37 PM
|
0
|
0
|
526
|
POST
|
Robert, Thanks for your repsonse. All of the other functionality works with https. Just the relate isns't working. A few questions. 1) Have you tested eSearch with data in SDE? 2) Can the relate be a stand alone table or does it have to be a spatial data set? 3) Does it matter if the relate is set up in the data base or in the map? Thanks, Aaron
... View more
09-28-2012
12:39 PM
|
0
|
0
|
526
|
POST
|
Robert, I tried using ID=0 and it still doesn't work. I can't for the life of me figure out why it wouldn't be working. Can you see anything in the attached Search Widger.xml <layers> <layer> <definitionexpression></definitionexpression> <enableexport>true</enableexport> <name>Sites</name> <url>https://XXXXXXX/ArcGIS/rest/services/Test/Test_Map/MapServer/2</url> <expressions> <expression alias="Name"> <values> <value userlist="1,2,3,4">upper(Name) = upper('[value]')</value> </values> </expression> <expression alias="Parcel ID Number" textsearchlabel="Search Parcel ID#:"> <values> <value prompt="Example: 2102924430038 or 2102%"> PID_NO like '[value]'</value> </values> </expression> <expression alias="Address" textsearchlabel="Building Number and Street Name:"> <values> <value prompt="Example: 801">BLDG_NUM = '[value]'</value> <value prompt="Example: 2ND AVE N">AND upper(STREETNAME) = upper('[value]')</value> </values> </expression> </expressions> <graphicalsearchlabel>Use one of the graphical search tools to select Site</graphicalsearchlabel> <spatialsearchlayer>true</spatialsearchlayer> <titlefield>Name</titlefield> <fields all="false"> <field name="Name" alias="Site Name" gridfield="true"/> <field name="BLDG_NUM" alias="Building Number" gridfield="true"/> <field name="STREETNAME" alias="Street" gridfield="true"/> <field name="City" alias="City" gridfield="true"/> <field name="PID_NO" alias="Parcel ID#" gridfield="true"/> </fields> <zoomscale usegeometry="true" zoompercent="1.6">10000</zoomscale> <autoopendatagrid>false</autoopendatagrid> <relates> <relate id="0" label="Documents" enableexport="true" icon="assets/images/i_folder.png"> <fields all="true"/> </relate> </relates> </layer>
... View more
09-28-2012
09:36 AM
|
0
|
0
|
549
|
POST
|
Robert, [ATTACH=CONFIG]18059[/ATTACH] I am having a similar problem. The relate shows up in the REST Service directory but nothing shows up when I click on the folder icon at the bottom of the search results. I have a Sites layer related to a Documents table. The table contains a list of documents associated with each of the sites. I wasn't sure which relate id to use, but I have tried all of them 0 thru 6. I have attached a few screen shots to try and explain. George, When you published your map service did you go to your REST Service directory and verify that the relate is listed at the bottom of that layer in the service directory?
... View more
09-27-2012
02:10 PM
|
0
|
0
|
549
|
POST
|
Any luck solving this? I am having the same problem. Everything works fine until I turn security on. Users and roles are stored in SQL.
... View more
08-17-2011
11:11 AM
|
0
|
0
|
792
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|