AnsweredAssumed Answered

Show GP result in a map

Question asked by hppeng on Mar 1, 2018
Latest reply on Mar 1, 2018 by hppeng

I am creating a widget by using GP service. My code works fine in Sandbox. When I move into the widget, the first part of running Geoprocessor is fine and I can see the feature result in Console Window, but my last part - the graphic result cannot show in the map. The error message says “ is undefined”.

I attach my widget code and sandbox code. My widget code is to open the widget then the GP starts. I wonder how to make the GP result shows in the map.