cancel
Showing results for 
Search instead for 
Did you mean: 

Saving PDF file from database

TakKwok
Level 4
Hi:

Instead of going to the internal website to download the PDF needed, I wanted to extracted the actual file from the database directly. The actual PDF file, when running the SQL in Blue Prism to pull it store the result (data item) with the data type of Binary. Does anyone know how I can now take that (the PDF file) and save it to my local machine?

Appreciate any guidance.

Thanks,

Tak

------------------------------
Tak Kwok
Sr. Data Associate
SP Global
America/New_York
------------------------------
2 REPLIES 2

ewilson
Staff
Staff
@Tak Kwok,

Take a look at the Utility - File Management VBO​. It has an actions called Write Binary Data andWrite Text File. You can use these to write data out to a file. In the case of a PDF you'll probably want to use Write Binary Data assuming you have the contents of the file in a Binary data item.

Cheers,

------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------

Thanks Eric. It worked perfectly. Much appreciate it.

Tak

------------------------------
Tak Kwok
Sr. Data Associate
SP Global
America/New_York
------------------------------