Hi José,

I believe that for this approach to work the metadata fields have to be 
public, which may not be desired.

Best, 
Agustina

On Tuesday, 14 March 2023 at 21:20:49 UTC Jose Blanco wrote:

> I found a solution in the angular file
> file-download-link.components.ts. I can test for the metadata value
> of the item there.
>
> -Jose
>
> On Tue, Mar 14, 2023 at 1:27 PM Jose Blanco <[email protected]> wrote:
> >
> > I'd like to change the request copy code in 7.4 to only present the
> > Request Copy page for a file if the item contains these two metadata
> > items:
> >
> > email.requestcopy
> > name.requestcopy
> >
> > So not just for all bitstreams with restricted permissions, but for
> > the items with these metadata.
> >
> > Has anyone done this? Any suggestions on where in the code to put this 
> logic?
> >
> > Thank you!
> > -Jose
>

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/1672b917-8f10-4d99-95fd-0da4152193b1n%40googlegroups.com.

Reply via email to