Hi,
I've tried to create a new metadata field via REST api.

curl -i -X POST -H "Accept: application/json" -H "Content-Type: 
application/json" 
"http://siljo.lib.jyu.fi:8080/rest/registries/schema/dc/metadata-fields"; 
-b  cookies.txt -d  '{"name":"dc.admin", "description":"Other 
admin","element":"admin.other"}'

 When you watch metadata registry in DSpace, you'll see the 
"dc.admin.other", this seems to work.. However, when you open it up, you 
notice that it not right at all.


<https://lh3.googleusercontent.com/-P-0Hs9gFryQ/WL-bxwIB0dI/AAAAAAAAAAY/DZ2qHm-1zDMJ9Xzli0_QGDW5Z7n71MUPQCEw/s1600/d6_schema.png>

"admin" and "other" should be separate elements.  I've tried all sort of 
combinations with name and I tried giving elements as array.
 Am I doing it wrong? Any hints are most welcome.


Best,
Ari Häyrinen
Information systems expert
 Open Science Centre
Jyväskylä University





-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to