Skip to main content

Person selection custom function

The Person input field is used in forms to enter a person, such as a requester, solver, note author, etc. The field allows you to search and select a person from a menu. The field is used in many forms across the WebApp, e.g., New ticket, Send message, etc. It is also used for the User type custom fields.

Default behavior

By default, the Person field entry consists of two rows formatted as follows:

  • row 1: user_name
  • row 2: department; office; personal_number; organization; work_phone; mobile_number

When user searches a person by entering a text in the field, the text is searched in all person information displayed in the entries. Search results are ordered by person's name.

Custom function

This cutomization is not available in ALVAO SaaS.

If you wish to change the way the application searches, sorts and displays entries in the person field, create the spPersonSearch_Custom2 procedure in the database. If the spPersonSearch_Custom2 procedure is defined in the database, it will always be used for the person menu instead of the default spPersonSearch procedure. The spPersonSearch_Custom2 procedure has the same inputs and outputs as the existing spPersonSearch procedure.