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)
Multiple html generation
tirrudev
I am trying to do a Simple thing of creating a new html file for each iteration, so it is like i will have a n html file for n replicants. with file names from one of the feilds called "FileName" on DCT
I am not sure where i am going wrong, i am using Inside iw_iterate. Has any one implemented this before. I have attached a snippet...Is this the correct way to do?
TS6.7.1 on windows.
Thanks
Find more posts tagged with
Comments
nipper
basically you need to read the PT documentation on how iw_iterate works.
Look at the examples, but basically you get a new variable inside of iw_iterate and then use that variable instead of dcr.Root......
It looks like you just took the example and used it verbatim.
Bunty
you can try something like this,
<iw_iterate var='Sect' list='dcr.HomeCountryPortlet' iteration='iter'>
<iw_perl>
<iw_ostream file=$filepath>
<iw_value name=`Sect.AutogenerateName`/>
</iw_ostream>
</iw_perl>
</iw_iterate>
nipper
you can try something like this,
tripe deleted
Have you ever used iterate or ostream ? By your example it does not look like it.