Now I see I made a mistake in linking <search-configuration> with 
discovery.xml:
I was linking to <bean>'s id, while this should be <entry>'s key value 
included in submission-forms.xml's <search-configuration>.

However, upon selecting the entity, in the submission form I only see a 
blank space, with a bin on the right, while there should be something there 
like dc.title or whatever. So the question is, which configuration is 
responsible for showing this in submission form?

środa, 21 sierpnia 2024 o 18:57:24 UTC+1 Peter napisał(a):

> Hi,
>
> I'd like to find out where can I set up a pop up window for adding a 
> relation during item submission? Like this one from DSpace demo for adding 
> an existing author:
>
> [image: Screenshot from 2024-08-21 18-10-51.png]
>
> I'd like to customize side facets and only show specific entity types in 
> the search results. I have custom entities and relations in my DSpace 
> instance, and the analogous window shows all available 
> items/communities/collections, and facets unrelated to the entities I need 
> to attach to the submission.
>
> By studying documentation and configuration files, I have learnt that 
> adding a relation in submission form needs a <relation-field> like this one 
> from submission-forms.xml:
>
>             <row>
>                 <relation-field>
>                     
> <relationship-type>isAuthorOfPublication</relationship-type>
>                     
> <search-configuration>personOrOrgunit</search-configuration>
>                     <repeatable>true</repeatable>
>                     <name-variants>true</name-variants>
>                     <label>Author</label>
>                     <hint>Add an author</hint>
>                     <linked-metadata-field>
>                         <dc-schema>dc</dc-schema>
>                         <dc-element>contributor</dc-element>
>                         <dc-qualifier>author</dc-qualifier>
>                         <input-type>name</input-type>
>                     </linked-metadata-field>
>                     <externalsources>orcid</externalsources>
>                     <required>At least one author (plain text or 
> relationship) is required</required>
>                 </relation-field>
>             </row>
>
> The important part here is <search-configuration>, pointing to a bean in 
> discovery.xml. I have included a search config in this file, where only 
> specific facets are included in <property name="sidebarFacets">, as well as 
> filter queries in <property name="defaultFilterQueries">. Nevertheless, 
> this does not seem to have any effects.
>
> Should this be configured somewhere else additionally?
>
> Thanks
> Peter
>

-- 
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/df77952f-15d4-4834-988d-2073a2a3d9d2n%40googlegroups.com.

Reply via email to