Insert picture in form using user task Input Variable

Hi Everyone, my user task has input variable ImageURL that I want to pass as image source in the image view of the linked form. How to achieve the same?

Seems like you’re on the right track - whats the value of the variable pictureURL?

the value of pictureURL can be any image url like - https://placebear.com/200/300 and it is populated as the output variable of previous service task / rest connector output variable

Hi @Avipsa_roy_chowdhury,

If the image url is returned as a string and used as an input variable, you can use it as a dynamic value for the Image view component in forms.

The preview of the image doesn’t appear in the Form Definition canvas (because it’s a dynamically populated value), but you can see it in the Form Preview canvas.
I gave it a try with the image that you shared. Here’s how it looks:

Let us know how it goes and if you have any issues moving forward.

2 Likes

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.