Url Parameter search
I'm using a url parameter to create a link that finds and zooms to a property in our database in our Silverlight app. Url extension looks like this:
&attributeSearch=ownerships,propertyid,AZPE69434
I've recently set up a new server with SSL using the web adapter (services won't work with SSL without it) and I need a solution that works with the HTML5 viewer.
How can I create a url that finds and zooms to a record with the HTML5 viewer?
Thanks in advance for you help.
-
Similar functionality can be achieved in the HTML5 Viewer by having the viewer call a workflow from the URL which is passed the search parameter through the URL. Here is a forum thread discussing example of how to set this up:
(https://support.geocortex.com/SupportForums/Thread.aspx?pageid=0&mid=2&ItemID=9&thread=55654&pagenumber=1) H (https://support.geocortex.com/essentialsGSCForum?sub-nav=forum&main-nav=essentials&feedtype=SINGLE_QUESTION_SEARCH_RESULT&id=9066000000008tXAAQ) TML5 Startup Actions
0 -
Thanks, I'll take a look at that post and the developer's guide. I've been working with a workflow from the code gallery that seems to be achieving what need. The only issue I've run into is that if the service returns a layer id as dynamic, the workflow breaks. The code sample claims to handle this, but it doesn't work. I'm not sure how to fix that, but all of my sites are working at the moment.
Another achilles heel with this solution is that it is dependent on the id of the map service, which changes if you remove and add the service back. This may also be a problem if you are pushing changes from a development server and the service ids are not identical. I'm not sure how to base the workflow on the service name rather than the id. Any ideas?
0 -
I would also like to do this. Will this ability to use a search parameter be available at HTML5 2.6? If not, I guess I will also try the workflow route... 0 -
As an addition, do all URL parameters not work with HTML5 when using a web adapter? 0 -
Link is broken-- would really like to read the solution to the HTML5 parameter workflow. 0 -
Sorry about that Ann! Here is the link to the HTML5 Startup Actions thread:
https://support.geocortex.com/essentialsGSCForum?sub-nav=forum&main-nav=essentials&feedtype=SINGLE_QUESTION_SEARCH_RESULT&id=9066000000008tXAAQ0
Please sign in to leave a comment.
Comments
6 comments