Set the image Url of an image form element
Why is it not possible to set the image url of an image form element using an expression? I was thinking this could be a way to show attachment images, but no
-
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 -
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 -
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
Du måste logga in om du vill lämna en kommentar.
Kommentarer
3 kommentarer