Download .xlsb file from salesforce API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
04-11-22 01:47 PM
I had a requirement of downloading the report (Excel File) from the API using postman.
While im using the Request Http call, im getting some errors. Is there any way to get the report from api in BluePrism.
Please help with this.
Thanks,
Uday Kiran
------------------------------
Uday Kiran
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
04-11-22 10:25 PM
I take it the .xlsb is attached to a record in SFDC? There are a few ways you could do this. You could use Application Modeller to create a VBO that logs into SFDC, via the browser, brings up the specific record, and then clicks on the .xlsb to download the file. Alternatively, there is the SFDC Lightning REST API which exposes the sObject Blob Retrieve endpoint. This can be used for getting the binary content of a blob field such as an Attachment, Document, Note, etc. You can find more detail about it the following link:
https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/resources_sobject_blob_retrieve.htm
Cheers,
------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
06-11-22 02:43 AM
What will be the VBO used in BluePrism to get the report from the Blob API ?
Can you share any link containing the integration with BluePrism and the Salesforce Blob API for retrieving the report? This help will be beneficial.
And if it is possible, can you please elaborate on it?
Thanks,
Uday Kiran
------------------------------
Uday Kiran
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
07-11-22 01:27 PM
Hi Eric,
I have a Salesforce "POST" API which when used in postman downloads a spreadsheet. I am using the send and download functionality of postman. Attached is the screenshot.
I researched that the same can be done in Blue Prism using the HTTP Request File VBO. but when I am passing the same parameters to the object as I have passed to the api call in postman, I get the "Illegal characters found in path" error. Attached is the screenshot.
I have tried customizing the path several times i.e. using forward slashes, back slashes and everything but still the error persists. Any help would be appreciated.
------------------------------
Harkirat Nagpal
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
07-11-22 02:26 PM
The File Path value needs to include the name and extension of the file too (ex. C:\Users\40103837\Downloads\SFDC\MyTestFile.xlsb).
Cheers,
------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-11-22 08:35 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-11-22 08:50 AM
------------------------------
Shashank Kumar
DX Integrations Partner Consultant
Blue Prism
Singapore
+6581326707
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-11-22 10:27 AM
It worked. Thank you so much for your input.
@ewilson Thank you for all the help.
------------------------------
Harkirat Nagpal
------------------------------
