Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
17-05-20 08:32 PM
Hey,
I'm using write binary to get file into blue prism, how can I write out the binary data to text data item?
I'm shooting a http message and I need to have the binary file as my body so it's
[
{
File Contents "[BinaryData here]"
}
]
I need it as text, any ideas? Even getting it to clipboard could help me but I haven't been able to solve that either
I'm using write binary to get file into blue prism, how can I write out the binary data to text data item?
I'm shooting a http message and I need to have the binary file as my body so it's
[
{
File Contents "[BinaryData here]"
}
]
I need it as text, any ideas? Even getting it to clipboard could help me but I haven't been able to solve that either
------------------------------
Atli Harðarson
------------------------------
Answered! Go to Answer.
1 BEST ANSWER
Helpful Answers
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
18-05-20 10:40 AM
Would the LoadTextFile(filepath) function work inside a calculation stage for your use case?
If your file is stored as a Binary Data Type and you need to BASE64 encode it to submet to an API, you can create a code stage within an object to do this for you:
(Taken from the Baidu OCR skill on the Digital Exchange)

------------------------------
James Man
Professional Services
Blue Prism
Asia/Hong_Kong
------------------------------
If your file is stored as a Binary Data Type and you need to BASE64 encode it to submet to an API, you can create a code stage within an object to do this for you:
(Taken from the Baidu OCR skill on the Digital Exchange)
------------------------------
James Man
Professional Services
Blue Prism
Asia/Hong_Kong
------------------------------
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
18-05-20 10:40 AM
Would the LoadTextFile(filepath) function work inside a calculation stage for your use case?
If your file is stored as a Binary Data Type and you need to BASE64 encode it to submet to an API, you can create a code stage within an object to do this for you:
(Taken from the Baidu OCR skill on the Digital Exchange)

------------------------------
James Man
Professional Services
Blue Prism
Asia/Hong_Kong
------------------------------
If your file is stored as a Binary Data Type and you need to BASE64 encode it to submet to an API, you can create a code stage within an object to do this for you:
(Taken from the Baidu OCR skill on the Digital Exchange)
------------------------------
James Man
Professional Services
Blue Prism
Asia/Hong_Kong
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-11-20 03:37 PM
Nailed it with that code stage. Thanks a lot James and sorry for the late reply on this!
------------------------------
Atli Harðarson
------------------------------
------------------------------
Atli Harðarson
------------------------------
