|
This topic describes how to customize an AngularJS-based participant picker for use in a standalone, single-page application based on AngularJS, HTML, or Javascript. The AngularJS-based participant picker was introduced in Windchill 11.0. PTC recommends using it for standalone, single-page applications. To customize a participant picker to use in a JCA page, refer to the JCA-based participant picker topic Configuring a Participant Picker in JCA.
|
Element
|
Type
|
Description
|
---|---|---|
auto-suggest
|
Boolean
|
Set this to “true” to have the picker work as an auto-suggest search.
|
auto-suggest-display-limit
|
Integer
|
The limit of results to return to auto-suggest. This value will override the typical value returned from the server but only if it is less than the max count set on the property com.ptc.netmarkets.userSearch.maxCount.
|
auto-suggest-placeholder
|
String
|
The text to display in the auto-suggest input field. By default the value is Enter participant name.
|
auto-suggest-user-search-field
|
String
|
Specifies which attribute to search on for user type in auto-suggest. It only works when user is the only defined participant type available in the picker. The options are name or userName. The default is name.
|
default-columns-display
|
Object
|
Specifies which columns should be used in the results table and if they are hidden by default. When a column is hidden, it is still available to display through the column toggle support of the results table. The configuration is assigned to a specific participant type.
|
default-directory-service
|
String
|
The directory service from the list of services that should be the default selection. If not provided, the default will be the value specified by the property wt.federation.org.defaultAdapter. If no value is specified in the property or it does not match a directory-service in the directory-services list, All is the default selection when there are multiple directory services.
|
default-participant-type
|
String
|
Specify which of the participant-types should be the default type selected. The default value, if there are multiple types, is All, signifying that all the types provided by participant-types will be used in the search.
|
display-directory-service
|
Boolean
|
Determines if the directory service selections should be displayed. The default value is “false”.
|
display-field
|
String
|
Specifies which attribute of the selected participant type should display after selection in auto-suggest. The default attribute is name.
|
directory-services
|
Array
|
The directory services to be used by the search. If none are specified, the system defaults will be used.
|
embedded
|
Boolean
|
Set this to “true” to embed the picker in the web page instead of it appearing as a popup window.
|
help-link
|
String
|
The value for the help topic to use for this use of the picker. If not provided, the default will be LclSrchParticipantPick.
|
internal-group-search
|
Boolean
|
Set to true to include internal groups in the search results. Default is “false”.
|
ldap-attributes
|
Object
|
A way to specify LDAP attributes for display in the results table and if they are hidden by default. The configuration is assigned to a specific participant type.
|
multi-select-mode
|
Boolean
|
Determines if the participant picker is multi-select or single-select. Default is “true”.
|
participant-picker
|
Directive
|
Directive needed to launch the participant picker. Can be used as an element or attribute.
|
participant-types
|
Array
|
The types of participants to be supported by this launch of the picker. Available values are: User, Group, Organization, Role. Default value is [User, Group, Organization]
|
window-title
|
String
|
The value of the title to use for the Participant Picker pop-up. If none is provided, Find Participants is the default value.
|