Adding a New User ID Directory
This page contains configuration instructions for advanced IPT users only. |
Since IPT v2.2 the IPT ships with 4 user directories to choose from when entering a user ID for any contact, creator, metadata provider, associated party, or project personnel. Those directories are:
-
https://orcid.org/ (ORCID)
-
https://www.researcherid.com/rid/ (ResearcherID)
-
https://scholar.google.com/citations?user= (Google Scholar)
-
https://www.linkedin.com/profile/view?id= (LinkedIn)
After having selected a user directory, IPT users enter a conjoining user ID. The combination of the two is used to form a link to a user profile page, for example:
The list of user directories can be modified, however, which is useful for communities that rely on other directories.
The steps below explain how to configure the IPT with another user directory to choose from.
Instructions
Locate the UserDirectories.properties file e.g. tomcat7/webapps/ipt/WEB-INF/classes/org/gbif/metadata/eml/licenses.properties
. Open the file in a text editor, and do the following:
-
Add a new property defining the user directory using the following format:
URL=URL # For example: http\://orcid.org/=http://orcid.org/
-
Double check
-
the colon in the property key is escaped by a backwards slash,
-
both the key and value are equal, with the exception of the escape character in the key
-
-
Backup the UserDirectories.properties file, since it will get overwritten the next time you upgrade your IPT
-
Restart your servlet container (e.g. Tomcat) so that the new configuration takes effect