Document content transfer

2
Hi Reader,   I have one document A.  And the hand I have a Base64 encoded document which is B. Now I want to replace the content of A by using base64 Encode B content. What I tried to achieve this, using the “Base-64 decode to file” activity to replace content, but it doesn't work. Can you suggest a better solution?
asked
2 answers
2

Hi,

You can try to create a file object using the Base64 encoded document and then use Duplicate file document JA to change A with B.
Hope this helps :D

 

answered
0

HI Sankaralingam T,

You can 2 javactions from Community commons for this use case.

 

  1. StringFromFile –   It reads the content from the file Document
  2. StringToFile-  Stores the string into the Destination Document

Hope this helps !!!

answered