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/CAK%3DKc-tRj-9wqh02XqB-7hn0EL87XhOB1uqrM6C15O4q0HbpyQ%40mail.gmail.com.

Reply via email to