跳转至

User Select(用户选择(User Select))

Use the User Select widget for selection of user(s) through a single or multi-select dropdown menu.

\User Select widget example

Configuration options

  • Label: Set an optional label for the widget to display text above the dropdown menu.
  • Placeholder: Set optional placeholder text to display in the widget’s empty selection state
  • Selected user(s):
  • If the selection is set to ‘Single’, the widget will be displayed as a single-select dropdown menu.
    • Output variable: The output variable of the widget that stores the user’s selected option. If the selection is set to ‘Single’, the output variable will be a string variable containing the ID of the selected user.
    • Allow clear: Toggle to enable/disable clearing of the selected dropdown menu option.
  • If the selection is set to ‘Multiple’, the widget will display as a multi-select dropdown menu.
    • Output variable: The output variable of the widget that stores the user’s selected option(s). If the selection is set to ‘Multiple’, the output variable will be a string array variable containing the ID(s) of the selected user(s).
  • Specify Multipass group IDs: Provide a string array variable of group IDs to filter users displayed in the dropdown to users in the specified groups. Users must have the View group membership role on the organization for configured groups or else they will see a permission error, see below.

Multipass group IDs permission

If multipass group IDs are provided, users need to have the View group membership permission on the group's Organization, or else they will see a permission error for this widget. This permission can be granted from Settings > Platform Settings > Organizations by selecting the Organization of interest and then choosing Manage for Organization permissions. Read more about managing groups here.


中文翻译

用户选择(User Select)

使用用户选择(User Select)组件,通过单选或多选下拉菜单来选择用户。

\用户选择组件示例

配置选项

  • 标签(Label): 为组件设置可选标签,用于在下拉菜单上方显示文本。
  • 占位符(Placeholder): 设置可选的占位符文本,在组件处于空选择状态时显示。
  • 已选用户(Selected user(s)):
  • 如果选择模式设为"单选(Single)",组件将显示为单选下拉菜单。
    • 输出变量(Output variable): 存储用户所选选项的组件输出变量。若选择模式设为"单选",输出变量将是一个字符串变量,包含所选用户的ID。
    • 允许清除(Allow clear): 切换启用/禁用清除已选下拉菜单选项的功能。
  • 如果选择模式设为"多选(Multiple)",组件将显示为多选下拉菜单。
    • 输出变量(Output variable): 存储用户所选选项的组件输出变量。若选择模式设为"多选",输出变量将是一个字符串数组变量,包含所选用户的ID。
  • 指定Multipass组ID(Specify Multipass group IDs): 提供一个组ID的字符串数组变量,用于将下拉菜单中显示的用户过滤为指定组内的用户。用户必须对已配置的组拥有组织的查看组成员(View group membership)角色,否则将看到权限错误,详见下文

Multipass组ID权限

如果提供了Multipass组ID,用户需要拥有该组所在组织的查看组成员(View group membership)权限,否则将看到此组件的权限错误。可通过设置(Settings) > 平台设置(Platform Settings) > 组织(Organizations),选择目标组织,然后为组织权限(Organization permissions)选择管理(Manage)来授予此权限。了解更多关于管理组的信息