Stream: troubleshooting

Topic: Issue with OAI feed and changed field


view this post on Zulip Deirdre Kirmis (Apr 01 2025 at 14:58):

hi there .. I admit I haven't done much with the OAI feed other than just make it available for our LSP folks to grab. However, a while ago we did set up a rule in Primo that looks at one of the fields exported and designates it as "asu affiliates only". We recently noticed that isn't happening anymore. We had originally used the "Kind of Data" field in the dataset, which I believe mapped to "dc:type" in the feed. From the Primo side, if the dc:type field showed "asu-affiliates-only" we did not add the open access icon. I'm noticing now that the dataset has a "Date Type" field but I'm not seeing the "Kind of Data" field anywhere anymore. Is my memory failing me (again) .. was there a "Kind of Data" field, and did it perhaps change or go away? Or, did I somehow mess up the schema and/or the OAI feed and make it disappear? We are on v6.5 and I've always followed the published instructions for updating the solr schema, at least I think I have, and we did recently regenerate the OAI feed for a different issue. Any assistance is truly appreciated in untangling this one!

view this post on Zulip Philip Durbin ๐Ÿš€ (Apr 01 2025 at 15:19):

Hi! Let's start by reviewing "Remap oai_dc Export and Harvesting Format Fields: dc:type and dc:date" at https://github.com/IQSS/dataverse/releases/tag/v6.4

view this post on Zulip Philip Durbin ๐Ÿš€ (Apr 01 2025 at 15:19):

view this post on Zulip Philip Durbin ๐Ÿš€ (Apr 01 2025 at 15:19):

view this post on Zulip Philip Durbin ๐Ÿš€ (Apr 01 2025 at 15:19):

From this PR: Remap oai_dc fields dc:type and dc:date #10737

view this post on Zulip Deirdre Kirmis (Apr 01 2025 at 16:03):

ah well .. that explains it :-)

view this post on Zulip Philip Durbin ๐Ÿš€ (Apr 01 2025 at 16:04):

Can you work around it?

view this post on Zulip Deirdre Kirmis (Apr 01 2025 at 16:06):

i think we will have to pick a different field in the metadata this is also exported in the OAI feed that makes sense

view this post on Zulip Deirdre Kirmis (Apr 01 2025 at 16:06):

or figure out another way to designate non-OA datasets .. maybe have 2 feeds

view this post on Zulip Deirdre Kirmis (Apr 01 2025 at 16:07):

sorry i missed that .. i DID search the release notes! :big_smile:

view this post on Zulip Deirdre Kirmis (Apr 01 2025 at 16:09):

or .. if I'm reading that right, we could use the API to change some of the types to our custom tag?

view this post on Zulip Philip Durbin ๐Ÿš€ (Apr 01 2025 at 16:09):

No worries. I did make the PR. Sounded familiar. :thinking:

view this post on Zulip Deirdre Kirmis (Apr 01 2025 at 16:10):

oh no i guess that is the date field only

view this post on Zulip Philip Durbin ๐Ÿš€ (Apr 01 2025 at 16:10):

Yeah, that's only for the citation date: https://guides.dataverse.org/en/6.4/api/native-api.html#set-citation-date-field-type-for-a-dataset

view this post on Zulip Philip Durbin ๐Ÿš€ (Apr 01 2025 at 17:40):

Yeah? Ignore all that? :sweat_smile:

view this post on Zulip Philip Durbin ๐Ÿš€ (Apr 01 2025 at 17:40):

Again, "Dataset" is now hard-coded:

view this post on Zulip Philip Durbin ๐Ÿš€ (Apr 01 2025 at 19:33):

Please try again.


Last updated: Oct 30 2025 at 06:21 UTC