Skip to main content

"Add Graphics Layer Features" activity doesn't work?

Comments

7 comments

  • Stefan Schweigert

    Hello Zhijie,

     

    I can confirm that this activity does work. Take a look at the New -> Samples - Add Graphics to Map and Samples - Add Graphics to Map 2 for two examples on how to use this activity.

     

    If you are still having issues sorting out your workflow, feel free to upload your workflow here, or email it to me at sschweigert@latitudegeo.com

     

    Thanks, Stefan

    0
  • Permanently deleted user

    Thank you Stefan, I realized the problem was there were no symbols on my features. the activity works once the symbols are set. Thanks for you help!

    0
  • Permanently deleted user

    for some reason it takes quite some time to render (or assign symbols)? in workflow 5 can I popup a progress bar (like a busy message box) on screen and turn it off later? I want to give user some hints that workflow is running.

    0
  • Stefan Schweigert

    Hi Zhijie,

     

    This functionality is not currently present. You can create a feature request in the Ideas section to support this. In the meantime, I would suggest mentioning that the process may take a certain period of time before the graphics are rendered.

     

    On a side note, if you add a Refresh Layer for one of your existing service layers, this may speed up the process.

     

    Thanks, Stefan

    0
  • Permanently deleted user

    Is there a reason you guys made this so complicated? When you add Graphics using that activity, why not just include a "Symbol Json" property so you don't have to do all this extra work of looping etc. Workflows are supposed to be for making things easier. It would also make sense to add a "zoom to added features" property.

    0
  • Permanently deleted user

    @James Wright? I'm not sure about the "why" part, but I think that's excellent feedback. Would you be willing to post it to the Ideas section for consideration?

     

    @Zhijie Shen? There's no prebuilt activity yet that's specifically for a loading message, but I can think of a couple ways to do one if it's a workflow process (assigning symbols) that's taking time rather than a viewer process (rendering graphics).

    • If your long process is inside a DisplayForm event, you can have a form element (I'd suggest the "Text" one) that has a loading message. Make it hidden by default, then in the event that does the long process use Show Form Element to display the message when the event starts, and Hide Form Element at the end of the subworkflow to hide it again when the process completes.
    • If you're using GVH, you could use a viewer command to show a Notification before the long process, and another one to remove it when the process completes. I set up an example here https://latitudegeo.maps.arcgis.com/home/item.html?id=df55cd581266494abbf74deb67b1a5eb
    0
  • Ethan Granger

    I'm unable to get the Add Graphics Layer Feature to work. My flow looks like this:

    Query Layer > Get Centroid > Create Point > Get Symbol from JSON > Create Feature > Add Graphics Layer Features. I've tried without the Get Centroid and the Create Point, but that doesn't work either. I've uploaded my workflow and I'm stuck in the change event on the first textbox.

    0

Please sign in to leave a comment.