gbif / hosted-portals

Support material for establishing the GBIF Hosted Portals
Apache License 2.0
9 stars 6 forks source link

Help extracting occurrence IDs on the Data page #197

Open mbelisle opened 2 years ago

mbelisle commented 2 years ago

From hp-canadian-biodiversity #16

I have been experimenting with the Data page in order to make accessible the occurrence IDs associated with the current filters without having the download the results. I have added two buttons - one to copy the IDs to the clipboard, the other to include them in an email. This would be for the eventual ability to seamlessly send specimen requests to our in-house collections.

My current strategy is to translate the filter in the URL to an API request and obtain the results that way. I worry about using this strategy because:

Would anyone have a suggestion for a better strategy? I'm thinking that making a graphql request might make more sense, but I'm not sure.

Comments, suggestions welcome!

MortenHofft commented 2 years ago

@langeveldNMR and @jholetschek you might have an interest/opinion in this?

I'm not thinking about the technical solution just yet, I'm mostly interested in gauging the interest and scope.

As I understand it, the desire is to have an easier way for users to request access to specimens using the hosted portal.

So the question I'm curious to answer is:

jholetschek commented 2 years ago

Hi Mélianie, Morten,

for the German VH herbarium, I think there is no real need so far for such a feature (yet). My two cents on the topic:

tucotuco commented 2 years ago

I am aware that many collections have very specific requirements and forms for loan requests, and I suspect that their first reaction to such a capability would be how to opt out of it.

mbelisle commented 2 years ago

I realize that my experiment is a fairly rudimentary solution to a much more complex issue. In this specific case, I have limited the email option to searches specific to a few targeted collections.

MortenHofft commented 2 years ago

I am aware that many collections have very specific requirements and forms for loan requests, and I suspect that their first reaction to such a capability would be how to opt out of it.

Thanks - that should certainly be an option as this do not make sense for most

langeveldNMR commented 2 years ago

From our viewpoint (that is one collection of one institution available through the portal), I think for the purpose of loans or receiving more information on a specimen/number of specimens a simple "Contact us [with a mailto: or website URL] for more information on this specimen." at the bottom of each detailed view of a record would help. The mailto:/website URL would be the same for all specimens contained in the dataset. This simple solution obviously would not work for portals with a broader scope.