This renderer can be used for rendering a clickable display of the user where the display name
and user name are derived from splitting the
propertyToRender on the "|"
delimitter.
- Since:
- 1.0.86
- Copyright:
- Copyright (C) 2005-2020 Alfresco Software Limited
- License:
- GNU Lesser General Public License, see: Open Source Licensing
- Source:
Extends
- alfresco/renderers/PropertyLink
Members
-
displayNameProperty :string
-
The property within the currentItem to set the display name.
Type:
- string
- Default Value:
- "displayName"
- Source:
-
useCurrentItemAsPayload :boolean
-
Overrides the inherited attribute so that the currentItem is not used as the published payload by default.
Type:
- boolean
- Default Value:
- false
- Source:
-
userNameProperty :string
-
The property within the currentItem to set the user name.
Type:
- string
- Default Value:
- "userName"
- Source:
Methods
-
getRenderedProperty(property) → {string}
-
Extends the inherited function to establish the userName and displayName from the tokenised value. If the value supplied is not delimited by "|" it is set as both the userName and displayName. The displayNameProperty and userNameProperty are set in the currentItem.
Parameters:
Name Type Description property
string The name of the property to render - Source:
Returns:
The rendered property- Type
- string