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)
Issue setting EA on output file
acezone
Hi All,
Below is the perl script for setting EA on output file. Generation of the file is working fine, but on checking the properties it does not show me the attribute "Title" as mentioned the script.
###################Setting Extended Atrributes#############
<br>my $iw_home = TeamSite::Config::iwgethome();<br>my $iw_mount = TeamSite::Config::iwgetmount();<br>use TeamSite::Config;<br>my $ofile = iwpt_get_ofile_name();<br>$ofile = iwpt_get_ofile_name();<br> if (! -f $ofile){<br> if (open(OUT, ">$ofile")){<br> close(OUT);<br> }<br> else {<br> }<br> }<br>open(MYFILE, ">$ofile"); #We have to create our output file before setting the attributes<br>close(MYFILE);<br>my $iwextattr = "$iwhome/bin/iwextattr.exe"; <br>$attrib = iwpt_dcr_value('dcr.AllProduct.ProductTitle');<br><br>system("$iwextattr -s \"Title=\"$attrib\" \"$ofile\"");<br><br>
####################################################
Could someone pleae help in fixing the issue.
Regards,
Ace.
Find more posts tagged with
Comments
Adam Stoller
Please close this thread in deference to
http://devnet.interwoven.com/forums_vb/newreply.php?do=newreply&noquote=1&p=123844
Dealer_list.rptdesign