Home
TeamSite
Hidden item on tagger ui
System
I want to set the value on a EA field when user launch the tagger ui without user noticing it. So in datacapture.cfg, I added one item:
<item name="Test">
<hidden/>
<checkbox required="t">
<option label="Yes" value="Y" selected="t"/>
</checkbox>
</item>
However, this did not achieve what I wanted to do:
First of all, the item is not entirely hidden: I still see item name "Test" on the tagger ui, except for I can't see the checkbox, but I see the message "You can't view this value".
Second, after I click "save and close" and view the file property, the Test EA does not have any value set, even though I put selected="t" for the "Y" option.
I'm using TS6.5 on windows2003 and MetaTagger 3.6. But the "Test" item is not managed by MetaTagger.
Any suggestion is appreciated.
Find more posts tagged with
Comments
Adam Stoller
Create a custom menu item and put it in place of the OOTB Tag option - have the custom menu item run iwextattr to set the EA you want, and then invoke the real set metadata CGI.
--fish
Senior Consultant, Quotient Inc.
http://www.quotient-inc.com
Migrateduser
That's not a bad idea, thanks. Could you please be more specific as to how do I go invoke the set metadata CGI from my custom menu item? What parameters does the set metadata CGI expect me to pass on?
Adam Stoller
I don't remember off hand, but I believe that IWHOME/httpd/iw-bin/iwmetadata.cgi is a Perl script (unfortunrately without POD) and you can probably read through it to determine what parameters its looking for.
--fish
Senior Consultant, Quotient Inc.
http://www.quotient-inc.com
Johnny
If you are using a PERL CGI you could simply tunnel all the params onto the tagger UI
TeamSite::CGI_lite has a tunnel method
John Cuiuli
Migrateduser
I got it to work. Thanks!