TCC (Taleo Connect Client) is Taleo's (Enterprise Edition) official data export/import tool, but it does not allow manipulations on files uploaded/attached into the Taleo system. To work with files attached, you need the TCC Custom Steps library. But again, it appears though stores files uploaded into some modules differently on their system.
For documents in the Recruiting module, Taleo first compresses, and then encodes the file in Base64. This is because internally it uses webservices for TCC, and Base64 seems like the only way to send binary attachments over SOAP XMLs. So while using TCC Custom Steps to export the attached files, you have to first decode the Base64 content, and then unzip it. Fortunately, the library's com.taleo.integration.client.customstep.xml.ExtractAttachedFilePostStep class does this automatically.
But when I used the same step to export documents from the Transitions module, the final files appeared corrupted, they would not open up in file viewers for PDF or Doc format. Turns out, the files exported are still in zip format. They need to be unzipped once more to get the final file.
So for Transition module, Taleo Zips it twice, then Base64 encodes it once. For exporting the files using TCC, the need to be unzipped twice. The above mentioned class does not do this automatically.
Answer: Different Class
The Custom Library documentation mentions another class in the same library ,com.taleo.integration.client.customstep.xml.ExtractFilesPostStep , which has more options.
According to the documentation, for documents, this step needs to have an operation value of "DecodeBase64,Gunzip". It does not mention whether operations can be chained.
They can. For transition documents, the operation has to be "DecodeBase64,Gunzip,Gunzip"
Here is the final configuration:
The final files generated by this sequence perfectly opened up in a PDF reader, so all transition forms are stored in PDF format in Taleo.
Hi,
ReplyDeleteI tried this "ExtractFilesPostStep" class but it is giving An internal error has occured while running the export script. What will be the solution for this?
Kindly let me know.
Hi Usha,
Deleteis this resolved for you? i am also facing the same issue. Could you please help me out if it worked for you
Hi Usha,
DeleteIs this worked for you?If yes can you pls let me know the steps.
Thanks for your help with this. It was driving me crazy trying to work out what format the "first" unzipped file was in! Why they would zip it twice when writing to the database is beyond me, but at least we can now retrieve our documents :)
ReplyDeleteBrilliant blog I visit this blog it's incredibly awesome. Curiously, in this blog content formed doubtlessly and sensible. The substance of information is helpful.
ReplyDeleteWorkday HCM Online Training
Oracle Fusion HCM Online Training
Oracle Fusion SCM Online Training
Oracle Fusion Financials Online Training
Big Data and Hadoop Training In Hyderabad
Brilliant blog I visit this blog it's incredibly awesome. Curiously, in this blog content formed doubtlessly and sensible. The substance of information is helpful.
ReplyDeleteWorkday HCM Online Training
Oracle Fusion HCM Online Training
Oracle Fusion SCM Online Training
Oracle Fusion Financials Online Training
Big Data and Hadoop Training In Hyderabad
Hi, I am unable to view the images for this. Could someone please help?
ReplyDeleteNice blog..clearly explained…Thankyou so much for your wonderful information…Looking for the best programming platforms in Hyderabad contact cyanous software solutions now.
ReplyDeleteBest programming platform services in Hyderabad
Best software & web development company in Hyderabad
Thank you so much for the information, I was scratching my head.
ReplyDeleteThank you so much for the above info..Can anyone pls let me know what name and values pairs should be used if we are using this JAR file com.taleo.integration.client.customstep.xml.ExtractFilesPostStep to export transition document in PDF form
ReplyDelete