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)
iwextattr issue
parsan99
Hi
I am setting the extended attributes on a DCR using the command line and I could also view it thru the Teamsite UI(File -> File Properties). But when I try to view the extended attributes thru the metadata capture screen (in order to edit the data) it doesnt go thru. The field values are not loaded in the metadata capture screen.(empty values)
Here's the sequence I follow:
This is how I set the values:
---------------------------------
iw-home/bin/iwextattr -s Article_Type=1 //IWSERVER/default/main/_DEV_work/WORKAREA/templatedata/Articles/Article/data/2002-10-11-meta
I list the value to make sure it is set:
--------------------------------------------
iw-home/bin/iwextattr -l //IWSERVER/default/main/_DEV_work/WORKAREA/templatedata/Articles/Article/data/2002-10-11-meta
TeamSite/Templating/DCR/Type=Articles/Article
Article_Type=1
This is my datacapture.cfg for metadata
------------------------------------------------
<?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>
</ruleset>
</data-capture-requirements>
When I use the "Set Metadata" menuitem (after selecting the file), the datacapture screen has empty values for the field Article_Type. Am I missing something here?
Any help on this is greatly appreciated. Thanks
Find more posts tagged with
Comments
james1
TeamSite Metadata is stored in EA's whose names begin with "TeamSite/Metadata". Your EA is named "Article_Type". I think that if you named it "TeamSite/Metadata/Article_Type", then you might see the behavior you are looking for.
-- James
--
James H Koh
Interwoven Engineering
parsan99
Thanks..That worked. But now in File->File Properties, I see two sections "TeamSite Metadata" and "Teamsite Extended Attributes". Whatever I added as Teamsite/Metadata/... is under "TeamSite Metadata" section. What's the difference between EA's and Metadata?
james1
> What's the difference between EA's and Metadata?
Nothing, really, except that "TeamSite Metadata" are EA's whose names begin with "TeamSite/Metadata" and whose values are derived from the TeamSite "Set Metadata" or "Tag" GUI actions. Any EA with any other name gets jumped into the "Extended Attributes" section, and the "Set Metadata" action doesn't do anything to them at all.
Hope this helps.
-- James
--
James H Koh
Interwoven Engineering
parsan99
Thanks for the information. It was very helpful..