Question
Accenture
IN
Last activity: 3 Sep 2019 2:42 EDT
SendFile API is not Working for Excel and PDF Formats
Hi,
We have a requirement, we get base 64 code of a Document from a service. based on the Filename we can identify the format of the File(Doc,xls,pdf).But when we use the Send file APi in a activity it works for Doc file but not for Excel and Pdf documents
Below is the code we used.
And also I tired by passing the Response page as a step page
String sErrorMessage = tools.sendFile(myStepPage, "FileSource", true, null, strFileName, false, null, true);
Appreciate you help.
***Edited by Moderator: Lochan to update platform capability tags***