On April 27, 2024, our Sign-in and Create Account options will be unavailable from 9am-12pm ET. During this maintenance window, developer account access and free trial registration will be unavailable.

Can someone show me an example of the hidden tag?

Hi,

I'm not a template developer, so this is probably a lame question, but how exactly does one use the "hidden" tag in a DCT?

I see that on page 53 of my not-so-trusty TST5.0.1 developer's guide that it says a hidden attribute can have subelements 'allowed', 'callout', 'java-callout' and 'cgi-callout'.

I don't care about 'allowed', and all the other callout related ones are buttons (which don't show up because---duh---they're hidden!).

What I want to do is save a hidden attribute called "Timestamp" that will be the date and time of the DCR's creation. Here's what I've got:

< item name="Timestamp">
< hidden>
< inline command="/teamsite/iw-home/local/templating/scripts/common/timestamp.ipl" />
< /hidden>
< /item>
Where my 'timestamp.ipl' just spits out a "Aug 6, 2002 16:02" string.

This doesn't appear to do anything, and any help would be appreciated.

Thanks,
Tom