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)
Why doesn't my pages get Re-Generated
mbjennings
O.K. I have edited all of my Presentation Templates, and now I want to regenerate all the files in my Workarea. So I am running the iwregen CLT and it worked when I changed all of the DCR's, but now that I have made a change in the PT's it will not regenerate the files again. But If I go into them individually and click file-->Regenerate page that works. Please help.
Find more posts tagged with
Comments
akshathp
Are you using a custom script for this? If yes, could you specify more details on your code?
Thanks!
Akshat Pramod Sharma
Interwoven Inc.
mbjennings
the code I am runn is the following:
find /pathtoworkarea/foldercontaining subfolders/ -type f -exec /local/iw-home/bin/iwregen {} \;
I run this on the full directory containing subdirectories. I should execute iwregen once for every page that is a templated page. Let me know if this is not right.
Adam Stoller
I believe it will *attempt* to run iwregen on every file that is found, but only those that have the prerequisite TeamSite extended attributes will be affected (and then, only if there were actual changes to the generated file).
Since iwregen accepts multiple files on the command line, it would probably be more efficient to use a command like:
find /default/.../directory -type f -print | xargs /local/iw-home/bin/iwregen
See Unix manpage on 'xargs' for more details on this utility
--fish
(Interwoven Senior Technical Consultant)
Adam Stoller
Also - make sure that you are using a *vpath* not a *file system path to your 'find' command.
I.e. find /default/... not find /iwmnt/default/...
And of course, make sure that whatever user you are running this command with has access to modify the files that are to be regenerated - both at the TeamSite level (they need to be TeamSite users) and at the file system level (write permissions)
--fish
(Interwoven Senior Technical Consultant)