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)
Regenerate starts Presentation template twice
hgbr
within TS 5.5.2. This happens when the Script runs longer than a minute. I never saw this behavior in earlier versions. Any ideas to prevent this?
Find more posts tagged with
Comments
HCR
Well, never heard of that one yet but it wouldn't surprise me. I had a script that used to regen all the files in a said directory and that's exactly what it did in the old version. Now in the new version it only regenerates changed files...I would guess the regen.exe has changed somewhat like the previously "undocumented feature" of iwrename that wreaked havoc on our previous workflow scripts. THANKS INTERWOVEN!
Migrateduser
Go to
http://YOUR_TS_SERVER/iw/help/tst/pt
and click on iwpt_comile.ipl. The GUI uses
the '-smartwrite' flag; therefore, the TST compiler does the following when asked
to 'generate':
1. Compile the page, storing the result as a string internally.
2. Transcode this string into the desired I18N encoding.
3. if ( the file about to be written does not currently exist )
{
write the new file to disk
}
else if ( the transcoded string and pre-existing file differ)
{
modify the pre-existing file
}
else
{
# don't touch the pre-existing file
(thereby preserving the time stamp)
}
Since the .tpl might be drawing data from some dynamic source such as a database,
or generated content programatically, the logic is not (and can not be):
if ( tpl and dcr are unchanged and the # WRONG
file you want to write already exists) # WRONG
{ # WRONG
# don't touch the pre-existing file # WRONG
} # WRONG
else { compile the tpl and write to disk } # WRONG
Hope this clarifies the issue.