Aller au contenu principal

Geoprocessing messages display

Commentaires

8 commentaires

  • Stefan Schweigert

    Hello Muhammad,

     

    The Run Geoprocessing activity has a messages output which is of type esri.GPMessage[] (https://developers.arcgis.com/javascript/3/jsapi/gpmessage-amd.html). You could use a For Each activity to loop through the collection of messages and display them to the user. To the best of my knowledge, you can only present the messages after the Run Geoprocessing activity has completed.

     

    Thanks, Stefan

     

    0
  • Permanently deleted user

    Hi Stefan,

    Thanks for your answer. That's also what I have figured that messages can be displayed only after geoprocessing tool has finished its work. However, in web app builder Geo-processing Widget displays messages as they are happening.

    If you use a asynchronous geoprocessing activity, and as it is running in browser, if you check the network activity panel in developer tools for browser, it shows that it is fetching info from server every second or so.

    This inability of showing GP messages for time consuming geoprocessing activity is not good. Can this be added as a feature request ?

     

    Regards,

     

    Muhammad Almas

    0
  • Stefan Schweigert

    Could you please add this feature to the Ideas section?

     

    Unfortunately, this is a somewhat larger change to be able to expose the messages as they are returned from the server.

    0
  • Permanently deleted user

    added.

    0
  • Permanently deleted user

    Hi Stefan,

    Has there been any work on this request ?

    0
  • Stefan Schweigert

    Hi Muhammad,

     

    Sorry, no updates yet on this feature request.

     

    Stefan

    0
  • Permanently deleted user

    Hi Stefan,

    Thanks for update. I was hoping for some solution by now. Anyways, Is there any equivalent of 'Parallel Activity' in Wrokflow 5 ? because that might solve my issue for the time being.

    Also there are not 'Events' exposed by the 'Asynchronous Geoprocessing' activity. Will there be any change in that design ?

     

    Thanks,

     

    Muhammad Almas

    0
  • Stefan Schweigert

    There is no equivalent to Parallel in Workflow 5, please add an Idea if you are interested in this functionality.

     

    Currently, events are only exposed by form elements in a Display Form. I'm not aware of any plans to expose activities.

    0

Vous devez vous connecter pour laisser un commentaire.