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)
<hidden> tags and inline commands
brooke
I noticed a post from awhile back with a similar topic, but it didn't seem to have any resolution. Has anyone had any success with using <hidden> tags in their DCT while using an inline command (in my case, to an .ipl)?
Here's an example of what we're looking to do:
<item name="Numeric Year">
<hidden>
<label>Numeric Year</label>
<inline command="c:/iw-home/iw-perl/bin/iwperl c:/iw-home/local/bin/format_year.ipl"/>
</hidden>
</item>
When the items is not <hidden>, the .ipl is called just fine -- but throw in that <hidden> tag and no values are returned for the DCR.
Any input would be great -- thanks so much!
Find more posts tagged with
Comments
anilp
instead of ----
<hidden>
<label>Numeric Year</label>
<inline command="c:/iw-home/iw-perl/bin/iwperl c:/iw-home/local/bin/format_year.ipl"/>
</hidden>
try ----
<hidden></hidden>
<label>Numeric Year</label>
<inline command="c:/iw-home/iw-perl/bin/iwperl c:/iw-home/local/bin/format_year.ipl"/>
output connector.jpg
Migrateduser
well... the one issue with doing things this way was that I think he was attempting to populate the hidden tag with the data returned by the ipl (or so it would seam logically).
The one problem with doing this however is that for some reason I believe that hidden tags can not take a default value:
"Hidden: Specifies that the data will not be shown in the data capture form. A <hidden> field may receive data from a callout program. Note: You cannot currently specify a default value
Attributes::
- required: See <browser>.
Subelements:
- <allowed>: See <browser>.
- <callout>: See <browser>
- <java-callout>: See <browser>
- <cgi-callout>: See <browser>
"
The above being from the TS5.5.x templating developer's guide.
So if the idea is to pre-populate the data from the inline into the hidden then I think that this will not work.
This would also bring up the point that this restriction is kind of odd (only being able to populate the tags with callouts).
Another option might be to look into using formapi to do all of this instead and just hide the element from view in that way.