Expand my Community achievements bar.

convert binary to document

Avatar

Former Community Member
hi,



how to convert blob object stored in binary variable to document variable?



Thanks,

kripa
3 Replies

Avatar

Level 10
The document variable is really just a container that can contain anything.



You should just be able to assign the brinay variable to the document variable using a setValue. Something like:



/process_data/@myDocument = /process_data/@myBinVar



Jasmin

Avatar

Former Community Member
hi Jasmin,

I am new to EForms. I have retrived a pdf which is stored as blob in database using Query single row service and stored this in binary variable(Given the mapping in "Data Mapping" property of the service as -

COLUMN NAME = /process_data/@binaryVar)

Can I convert this to pdf in my process?

It would be of great help if you suggest some way to convert this blob object into document variable.I am using weblogic server and oracle database.

Note: Mapping of blob object with document variable doesnt work.



kripa