Show User Single Selection Dialog BX24.selectUser

BX24.selectUser(callback: callable): void;
        

The BX24.selectUser method displays the standard single user selection dialog.

Method Parameters

Required parameters are marked with *

Name
type

Description

callback*
callable

Callback function.

The callback handler will receive an object of the form {id: integer, name: string}, where:

  • id — user identifier
  • name — formatted user name

Code Example

BX24.selectUser(
            function(params)
            {
                BX('student').value = params.name;
                BX('student_external_id').value = params.id;
            }
        )
        

How to Use Examples in Documentation

Continue Learning