Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New option to create subfield with desired content #52

Open
aatuny opened this issue Aug 29, 2018 · 0 comments
Open

New option to create subfield with desired content #52

aatuny opened this issue Aug 29, 2018 · 0 comments

Comments

@aatuny
Copy link

aatuny commented Aug 29, 2018

createFrom action needs a new option that allows new subfield to be created with desired content.

Example case:
Source record has a 776 field that is used to create 020 field to result record. We would like to add a $q subfield with content 'PDF' to it.

Source record:
77608 L $$iVerkkoaineisto (PDF):$$z9786191920372

Desired outcome to result record:
020 L $$a9786191920372$$qPDF

Example conf:
"776": { "action": "createFrom", "options": { "convertTag": "020", "ind1": " ", "ind2": " ", "subfields": { "z": { "convertCode": "a", modifications: [ hyphenate ] }, "q": { "createNew": true, "data": "PDF" } } } }

@ghost ghost self-assigned this Sep 7, 2018
@ghost ghost removed their assignment Nov 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant