Hello Saurabh,
We are using our own public print service (our own toolbox if you will), and calling it using https.
https: //countyserver/arcgis/rest/services/public/CountyPrintService/GPServer/Export%20Web%20Map/submitJob
The webmap as json in the print request is pasted below. You can see we are using some internal services which are protected and require a proxy. I don't see any significant configuration in the print service
Regards,
Sebastian
Web_Map_as_JSON:{"exportOptions":null,"operationalLayers":[{"title":"web cache base","id":"web cache base","url":"https: //countyserver/arcgis/rest/services/public/web_cache_base/MapServer"},{"title":"Election Landbase","id":"Election Landbase","visibleLayers":[],"url":"https: //countyserver/arcgis/rest/services/internal/Election_Land/MapServer"},{"title":"Election Supervisor","id":"Election Supervisor","visibleLayers":[],"url":"https: //countyserver/arcgis/rest/services/internal/Election/MapServer"},{"title":"Election Districts","id":"Election Districts","visibleLayers":[0],"url":"https: //countyserver/arcgis/rest/services/internal/Election_District/MapServer","opacity":0.6484375},{"title":"Election Precincts","id":"Election Precincts","visibleLayers":[],"url":"https: //countyserver/arcgis/rest/services/internal/Election_/MapServer"}],"layoutOptions":{"legendOptions":{"operationalLayers":[{"id":"Election Landbase"},{"id":"Election Supervisor"},{"id":"Election Districts"},{"id":"Election Precincts"}]}},"mapOptions":{"extent":{"xmax":-13461169.035743073,"ymax":4763240.1379219275,"xmin":-13492278.906255096,"spatialReference":{"wkid":102100},"ymin":4746538.647241639}}}
Hi Sebastian,
Thanks for your quick response!!
I am totally stucked with this issue
service.
As per the ESRI notes i did created new printing gp service based on the user created connection but no success
ArcGIS Help (10.2, 10.2.1, and 10.2.2)
If possible can you cross check for your proxy and export web map toolbox in arccatalog? are you utilizing the inbuilt printing service or created your own toolbox and publishing from there?
Anyhelp would be appreciated.
Regards
Saurabh
My appologies, it's been too long, and I don't rememer the solution. We aren't using the Flex application builder to build new applications (using javascript api and now the web app builder).
I did take a look at the JSON for the now working print tool, and I see that it still doesn't prepend the proxy url even though it is refereencing a protected layer in the map output, so the solution didn't involve cajoling the print widget into using the proxy. I'm sorry I'm not more help! I usually try to post answers to my own questions if I resolve them myself, but I overlooked this one.
Facing same issue, did you find the resolution of same prepending the proxy url. I am using ESRI Flex 3.6
Thanks
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.