I'm trying to use iwpt_get_dcr_name to get the name of the dcr from within a presentation template.
However, it just seems to return blank. I have tried the same approach with iwpt_get_ofile_name and iwpt_get_pt_name to return the output and presentation template names, and these work fine.
Here is a sample presentation template which gives the problem. I am using TeamSite 6.
Is there a problem with my template?
<iw_pt/>
<iw_perl><
T::iw_xml::get_dcr_name($iw_parser);
]]>
</iw_perl>
dcrPath=<iw_value name='dcrFile'/>
dcrPath2=<iw_value name='dcrFile2'/>
ptPath=<iw_value name='ptFile'/>
outputPath=<iw_value name='outputFile'/>