Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Extracting versions of a file from the WORKAREA
iw_bubbles
We are trying to come up with a solution to extract all versions of a file from the workarea. So if we have a file called "index.html" for example and it has 10 versions, we need to extract the 10 copies of index.html and save them outside of TeamSite.
Has anyone done anything similar to this? Any ideas, suggestions would be appreciated.
Thanks,
Paul
Find more posts tagged with
Comments
nipper
read about the CLT's iwrlog and iwattrib
I have done this before using iwattrib to get the object ID of the previous version and then getting the data. Then use that OID to ge the prevversion OID, and so on.
iwrlog may provide an easier way as well.
Andy
iw_bubbles
Thanks for the feedback, I will give iwattrib a try and see what I can come up with.
iw_bubbles
Nipper, once I get the objid, how can I get the data?
nipper
$ iwcat
Usage: iwcat filevpath
Usage: iwcat -o fileobjid directoryvpath
to print contents of the specified file.
iw_bubbles
Excellent, looks like that should help me do what I need. Thanks Nipper!
sample.rptdesign