We are using Teamsite 6.7 SP2,We are trying to set an extended attribute during generation on the output file using - my $setAnalyticFileCommand11 = "e:/teamsite/iw-home/bin/iwextattr -s analyticsFile11=analyticsFile1 $outputFile";`$setAnalyticFileCommand11`;This was working in Teamsite 6.5 but after the upgrade its not working. But if we regenerate the file again it works, on the second attemp.Any suggestion ? has anything changed in teamsite 6.7 SP2.
Thanks for your respnse, but as i mentioned the same code was working with Teasmite 6.5 and also there are no entries in iwtrace or iwevents log files. Moving the extended attribute in a workflow will the last option as it would require lot of changes. ( Also i want to know why was it working in earlier version of teamsite )Where else should i look for more pointers ?
my $setAnalyticFileCommand11 = "e:/teamsite/iw-home/bin/iwextattr -s analyticsFile11=analyticsFile1 $outputFile";warn("CMD: $setAnalyticFileCommand11\n"); [color=red]# replace with custom logging functionif (! -e $outputFile) { warn("'$outputFile' does not exist [yet]"); # replace with custom logging function}my $results = qx([/color]$setAnalyticFileCommand11 2>&1);warn("Results: $results\n"); [color=red]# replace with custom logging function[/color]
Thanks goti,I tried that and the output file does not exit when the clt tries to set the extended attribute, I can use some mechanism to create the output file (using touch etc) before setting the extended attribute, but i want to understand why was it working with Teamsite 6.5 sp2. ( what has changed )
Rather by coincidence I found that the recent KB article 63330 talks about this.https://support.interwoven.com/kb/kb_show_article2.asp?ArticleID=63330quoting:When you try to set extended attributes through tpl file during page generation process, is failing for first time as the file is completely created until tpl ends. ... The following FR is also logged for this.TS-8304 - Setting extended attributes through tpl file during page generation process.The KB is not explicit about which TS versions this started breaking with, but I suppose we can conclude it's somewhere between 6.5 and 6.7...
Any suggestion ? has anything changed in teamsite 6.7 SP2.