Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Error while tagging multiple files to iwmetadata.c
amar_maheshwary
Hi Guys,
In my workflow "Start ->Metadata -> approval --> Submit -> Depoloy"
On rejection I have multiple files attached to my workflow like DCR/JSP/pdf/ppt and when after making changes by author it call iwmetadata.cgi its not able to tag multiple files and throws the following error ... but if I remove all the files and keep only my DCR in that case it works fine.
I did the setup of metadata-rules.cfg/datacapture.cfg file as well but its still the same.
Error comes "There was a problem with metadata capture configuration" .. why is this happening ?
Regards
-Amar
Find more posts tagged with
Comments
Adam Stoller
Can you post your metadata-rules.cfg?
Also - please include information in your posts about what version(s) of the product(s) you are using on what platform(s).
--fish
Senior Consultant, Quotient Inc.
http://www.quotient-inc.com
amar_maheshwary
TS 6.5 + Windows 2003
<?xml version="1.0" encoding="UTF-8" ?>
Here is the metadata rules.cfg file
<metadata-rules>
<cond vpath-regex=".">
<rule name="Default Rule" />
</cond>
<cond vpath-regex="\.pdf$">
<rule name="PDF Files" />
</cond>
<cond vpath-regex="\.jsp$">
<rule name="JSP Files" />
</cond>
</metadata-rules>
regards
-amar
Adam Stoller
Okay - so you're using different rule-sets for the different types of files - which might explain why you're running into problems when those types of files are involved.
Now you need to spend some time looking carefully over your [metadata] datacapture.cfg for the rules specified for the file type specified - and see if you can find the source of your problems.
I'd suggest posting your datacapture.cfg - but you really should spend some time trying to debug this yourself first - and then, if you can't find the problem post the config file.
--fish
Senior Consultant, Quotient Inc.
http://www.quotient-inc.com
amar_maheshwary
Thanks Fish .. earlier my metadata-rules.cfg file only had "default rule" but it was not able to attach multiple files with single. Then I changed it with multiple rules PDF Rule and JSP Rule.
and similarly in my datacapture.cfg file I had only single ruleset "Default Rule" earlier but after changing the metadata-rules.cfg i made respective changes in tht as well.
The error message on the GUI screen doesnt make much sense ... and there are no error iwjoberrors.log file .. where can i see more descriptive error for its debugging
amar_maheshwary
<?xml version="1.0" encoding="UTF-8" ?>
<metadata-rules>
<cond vpath-regex=".">
<rule name="Default Rule" />
</cond>
</metadata-rules>
DataCapture.cfg file
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE data-capture-requirements SYSTEM "metadatacapture6.0.dtd">
<data-capture-requirements type="metadata">
<ruleset name="Default Rule">
<description>This rule applies to all files on all branches.</description>
<view-container name="Asset metadata">
<view name="Metadata">
<description>Metadata that describes the topic of the asset.</description>
<item name="keywords">
<label>Keywords</label>
<description>Keywords extracted from the text</description>
<database data-type="VARCHAR(100)" />
<textarea required="f" rows="3" cols="72" wrap="virtual"/>
</item>
<item name="summary">
<label>Summary</label>
<description>A brief summary</description>
<database data-type="VARCHAR(512)" />
<textarea required="f" rows="5" cols="72" wrap="virtual"/>
</item>
<item name="Expires">
<label>Expires</label>
<description>Days until the content expires</description>
<database data-type="VARCHAR(512)"/>
<radio required='t'>
<option label="30"
value="30"
/>
<option label="90"
value="90"
/>
<option label="180"
value="180"
/>
</radio>
</item>
</view>
</view-container>
</ruleset>
</data-capture-requirements>
Error on GUI
Tagging two files
There was a problem with metadata capture configuration. Please contact your administrator.
Any thots how do I proceed to debug this error.
Many thanks in Advance.
-Amar
Adam Stoller
Post deleted by webteam
DropDownSelectOrCustomRangeDateParameter.rptdesign
amar_maheshwary
Thanks for your reply ...
I am not able to locate any such text in my .cfg file
<font color='blue'><pre> <<x>textarea required="f" rows="3" cols="72" wrap="virtual"/></pre></font>For some reason, I believe that might need to be a <tt><<x>textarea ...><<x>/textarea></tt>
its just <textarea required="f" rows="3" cols="72" wrap="virtual"/> .. probably you are seeing this in html format and thats why font tag is coming ;;-)
I sorted this out a little but not completely . I changed the metadata-rules.cfg to
<metadata-rules>
<cond vpath-regex=".*">
<rule name="Default Rule" />
</cond>
</metadata-rules>
from "." to ".*" and now with new regex its able to accept files with pdf/ppt etc ... but to my surprise if still I try to link jsp file it doesnt work.. seems to be something specific to my environment but not able to get the proper reason for this .... any thots to get the correct technical reason wud be appreciated
Regards
-Amar
Adam Stoller
Apparently I forgot to specify the posting format as HTML on my previous response -- it was supposed to look like this (below) - and so I've removed the previous instance of the response:
So you changed your metadata-rules.cfg and still are having problems?
The only thing I see that strikes me as potentially a culprit is: <textarea required="f" rows="3" cols="72" wrap="virtual"/>For some reason, I believe that might need to be a <textarea ...></textarea> because the value needs to be contained within the element and not an attribute of it.
I could easily be wrong here - but I suggest you try changing both those lines, run iwreset, and try it again. If you still have problems - consider opening a case with Support.
--fish
Senior Consultant, Quotient Inc.
http://www.quotient-inc.com