Skip to main content

How to set image Url dynamically (based on expression)

Comments

4 comments

  • Permanently deleted user

    Capture1Attached is my workflow - I can set image title and description dynamically, but not the image url, so I'm assuming that the property name is maybe not Image Url?Capture2Capture3

     

     

     

     

    0
  • Permanently deleted user

    Hello Helen,

     

    Try changing the Property Name in your Set Form Element Property activity from

    Image Url to value

     

    The Set Form Element Property activity uses the property names from the form element object itself, and the ones displayed in the designer sometimes have different names. In the next update, the designer will have a suggestions list for the Property Name to help find usable properties.

     

    If you were curious, you can put a log inside that click event to check what the properties look like. Have it log =$displayform1.state.image1

    Run the workflow, press F12, switch to the console tab, and click the button on the form. The image form element object will be logged in the console and you can check the properties there.

    0
  • Permanently deleted user

    Thank you. That worked.

    0
  • Emily Renkema

    This post saved me thank you!!!

    0

Please sign in to leave a comment.