|
This topic describes how to customize a JCA-based participant picker for use in JCA tables. In Windchill 11.0, a new participant picker based on AngularJS has been introduced and PTC recommends using it for standalone, single-page applications based on AngularJS, HTML, or Javascript. For more information, see Configuring a Participant Picker in AngularJS.
|
Element
|
Type
|
Description
|
---|---|---|
actionClass
|
Tag Attribute
|
Name of the action class that needs to be invoked for processing the selected Participants.
|
actionMethod
|
Tag Attribute
|
Name of the action method that needs to be invoked for processing the selected Participants.
|
select
|
Tag Attribute
|
This will determine whether the picker allows multiple selections ("multi"), or just a single select ("single").
|
participantType
|
Tag Attribute
|
Use this to set the default to any Participant type. The class com.ptc.core.components.beans.
PrincipalBean has four string constants defined, which one can be pass to this attribute. The constants are ALL_PARTICIPANT, USER, GROUP and ORG.
|
singleParticipantType
|
Tag Attribute
|
Use this to set the default Participant type specified in the tag attribute participantType as the only supported type. This takes value true/false. When set to true, it will restrict to single type specified as in the attribute participantType. When set to false or left unspecified, the picker supports participant types ALL_PARTICIPANT, USER, GROUP, ORG.
|
associationMap
|
Tag Attribute
|
This map contains key, value pairs of association to be displayed in association drop down list. Keys are Java String literals that are returned to the user upon selection of any association. Value is a localized string that is displayed in association drop down list.
|
defaultAssociation
|
Tag Attribute
|
The association you desire to be pre selected in the dropdown should be passed in this attribute.
|
associationLabel
|
Tag Attribute
|
The localized string for Display Label of the association.
|
emailAllowed
|
Tag Attribute
|
Set this to "true" to get email Textbox rendered. You can type any comma or space separated emails that you desire to invite.
|
contextMap
|
Tag Attribute
|
The List of Context in which you wants to perform Search In. This map contains key, value pairs of contexts to be displayed in Search In drop down list. Keys are Java String literals that represent oid of the Windchill object. Value is a localized string that is displayed in Search In drop down list.
|
filterEmail
|
Tag Attribute
|
If this attribute is set to “true” when searching for users, only users with email addresses are returned. Default is “false”.
|
recentAllowed
|
Tag Attribute
|
Set this to “false” to prevent the recent participants TextBox from being rendered. Default is “true”.
|
applicationContextSearch
|
Tag Attribute
|
If this attribute is set to “true” when searching for users, only users within a specified application context will be returned. Default is “false”.
|
defaultContext
|
Tag Attribute
|
The context you desire to be pre selected in the dropdown should be passed in this attribute.
|
serviceMap
|
Tag Attribute
|
LDAP server's list is passed, to perform search. Default this attribute is not supplied. This map contains key, value pairs of contexts to be displayed in Service drop down list. Keys are Java String literals that represent the LDAP Server. Value is a localized string that is displayed in Service drop down list.
|
includeInternal
|
Tag Attribute
|
Set this to “true” to search for internal groups. Default is “false”.
|
disableRestrictedSearchScope
|
Tag Attribute
|
Set this to “true” to bypass the restricted search scope set on the organization. Default is “false”.
|
enforceRestrictedSearchScope
|
Tag Attribute
|
Set this to “true” to force the restricted search scope, despite how it is set on the organization. Default is “false”.
|
showRoles
|
Tag Attribute
|
Set this to “true” to add a filter on search to restrict search scope to the selected role. This option will only display when the type option is User.
When true, this will provide a dropdown list of available roles in the search criteria. The roles will come from the passed in context.
Default is “false”.
|
resourcePool
|
Tag Attribute
|
This will provide the pool of principals to search.
All access control rules will still apply.
|
searchProfileGroups
|
Tag Attribute
|
Set this to “true” to search only profile groups in the system.
Default is “false”.
|
searchDisconnectedPrincipals
|
Tag Attribute
|
Set this to “PrincipalBean.LDAP” to search only disconnected principals in LDAP.
Set this to “PrincipalBean.DB” to search only disconnected principals in the DB.
Default is “false”.
|
title
|
Tag Attribute
|
This will provide the title for the participant picker window.
Default is “Find Participant”.
|
showSearchIn
|
Tag Attribute
|
This will determine whether or not the "Search In:" field shows up in the participant picker. Default is "true" to preserve existing functionality.
|
helpSelectorKey
|
Tag Attribute
|
This will set the help link for the picker, if nothing is provided it will default to the service.properties value for ParticipantPickerHelp
|
enforceModifyPermission
|
Tag Attribute
|
This will filter the search results to only return objects that the current user has MODIFY permission on.
|