Hi Kush,
in order to use a new metadata field, you got to:
- add it to the metadata registry
- add the appropriate language tag to Messages.properties
The metadata field can be used in various places now:
a ) Submission
Now you can change use it in the input forms, by adding a field in the form.
b ) Item Display
In order to display the metadata field in the default item display, you
must change "webui.itemdisplay.default" or any customized display of the
for "webui.itemdisplay.name.collection", where you want to display it.
c ) Advanced Search
In order to use the newly added metadata field in the advanced search,
you got to change jsp/search/advanced.jsp
adding your field to the selection list, e.g.
<select name="field1" id="tfield1">
<option value="YourField" <%= field1.equals("YourField") ?
"selected=<fmt:message key="jsp.search.advanced.type.YourField"/>
</option>
</select>
Do the same for field2, field3.
d) Item Lists
In order to use it in the Item Listings, you got to change it
webui.itemlist.columns in dspace.cfg
There are more change options for search and browse.
Rebuild and deploy DSpace.
hope that helps
Claudia
Kush Sharma schrieb:
> hi,
> i am working on dspace now for over two months and i have not been able to
> modify the metadata as yet. i have added the field to the input
> forms.xmland it is rendered on the view but the value of that feild is
> not being
> persisted i have made changes to the code where i found it necessary but to
> no effect.
> can someone guide me how to change the metadata.
> regards,
> kush
>
>
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech