Question
Issue with decoding
Hi,
I need to generate the Physical MS Word documents for the list of claims and needs to download those documents in my local machine or send it to Service export directory. There are around 3 lacks claims are available in DB. The word documents are encrypted in pr_data table.
Property Name - pyBodyZippedEncoded. // Encrypted String
File name - pyWordFileName
I have tried to use the function "Base64Decode" to decode the above property. But string is not converting to a word document. Can you please suggest how I can decode those encrypted documents into my local machine/service directory.
Thanks.
***Updated by moderator: Lochan to update Categories***
Hi,
If your byte is encoded with base64 then use Base64Util.decodeToByteArray to get byteArray representation of that.
After that in an activity call connect file to use write from eForm Method to achieve your objective.
Thanks,
Ujjwal