Value Suggest Any Connecting to Musical Instrument Concept Vocab

Hello,
I recently installed the Value Suggest Any module and wanted to set up a value suggest for a vocab that is found here: https://vocabs.acdh.oeaw.ac.at/hsinstruments_thesaurus/en/
Basically i am working a collection that uses the Hornbostel Sachs classification and would like people to be able to use auto-complete to add that value.

I am new to this and tried to look at their documentation here https://vocabs-api.acdh.oeaw.ac.at/ and tried to follow the instructions in the module repository guide by putting the below in the site settings:

[hsinstruments]
url = "https://vocabs.acdh.oeaw.ac.at/rest/v1/hsinstruments_thesaurus/search?query=__QUERY__"
id_url = "https://vocabs.acdh.oeaw.ac.at/hsinstruments/__ID__"
language = "en"
label = "HSinstruments"

I only get a spinning wheel and am not sure if it something i have set up wrong? Any assistance would be appreciated.

Hi,
This is implemented in last version, 3.3.0.4. The output of the vocab was not totally standard.

[hsinstruments]
url = "https://vocabs.acdh.oeaw.ac.at/rest/v1/hsinstruments_thesaurus/search?query=__QUERY__"
id_url = "__ID__"
id_key = "uri"
resources_root = "results"
language = "en"
label = "HSinstruments"

Dear @Daniel_KM,

Thanks so much, this is amazing. It works with the new update and the way you set up the code above. Appreciate this and your work a lot!


Sanjin

This topic was automatically closed 250 days after the last reply. New replies are no longer allowed.