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)
PT can't grab from Container
Hrd2Imagin
I have the following in my datacapture.cfg and press_release.tpl files, respectively:
------------------------.cfg---(DCT)---------------------------------
<container name="Header Information" combination="and">
<item name="Title">
<description>The Title of this press release</description>
<database data-type="VARCHAR(100)" />
<text required="t" maxlength="100" size="75" />
</item>
</container>
-------------------------.tpl--(PT)----------------------------------
<iw_perl><![CDATA[
my $title1 = iwpt_dcr_value('Header Information.Title');
]]></iw_perl>
<iw_value name='$title1'/>
-------------------------------------------------------------------
In my PT file, I cant grab that data within the container! I've tried all I could and even searched the forums. Any ideas on what the problem is??
Thanks
Find more posts tagged with
Comments
Gregg Faus
You forgot to prepend "dcr" in the value call.
Try this:
<iw_perl><![CDATA[
my $title1 = iwpt_dcr_value('dcr.Header Information.Title');
]]></iw_perl>