URL Parameter search with Web Adapter
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 the above solution no longer works in the Silverlight viewer. I'm needing a solution that works with the HTML5 viewer too.
How can I create a url that finds and zooms to a record with the HTML5 viewer?
Thanks in advance for you help.
-
I don't think there's an attributeSearch URL parameter for the GVH, but there is a runWorkflow parameter. I use it to run startup workflows, some of which run attribute searches.
myViewerURL&runWorkflow=MyWorkflowID&arg1=value
0 -
John,
I haven't used workflows much. I see there is one that can be downloaded that does an attribute search. I tried it, but it is not working. I'm feeding it arguements, but it there is not much evidence that it is even running the workflow, outside of the extent shifting a bit. Are you familiar with that example? This is the URL that I'm using:
https://maps.srcity.org/Html5Viewer/Index.html?viewer=parcel&runWorkflow=SearchParcelsASMT&ParcelLayerName=Parcels&ParcelIDField=ASMT&ParcelID=016850034
where ParcelLayerName, ParcelIDField and ParcelID were all arguements in the workflow. I didn't see much in the way of instructions - would I need to change any of the variables?0
Please sign in to leave a comment.
Comments
2 comments