Modifying Search by Parcel ID
Hello everyone,
I am having some problems when trying to modify the Search for Parcel ID workflow that came with the Charlotte site. I want the same functionality but just modified to my data.
In the 'Search Parcel by ID Form', to get the AutoCompleteBox1 working correctly, I changed the Query Service URL to the correct mapservice name and layer in my map. I also changed the field name that it is searching for (both fields are in string format so there is no conflict there). When I run the workflow in the Simulator, it successfully allows me to type in an ID and auto-lists the corresponding valid records. So at least I know the service and layer are correctly identified. I even placed an Alert box after the Decision to let me see the value.
I then modified the 'Query Parcel Layer' task so that the service and parcel layer are correctly identified and changed the query string to reflect the correct field. When I ran this in the Simulator, I get the message 'Aborted exception: 'Invalid or missing output parameters.'. How can this be? I ran the original workflow directly from the Charlotte site in the Simulator and it ran just fine. All I did was modify the Query Service URL and Where statement and it failed.
I also was able to go directly to the Service URL ("http://w8-arcgis-e1/ArcGIS/rest/services/ErieCountyNY/MapServer/2") in my browser and perform a succesfull query with the Query(Get) option so I know the layer is query-able. I also made sure that no fields were hidden since I had read that having the SHAPE or OBJECTID fields hidden can cause problems.
Is this a firewall issue? I am currently making this site on a development server which is not exposed through the firewall yet. The original workflow references an outside server and I also tested this against a mapservice that is exposed on my production server with no problems. Am I not allowed to have queries run on an internal server only? What is the procedure to expose whatever needs to be exposed?
Thanks for the help.
Mike Gangemi
Erie County NY, Office of GIS
ArcGIS Server v10.1, Geocortex Essentials v3.10, Silverlight Viewer v1.6
-
Hi Michael
without seeing you workflow and so making a bit of a guess what fields are specified to come back from your query against the layer in the workflow?
Can you post your workflow?
Regards
Ralph
0 -
Hi Michael
it looks like you have an excessive number of double quotes in the 'Out Fields' in the 'Query Parcel Layer' Activity. ie ""*"" Try just using "*" if you want all fields. DOn't forget the less fields that you return the better.
Thanks
Ralph
0 -
Thanks! I hadn't changed anything from the earlier provided version and the same script worked on a different server running an earlier version of AGS and GC. I guess the change in software versions changed the query statement syntax.
Mike
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
3 Kommentare