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)
Set Metadata
parsan99
Hi
I have added "Set Metadata" menu to iw.cfg using the following syntax
custom_menu_item_setmetadata="File","Set Metadata","iwmetadata.cgi","master,admin,editor,author","width=800,height=570,scro
llbars=yes,resizable=yes", "", "500"
Metadata capture works fine in the normal user interface but in Webdesk it comes up without the datacapture fields. In WebDesk, the metadata capture screen just has the "Set Metadata", "Switch to file View" and "Cancel" buttons.
My datacapture.cfg is as follows
<?xml version="1.0" encoding="UTF-8" ?>
<data-capture-requirements type="metadata">
<ruleset name="Metadata">
<description>
This rule applies to all branches.
</description>
<item name="Article_Type">
<label>Article_Type</label>
<text cols="1" rows="1" required="t">
<callout type="cgi" label="Specify Article Type" url="/iw-bin/ArticleCalloutMeta.ipl" window-features="width=320,height=200,resizable=yes,toolbar=no,scrollbars=yes"/>
</text>
</item>
<item name="Subject_Tags">
<label>Subject Tags</label>
<text cols="1" rows="1" required="t">
<callout type="cgi" label="Specify Subject Tags" url="/iw-bin/SubjectCalloutMeta.ipl" window-features="width=320,height=200,resizable=yes,toolbar=no,scrollbars=yes"/>
</text>
</item>
</ruleset>
</data-capture-requirements>
Thanks in advance for the help!!
Find more posts tagged with
Comments
Migrateduser
Could we see your metadata-rules.cfg file please?
bw
Bob Walden [bob.walden@interwoven.com]
Interwoven Education Group
IM: Yahoo, MSN bob_walden
parsan99
Sure.. Please note that the file I am trying to view metadata for is in "dvlp" branch
<?xml version="1.0" encoding="UTF-8" ?>
<metadata-rules>
<cond vpath-regex="/dvlp/">
<rule name="Metadata" />
</cond>
</metadata-rules>
Thanks..
Migrateduser
If your TS server is Windows, try using double-backslashes "\\" instead of forward slashes for your path seperators in metadata-rules.cfg vpath-regexes. On my windows system this proves to be required for pathname patterns in this file. I didn't know this myself until just now.
bw
Bob Walden [bob.walden@interwoven.com]
Interwoven Education Group
IM: Yahoo, MSN bob_walden
Migrateduser
If you have a datacapture.cfg, then you should see "Tag" action links next to your files in WebDesk. You should use these links (which will work) instead of a "Set Metadata" custom menu item (which won't work in WebDesk).
Brinko Kobrin
Interwoven Staff Engineer
parsan99
Thanks..That works like a charm..