Data link search in HTML5
Hi
Having trouble getting a data link search (ie. searching for an item in a data-linked table and having the relevant spatial features shown) through the global search to work in the HTML5 viewer.
It works fine in the Silverlight viewer.
Is this not yet a HTML5 viewer capability ?
Any help with this would be much appreciated
Greg
-
Hi Greg,
Searching for items in data-linked tables is currently in progress for the HTML5 viewer and will be available in the next major release (2.6) ... you should be able to see this in beta form sometime in January.
-Cam0 -
Are there any updates to this now that 2.6 has been released? I'd like to be able to do an Instant Search on my data linked tables. Thanks! 0 -
Hi Lisa,
Currently it is not possible to perform an instant search on a data-linked table. I have created an improvement request in our internal issue tracking system with you as a stakeholder - CORE-2022.
I believe the functionality Cam was talking about was the ability to use Search Tables in GVH 2.6.
Additionally we enhanced ArcGIS Table support in this release to allow an Administrator to add a Table as a layer. Once an ArcGIS Table is added as a layer to your Site, you have the ability to index that ArcGIS Table using Instant Search. This may be a temporary work-around for your issue if you are able to host the Data-linked data as an ArcGIS Table.
Let me know if you have any other questions,
Cory Purnell
Latitude Geographics Quality Assurance Team0 -
In reaction to Cam: "Searching for items in data-linked tables is currently in progress for the HTML5 viewer and will be available in the next major release (2.6)"
I have version 2.6.1 here. I am able to do a search on a Search Table via Global Search, it returns the record of the search table. However, it does not return the Linked feature that is configured via the Data Link Search on the corresponding Layer.
Could not find documentation of this, but is it right, that at the moment it does not return the linked feature, but only the searchtable record?0 -
To add to my text above: It may be a mistake by my configuration, so if it should work, i have to carefully inspect my configuration.
Workaround: because now it is not working in my case, I used a workaround to make a link to the corresponding feature. I add a hyperlink to the featuredescription of the searchtable. The hyperlink is a globalsearch to the unique value of the corresponding feature. **Since it is not possible to edit a hyperlink/html into the featuredescription of the searchtable, you have to do this in the Site.xml itself.
Howto:
1) Open the Site.xml** in a texteditor (notepad++ ) and go to the line where you configured the searchtable. <SearchTables>
<SearchTable>
2) Go to the Featuredescription:""
3) Edit the value to make a hyperlink:
<a href="command:GlobalSearch?{FeatureFieldName}">{FeatureFieldName}</a>
Where {FeatureFieldName} is the fieldname in the SearchTable that corresponds to a value in a Layer Fieldname that is Searchable in Globalsearch.
Note: after this edit, you cannot Change this specific SearchTable in the EssentialsManager website anymore due to the unsafe html inside the Form.0 -
I'm having the same issue that Gerben mentions above. Cory, you mention "This may be a temporary work-around for your issue if you are able to host the Data-linked data as an ArcGIS Table." Could you elaborate on this process? Would this be able to actually allow the user to zoom to the geometry that the table information is connected to?
I have a data link search enabled using a workflow, but that was on the server side of things. Does the instant search have a similar capability? Or do what Gerben suggests and edit the code directly? I would like to avoid having the search table being uneditable and "unsafe," but if that is a possiblility I can at least attempt it.
- Greg0 -
Hi Greg,
To clarify, my suggestion was to take the data you are using for your data-link and host it on your ArcGIS Server as a Table class. There are a couple ways to go about this. The way I managed it was to export all of my data from the database hosting my data-links into an .xlsx file, and then import that into my SDE database as a table through arcmap. I believe you could also create a new table and copy the data over through your database management software (though results may vary with that and I personally have not tried it yet).
There is some short info on setting up and getting started with tables in ArcMap here : http://desktop.arcgis.com/en/arcmap/10.3/manage-data/databases/create-a-database-table-in-arcgis-desktop.htm
Once you have an ArcGIS table feature class with all your data in it, you will be able to link that data to spatial features via an ArcGIS Relationship class. You can learn a bit more about Relationship classes here, but they act in a similar construct to any db relationship: http://desktop.arcgis.com/en/arcmap/10.3/manage-data/relationships/creating-a-simple-relationship-class.htm
The issue with that method, however, is that the related table class that holds your data will be listed as a seperate entity. This means that when you search for a row in the table using the Geocortex HTML5 Viewer, it will only bring up the data for that row in the table. It will also contain a reference to the related spatial feature which you can navigate to by simply clicking on the related feature via the table's Feature Details view. That may sound super complex, but it is basically just an extra click to get between the tabular data and the related spatial data in the viewer.
An example of this with my Spatial Feature -> Table relationship: I perform a search for "Exort" which is the name of a row in my ArcGIS Table class. In The Geocortex Viewer I receive a result for "Exort" in my search results list.
_img_ alt="User-added image" src="https://latitudegeo--c.na53.content.force.com/servlet/rtaImage?eid=90760000000PDHS&feoid=Body&refid=0EM60000000HSxO" _/_img_
When I click that result, the viewer displays the feature details for the "Exort" row in my table and a reference to the related Spatial Feature named "Invoker".
_img_ alt="User-added image" src="https://latitudegeo--c.na53.content.force.com/servlet/rtaImage?eid=90760000000PDHS&feoid=Body&refid=0EM60000000HSxT" _/_img_
I can then click on the "Invoker" related spatial feature to see it's Feature Details and to automatically zoom to that spatial feature on my map.
_img_ alt="User-added image" src="https://latitudegeo--c.na53.content.force.com/servlet/rtaImage?eid=90760000000PDHS&feoid=Body&refid=0EM60000000HSxY" _/_img_
The whole purpose of me bringing that up before, was just for the ability to have linked data that can be search via global and instant search. If you don't need the data to be linked directly you can use a search table (however, I don't believe that search table data can be supported through instant search). If you just need data that is linked to an existing spatial feature, then data-links are the best option.
Hopefully this little crash course in ArcGIS tables was helpful and not too confusing, and hopefully it can help solve your Use-Case. If not, let me know and we can look a bit deeper into the problem.
Cory Purnell
Latitude Geographics Quality Assurance Team0 -
Hey Greg,
I did a little more research into this after answering your question and realized there is also a "Data Link Search" which is basically the combination of the Data Link and a Search Table. This allows for global search to be used on a search table, and the results of that search to link back to a Layer in your site. The instructions to set that up are on page 258 of the Geocortex Essentials Administration guide.
That route will be a lot less complicated to set up than the Table soluton I provided above, but I don't believe that the Search Table can be used with Instant Search. So if you need Instant Search then the ArcGIS Table is the way to go.
0 -
Thanks, with GVH2.7 the issue is fixed: when you create a Data Link + Search Table, globalsearch now returns the resultlist of matching Search Table items, and a single click in the resultslist now links to the corresponding feature (exactly how it worked in GVS). 0
Please sign in to leave a comment.
Comments
9 comments