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)
display replicant values from a different dcr
manju166
I am trying to get replicant values of a Quicklinks.dcr into Genpage.tpl
<item name="QuickLinks">
<replicant min="1" max="5">
<item name="Text">
<label>QuickLinks Text</label>
<text required="f" maxlength="60" size="29" />
</item>
</item>
</replicant>
I can get the data into the genpage.tpl and also display it,
but not sure as how the replicant item work when we are
calling the values of a diffrent dcr
$MyqlBody = $rootNode->value('QuickLinks.Body');
The below syntax dosent work,
<iw_iterate list='dcr.QuickLinks' var='QuickLinks'>
<![CDATA[<tr><td><iw_value name='$MyqlBody'/></td></tr>]]>
</iw_iterate>
if I remove the iw_iterate it works!
<![CDATA[<tr><td><iw_value name='$MyqlBody'/></td></tr>]]>
how should I display the value of replicants from a Quicklinks.dcr into genpage.tpl
Any help is greatly Appreciated
Thanks in Advance
Manju
Find more posts tagged with
Comments
Adam Stoller
I'm not entirely positive about this - and I don't have time right now to test/verify it - but "dcr." is the initial DCR that was loaded when the entire process began. You say you loaded another DCR in - I believe when you do so you have to provide (or you receive) another symbolic name representing that DCR - and it's probably not "dcr.".
The on-line documentation for PT's tends to be very good - and I am almost positive that it provides examples of how to do this. Have you looked at them? (
http://teamsite-server-name/iw/help/tst/pt
)
Hope that helps, at least a little
--fish
(Interwoven Senior Technical Consultant)
manju166
The on-line documentation for PT's is very good - and my job is more easier now, instead of calling the values from DCR,
I am including the ASP file genrated through <iw_include>
TAGS
Thanks a LOT
MANJU