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)
iwgen command
vinylrecord
please can anyone quickly help me out with this.....
the command -
/softwares/interwoven/iw-home/bin/iwgen -t /default/main/eLearning/WORKAREA/eLearning/templatedata/BB_11-20/BB_13/presentation/BB_13_main.tpl -r /default/main/eLearning/WORKAREA/eLearning/templatedata/BB_11-20/BB_13/data/data /default/main/eLearning/WORKAREA/eLearning/output/oh1.htm
works fine if the destination is within teamsite , I mean "/default/main/eLearning/WORKAREA/eLearning/output/oh1.htm"
(output folder already exists)
but if we change it to only "oh1.htm" i.e the command becomes
/softwares/interwoven/iw-home/bin/iwgen -t /default/main/eLearning/WORKAREA/eLearning/templatedata/BB_11-20/BB_13/presentation/BB_13_main.tpl -r /default/main/eLearning/WORKAREA/eLearning/templatedata/BB_11-20/BB_13/data/data oh1.htm
Then there is problem, the file is generated by that name, but its blank.
Can we generate the file specified by the above command in the destination specified by one i.e other that teamsite?
If it's possible, then how?.
Find more posts tagged with
Comments
Adam Stoller
I don't believe iwgen / iwregen support generation of files outside of TeamSite, partly because both commands attempt to write and/or read TeamSite extended attributes as part of their process - and such attributes only exist within TeamSite.
However, you might be able to get this to work using iwpt_compile.ipl ... since it does not attempt to create TeamSite extended attributes on its output files...
--fish
(Interwoven Senior Technical Consultant)
vinylrecord
I tried with the iwpt_compile.ipl command,its giving me the following error..
the command i wrote was --
/softwares/interwoven/iw-home/bin/iwpt_compile.ipl -pt BB_12_main.tpl -iw_pt-dcr data -iw_include-location /default/main/eLearning/WORKAREA/eLearning -ofile /softwares/J/che1.htm
the error is --
<ERROR>
Could not open presentation template: BB_12_main.tpl
</ERROR>
the entry int e conf file is as--
<data-type name="BB_12" dcr-type="iwov">
<presentation>
<template name="BB_12_main.tpl" extension="htm">
<locations>
<branch vpath-regex=".*" preview-dir="/preview/preview">
<directory dir-regex=".*" />
</branch>
</locations>
</template>
</presentation>
</data-type>
any suggestions for this occurance , plz help me out...
thanks in anticipation..
Adam Stoller
Unless your shell happens to be sitting directly within the presentation directory for that data type - you need to be more explicit about the path to the PT.
Considering that your path to the DCR was also specified without a path and that DCRs and PT are usually in distinct directories (one under data-type/data, the other under data-type/presentation) - it does not surprise me that the command as shown didn't work.
--fish
(Interwoven Senior Technical Consultant)
vinylrecord
hi thanks, this way it worked..
/softwares/interwoven/iw-home/bin/iwpt_compile.ipl -pt /default/main/eLearning/WORKAREA/eLearning/templatedata/BB_11-20/BB_12/presentation/BB_12_main.tpl -iw_pt-dcr /default/main/eLearning/WORKAREA/eLearning/templatedata/BB_11-20/BB_12/data/test -iw_include-location /default/main/eLearning/WORKAREA/eLearning -ofile /softwares/J/che1.htm