metacatui icon indicating copy to clipboard operation
metacatui copied to clipboard

Add link to portal in dataset landing page

Open erinlynmclean opened this issue 4 years ago • 3 comments

Describe the feature you'd like Link datasets to portals as well as portals to datasets - ie “This dataset appears in this portal”

Additional context Requested from the portals focus groups

erinlynmclean avatar May 13 '21 16:05 erinlynmclean

Same request in this Arctic Data Center Ticket

laijasmine avatar May 13 '21 17:05 laijasmine

Because anybody can create a portal that contains anyone else's dataset, we will need to discuss rules for linking to portals (e.g. we may only want to link to portals that share creators with the dataset)

laurenwalker avatar May 18 '21 17:05 laurenwalker

This was again requested by the PDG. When a dataset is featured or cited in a publication, it would be useful for readers to know that they can go view that dataset in a portal.

The first step to this issue is to come up with a reasonable strategy to determine if a dataset is included in a portal.

There are currently 2 ways a dataset can be included in a portal:

  1. when the dataset is a result in the collection query results
  2. when the dataset is a layer in the portal's map config

So, to know if a dataset is included in a portal, we would have to test the dataset against every collection query (they are in solr). We would also need to parse every portal doc to see if the dataset pid is in the mapConfig. Not a realistic solution.

robyngit avatar Sep 08 '25 20:09 robyngit