Skip to main content

Set the image Url of an image form element

Comments

3 comments

  • Ryan Cooney

    It is possible, but you need to set it in the load event of the form element. You'll need to use the Set Form Element Property activity to set the value property to the desired URL.

     

    --Ryan

    0
  • Jostein Svegården

    It worked. Thanks!

     

    As i said, I want to use this to show attachments in a display form. The number of attached pictures can vary from object to object. Is there a way to dynamically add new form elements to a form?

    0
  • Ryan Cooney

    Glad to hear it.

     

    There isn't currently a way to dynamically inject new form elements. They have to be defined at authoring time.

     

    If you wanted a low-tech approach you could include several hidden image elements in the form and only show them when they have a value. This isn't very elegant and has its limitations, but it would work.

     

    --Ryan

    0

Please sign in to leave a comment.