Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
iw_ostream not working
ReggieRWalker
Env: TS 6.5/Win 2003
I am attempting to use the iw_ostream tag to create files in another workarea. I have simplified the code to it's basic level and I am still getting a "Could not output file" error.
This is the code for the PT:
<?xml version="1.0" encoding="UTF-8"?>
<iw_pt name="Test">
<iw_ostream file="Y:/default/main/Portal/Branch/WORKAREA/portlets/personal/banking/ColB-1.asp" mode="ptlocal">
<![CDATA[
<!-- Begin Top Content Section -->
<table class="ice_transtableleft">
<tr>
<td class="ice_maincolumn250">
<!-- Begin Branding Image Content Block -->
<img src="images/Branding250x130.jpg" alt="" width="248" height="129" border="0">
<!-- End Branding Image Content Block -->
</td>
<td class="ice_maincolumn18"> </td>
<td class="ice_maincolumn280">
<!-- Begin Intro Copy Content Block -->
<table>
<tr class="ice_pageheaderrow">
<td class="ice_pageheader">Banking</td>
</tr>
<tr class="ice_pageheaderrow">
<td class="ice_textleft">
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Integer mauris purus, dignissim in, feugiat id, aliquet rutrum, urna.
Maecenas interdum lobortis est. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Integer mauris purus, dignissim in, feugiat id, aliquet rutrum, urna. Maecenas interdum lobortis est.
</td>
</tr>
</table>
<!-- End Intro Copy Content Block -->
</td>
</tr>
</table>
<!-- End Top Content Section -->
<!-- OSTREAM for Center Portlets -->
]]>
</iw_ostream>
</iw_pt>
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Both workareas are being shared with the same group. Is there some other permissions issue that I could be having?
TIA
Find more posts tagged with
Comments
gzevin
I am not sure one could use a file outside a workarea, Try mode='cwd', however I am still a bit skeptical. The whole idea is to keep the files within the workarea.
another thing to try is to use iwpt_compile instead. It is usually oblivious to everything.
Greg Zevin, Ph.D. Comp. Sc.
Independent Interwoven Consultant/Architect
Sydney, AU