AnsweredAssumed Answered

Capture the JSON of a webmap using a GP widget, instead of a Print widget?

Question asked by rkelley@blm.gov_BLM_EGIS on Aug 29, 2017
Latest reply on Aug 31, 2017 by Caleb1987

I am having issues using the arcpy.mapping.ConvertWebMapToMapDocument function in a GP service. It works great when wired into the Print widget in Web App Builder, which uses the Print Task. However, the same GP service returns an empty JSON string from the webmap if run in the GP widget.

 

Is there a way to capture the JSON of a webmap (within AGOL's web app builder) just using a GP widget, instead of a Print widget? I am not seeing any verification that this function is limited to the Print widget or the Print Task in the API. It is 'suggested' that one uses the Print Task, but doesn't say one must.

 

Ideas?

Outcomes