Native xml issue import affiliation failes

Hi
OJS 3.1.1.4 - I see no possibility to import the author’s affiliation using the native xml import plugin. In PKP’s example https://github.com/pkp/ojs/blob/master/plugins/importexport/native/sample.xml there’s no affiliation element.
To set <affiliation> as a child element of <author> the import failes.

        <author primary_contact="true" include_in_browse="true" user_group_ref="Author">
                  <firstname>Rolf</firstname>
                  <lastname>Müller</lastname>
                  <email>rolf.mueller@bluewin.ch</email>
                  <affiliation>UB Bern</affiliation>
        		  <orcid></orcid>
                </author>

thanks
jan

Hi @trace,

The affiliation element is localized, so you’ll need to set a locale attribute on it.

Regards,
Alec Smecher
Public Knowledge Project Team

1 Like