wm.tn.doc:viewAs with archive

Hi,
how to retrieve bizdoc from archive table?

im using wm.tn.doc:viewAs to get live “production” data, but using the same service to get archive data doesn’t work?

I don’t think there is a de-archive service yet. You have to write some DB code to move archived documents back before you can access the data.

Hi Bassem,

This wont work as the data has been moved to archive tables. You might want to keep the data in main tables only if you want to use this service. Else you can query the archive tables for bizdoc to get the data.

Thanks,
Saurabh