cancel
Showing results for 
Search instead for 
Did you mean: 

uploading images to template

Donna_Popovich1
Champ on-the-rise
Champ on-the-rise

Is it possible to take an image location file path from xml and upload the image into a placeholder?

The image is a bmp of a signature that we don't want to store long term, just temporarily until the information is added to OnBase.

 

1 ACCEPTED ANSWER

Allan_Schon
Star Contributor
Star Contributor

HI Donna,

You can't use the file path, but if you're comfortable with some light scripting, you can embed the image directly in the XML.   Just convert the image into a base64 encoded string and place that in an XML node.  Then, in the XML Placeholder, select "Image" from the "Insert result as" dropdown.

Hope that helps,

Allan.

View answer in original post

1 REPLY 1

Allan_Schon
Star Contributor
Star Contributor

HI Donna,

You can't use the file path, but if you're comfortable with some light scripting, you can embed the image directly in the XML.   Just convert the image into a base64 encoded string and place that in an XML node.  Then, in the XML Placeholder, select "Image" from the "Insert result as" dropdown.

Hope that helps,

Allan.