Constructor
new EMLParty()
- Source:
- See:
-
Extends
Members
partyTypes :Array.<object>
Type:
Properties:
Name |
Type |
Description |
label |
string
|
The name of the party category to display to the user |
dataCategory |
string
|
The string that is used to represent this party. This value
should exactly match one of the strings listed in EMLParty typeOptions or EMLParty roleOptions. |
description |
string
|
An optional description to display below the label to help the user
with this category. |
createFromUser |
boolean
|
If set to true, the information from the logged-in user will be
used to create an EML party for this category if none exist already when the view loads. |
limit |
number
|
If the number of parties allowed for this category is not unlimited,
then limit should be set to the maximum allowable number. |
- Since:
- Source:
Methods
getName() → {string}
getName - For an individual, returns the first and last name as a string. Otherwise,
returns the organization or position name.
- Since:
- Source:
Returns:
Returns the name of the party or an empty string if one cannot be found
-
Type
-
string
toCSLJSON() → {object}
- Since:
- Source:
Returns:
The CSL JSON object
-
Type
-
object