OAI Publishing Configuration: A Profile already exists with Metadata Format but with a different Converter Plugin
- Product: Rosetta
- Product Version: 7.0
Symptoms
Adding new Publishing Configuration's Profile for OAI publishing ('Target Type' of "OAIPublisherPlugin") is not possible.
The following message appears when trying to save the Profile:
Causes
The chosen 'Metadata Format' is already used in another Publishing Configurations' profile.
Rosetta prevents users from creating different publishing profiles with the same 'Metadata Format'.
In some cases this behavior makes sense, however it does not cover all cases. In most cases it is safe to bypass it using the workaround below.
For more information on OAI publishing limitations in Rosetta, refer to THIS Knowledge Center Article.
Replication Steps
- Access 'Rosetta Management' → 'Publishing Configuration' → Add 'New Configuration' or 'Update' existing configuration → Click on 'Profile' tab
- Click on 'Add Profile'
- For 'Target Type' choose "OAIPublisherPlugin", fill the rest of the required fields, click 'Next'
- Under 'OAI-Publisher Publisher Parameters' choose 'Metadata Format' value that is already being used in a profile of a different Publishing Configuration, fill the rest of the required fields, Click 'Save'.
- The Message mentioned above will appear warning that saving the Profile is not possible.
Workaround
DO NOT use this workaround to publish the same IE(s) using multiple Publishing Configurations
- At 'Add Profile' 2nd screen (After Replication Steps 1-2.I done) select unused 'Metadata Format' → Click 'Save'.
- Click 'Duplicate' on the newly created Profile → Changed its 'Metadata format' value to the one needed (used 'Metadata Format') → Click 'Save'.
- Click 'Delete' on the Profile created in step 1.
- Click 'Save' to save change to the Publishing Configuration.
To add a new/unused 'Metadata Format' in the system, two changes are needed to be performed* in the Administration Module:
-
Access 'Configuration Files' → 'File Group' of "External Interfaces" → 'Sub-Group' of "OAI_provider" → Edit 'oaiproviderconfig.xml' and add another 'Metadata Format' entry.
For example - first duplicate:<metadataFormat>
<metadataPrefix>oai_dc</metadataPrefix>
<schema>http://www.openarchives.org/OAI/2.0/oai_dc.xsd</schema><metadataNamespace>http://www.openarchives.org/OAI/2.0/oai_dc/</metadataNamespace>
</metadataFormat>
Eventually, the original and duplicate should look like:<metadataFormat>
<metadataPrefix>oai_dc</metadataPrefix>
<schema>http://www.openarchives.org/OAI/2.0/oai_dc.xsd</schema>
<metadataNamespace>http://www.openarchives.org/OAI/2.0/oai_dc/</metadataNamespace>
</metadataFormat>
<metadataFormat>
<metadataPrefix>oai_dc_2</metadataPrefix>
<schema>http://www.openarchives.org/OAI/2.0/oai_dc.xsd</schema>
<metadataNamespace>http://www.openarchives.org/OAI/2.0/oai_dc/</metadataNamespace>
</metadataFormat>
- Access 'Code Tables' → Edit 'OAI Meta data format' → Select the needed 'Languages' from top of the screen → fill the needed data beneath 'Create a New Code Table Row' → Click 'Create' → Click 'Save'.
e.g:
Code: "oai_dc_2"
Description: "oai_dc_2"
'Language' field can be left empty.
https://youtu.be/5efYh5eFIvo?t=1256
- Article last edited: 02-May-2021