Hi Evgeni,

I'm pretty sure the REST API hides any fields that are in the
"metadata.hide. " settings in your dspace.cfg (or local.cfg) file.  By
default, "dc.description.provenance" is hidden to anonymous users (in all
interfaces), as it may contain sensitive or private information (email
addresses, etc). It is available however from a UI if you are logged in as
an Administrator or someone with edit metadata rights (as you noted)

It should also be available/visible if you authenticate to the REST API
first, and then look at the Item metadata while authenticated.

Alternatively, if you want this field to be available in all interfaces,
you can un-hide it (in all interfaces) by commenting out this line of the
dspace.cfg:
https://github.com/DSpace/DSpace/blob/dspace-6_x/dspace/config/dspace.cfg#L798

- Tim

On Mon, Jan 22, 2018 at 9:01 AM Evgeni Dimitrov <[email protected]>
wrote:

> When I do in xmlui Item Edit/Metadata, then I see
> dc.description.provenance with a meaningful value.
>
> When I enter in the browser
> .../rest/items/{item UUID}/metadata
>
> then there is no dc.description.provenance
>
> Is there some easy patch that I could apply to 6.2?
>
> --
> 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.
>


-- 
Tim Donohue
Technical Lead for DSpace & DSpaceDirect
DuraSpace.org | DSpace.org | DSpaceDirect.org

-- 
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