Skip to main content

Correct syntax to construct button collection for 'Set Form Element Items'?

Comments

6 comments

  • Permanently deleted user

    Hi David,

     

    I've attached an example using the Get Form Element Items From Collection activity with your sample syntax.

     

    0
  • Permanently deleted user

    Thanks Amanda. Much appreciated.

    0
  • Jessica Gould

    I'm struggling with this as well, would it be possible to post an example here, I'm not able to see the example that was attached previously.   thank you!

    1
  • David Flack

    Jessica Gould were you able to get this figured out?  It looks like you have to set the button's visible property to true. 

    0
  • Jessica Gould

    David Flack my issue ended up being a bug with Web.  I worked with Amanda Frech on it, unfortunately my brain can't remember all the details...

    0
  • Amanda Frech

    Sorry for the missing attachment, it looks like our json attachment support got dropped during the last community migration.  Here's an example for any future readers that you can get to using File > Open by URL in workflow designer: https://www.arcgis.com/home/item.html?id=0dc67a2c22e74a49a369176c16f21256

    The bug Jessica mentioned is 150128 "[Workflow] Form button text cannot be dynamically set using Get Form Element Items From Collection".  It's a Web-specific issue and was fixed in the recent 5.18 release of Web.

    0

Please sign in to leave a comment.