I am getting a Base64 encoded string from one of the external system and the same needs to be converted into PDF. I tried passing that string into HTMLtoPDF activity but when i view the PDF, it's corrupted. I also tried to Decode the content first using Base64Decode function but it still shows me the error. Can someone tell me the way i can convert the Base64 string to PDF?
***Edited by Moderator: Lochan to update platform capability tags***
The article you have shared is related to sending PDF file in SOAP message. However my requirement is to convert Base64 to pdf files and then attach it with the case. I guess the above article won't help much on my case.
Thank you for posting your query in the PSC. This looks like an inactive post and hence, we suggest you create a new post for your query. Click on the Write Post button here. Once created, please reply back here with the URL of the new post.
You may also refer this discussion link as a reference in the new thread.
Hi, I am also trying to convert base64 encoded string to PDF. I have tried doing it by using the above java code but i am unable to open it. It is saying file is corrupted. Can you please let me know if you have done something else apart from the java code.