Display Image in Apps

Hi,

I’m trying to have Studio pass an ‘Object’ type variable to my Apps dashboard. I want Apps to load the image so the user can see the result. The user will input an invoice number, then the robot will go get the image from a network location, and pass it back to apps so the user can see it through the Apps url.

Is this possible? If so, what variable do I pass into the ‘url’ box. I have changed the variable type to ‘Object’ to correlate with the out_argument from studio. I’m doing a load image activity within studio to get the image into an object, and passing that to Apps.

Any help would be appreciated.

image

I solved the problem. I had to convert to Base64 first. I followed the process as outline in this tutorial –

One thing to note, the prefix string needs to have a comma at the end of the static text.

“data:image/png;base64,”+ out_base64_image

image

2 Likes

:clap: Nicely done! We’ll include this in the documentation so it’s easier for others to figure out in the future.

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