Can anyone explain to me in more simplified terms how I might go about doing this? I was able to create a custom hyperlink within the popup that has the parcel ID in it. Would it be easier to make a server process with arcpy to interpret my url parameters and output a PDF rather than trying to make a custom widget? How possible would that be?
Solved! Go to Solution.
Thanks, this is almost exactly what I've been looking for. I'm getting pretty close to making this work. I got the service published based on your instructions but it's coming up with an error message. I can see several server requests in the browser console before it finally returns this error...
Did you publish your service as an 'async' service? We recommend 'sync' for any print service. That'd help get rid of extra requests.
regarding the failure, it seems like it is failing on the server while executing the task. Pls check your arcpy code, try to debug it and you can also log error message in your arcpy code that will appears in Server Manager log or in the response (only you set your service log level to something more appropriate).
hope this help.
FYI: just uploaded another script in case you are interested of showing photos from attachments of a map/feature service sublayer.
For anyone that might come across this thread, here's how I figured out how to get pop-up contents to my custom printing output.
I probably don't need to go into detail about the rest of the process since there are plenty of tutorials on custom printing, including the ones listed above.