I’m trying to add Images to my Labels in the form, which I can achieve successfully, but only using the address of the image in the net, if I save the image to a local folder it doesn’t load.
thanks for the advice. Worked great for me too. I had the same issue! I just want to mention, that this should be included in the official UiPath Forms documentation (https://docs.uipath.com/activities/docs/form-activity)
Here it’s written that the html code should look like that for inserting local images: <img src={{data.sampleimage1}} height=100 width=100 >
where SampleImage1 is a variable for the base64string of the image, that is passed into the HTML element in the form, but i’m not getting anything displayed correctly.
Note: SampleImage1 is an IN argument into the Create Form activity
Any idea if that’s just a limitation at the moment…?
Tried it, but it’s still not displaying the image.
I have attached a copy of the test workflow i’m using - if you can let me know if you can spot any issues that i may have missed that would be much appreciated!
Hi @Tamilselvan, i tried to get this to work, but it is different in the newest version?
I am trying to use the create form task, i have the image hosted on the local group.
I tried to put the iis url as src, it works when i put it static, but i cant get it working with dynamic values. Either as B64 or url.
Seems like all arguments are bugged in the forms.
It seems like the info is passed on, but i can’t reference to them and use them in a form.
I tried to copy your cat form and do form task, but image is not showing up. I remade it exactly as the form. It showed up in the local form,but not in task.
Have you checked the Refresh on change checkbox in HTML component?
Also, could you share a screenshot of how you are configuring the HTML component which adds this image?
Hi Markus,
I tried your workflow, you can try configuring the HTML component like below (attributes on p tag should be removed and added to the img tag in 'content' section). I have tested this on cloud.uipath.com to be working just now. Just FYI, we have one issue where the images are not loaded when the form in unassigned. It is fixed now and should be available in the next cloud deployment.