We get brief bib records when we order from our vendor. When the item is received we overlay the brief bib with a full MARC record via Z39.50. Sometimes the incoming record has tags that we do not want in our bibs (local 9XX tags, 852, local 59x notes, etc.) We'd like a way to prevent those tags from being imported instead of having to delete them from every incoming record.
If you aren't using the field within your library. you could also delete it from the frameworks. That will automatically delete the tags when you save (some say it's a bug, other a feature). For Z39.50 creating an XSL script to do this should also work. This is an existing configuration option in the Z39.50 server configuration. Currently we have some sample scripts, you can just add and try out, see here: https://koha-community.org/manual/20.05/en/html/administration.html#add-a-z39-50-target Another thing that goes somewhat in that direction is: Bug 14957 - Write protecting MARC fields based on source of import
(In reply to Katrin Fischer from comment #1) > If you aren't using the field within your library. you could also delete it > from the frameworks. That will automatically delete the tags when you save > (some say it's a bug, other a feature). > I think I'll always call that a bug ;). So I'd advocate for the XSLT approach.
So this report can be closed ?
(In reply to Marcel de Rooy from comment #3) > So this report can be closed ? +1
(In reply to Katrin Fischer from comment #1) > If you aren't using the field within your library. you could also delete it > from the frameworks. That will automatically delete the tags when you save > (some say it's a bug, other a feature). > > For Z39.50 creating an XSL script to do this should also work. This is an > existing configuration option in the Z39.50 server configuration. Currently > we have some sample scripts, you can just add and try out, see here: > https://koha-community.org/manual/20.05/en/html/administration.html#add-a- > z39-50-target > > Another thing that goes somewhat in that direction is: > Bug 14957 - Write protecting MARC fields based on source of import Thanks so much for your suggestions and I am investigating the XSL scripts. Bug 14957 looks exciting too. Just FYI - I was excited to try removing an unused field from the framework but it only worked when creating a new bib record via Z39.50 on addbooks.pl. It didn't work on editor.pl when using Z39.50 to overlay a bib record by using the substitute button. So that's seems like a whole different bug.
Hi Barbara, I think the XSL or bug 17485 could fix your issue. I am deduplicating this with bug 17485 (using MARC modification templates on import) that I think would give a good base for these kind of operations without having to use XSL that requires more technical knowledge. *** This bug has been marked as a duplicate of bug 17485 ***