Hello Tim,

Thanks a lot for the reply, one wish that this can be included on DSpace 8, 
I will check if there is place where wishes can be posted for the upcoming 
version. Much appreciated for clear reply.

Regards,
Lewatle 

On Friday 26 January 2024 at 18:21:11 UTC+2 DSpace Technical Support wrote:

> Hi Lewatle,
>
> At this time, DSpace does not have a custom Javascript "widget" which 
> allows you to embed the searchbox in another page.  It would be possible to 
> write though, as that widget would just need to make the same REST API 
> calls (to the DSpace backend) that are made from the search box in the 
> DSpace user interface.  Those REST API endpoint calls can be seen in your 
> browser's DevTools as described here: 
> https://wiki.lyrasis.org/display/DSDOC7x/REST+API#RESTAPI-FindingwhichRESTAPIEndpointtouse
>
> So, someone who has a little expertise with Javascript could write a small 
> tool that makes those same REST API calls to run a search in DSpace.  It 
> isn't possible though to just copy the existing searchbox out of DSpace 
> into a different website (as the existing searchbox code is written in 
> Angular and would only work on another site that uses Angular).
>
> Tim
>
> On Friday, January 26, 2024 at 3:20:50 AM UTC-6 joem...@gmail.com wrote:
>
>> Dear All, 
>>
>> How to get code for DSpace search box and use it on any website.
>> [image: dspace 7 search.png]
>> Regards,
>> Lewatle 
>>
>

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/640c58fd-c214-44d6-bd08-fd1acf3e6cf1n%40googlegroups.com.

Reply via email to