@dalemoore wrote:
On the “Import and export users” section of the Data Import and Export page of the documentation, it says this:
- If you allow the system to generate passwords for the users you are uploading, you can optionally allow the system to email the users with their account credentials. This option can be found on the Users XML Plugin Page (“Send a notification email to each imported user containing the user’s username and password.”).
This seems inaccurate. Even on the latest version of OJS 3.1.2.1, there is no option in the Users XML Plugin page to notify users on import. Also, it does not seem possible to allow the plugin to generate a password on import. You can’t even import anybody unless you include the password element and a value. If I don’t include the password element in the XML, it says that it’s required and errors. If I just include
<password/>
, it requires children elements (Element '{http://pkp.sfu.ca}password': Missing child element(s). Expected is ( {http://pkp.sfu.ca}value ).
). If I include<password><value/></password>
it imports successfully, but what does it set the password to? Also, it doesn’t send any notification to the imported user. According to https://github.com/pkp/pkp-lib/issues/2166 notifications have been implemented as of 3.1.2.What is the proper way to format the XML file so that it auto-generates a password, and sends the user a notification on import like the documentation suggests?
Thanks!
Posts: 1
Participants: 1