How to define filter on a reference field when using g_modal on a Workspace UI Action
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-15-2023 07:06 AM
So, I'm currently configuring a new Workspace UI action, showing a modal pane to collect specific details. One of the fields would be to collect a user via reference field. I can create the fields, but I don't know how to add any filter condition for the reference variable. Any ideas how to do it, which attribute to add to the field definition?
So assuming I'm having the following field definition:
{
type: 'reference',
name: 'caller_id',
label: getMessage('Select someone'),
mandatory: true,
reference: 'sys_user',
referringTable: 'incident',
referringRecordId: g_form.getUniqueValue(),
value: g_form.getValue('caller_id'),
displayValue: g_form.getDisplayValue('caller_id')
}
How to add a filter that will only show people whose first name starts with "S" for example?
- 589 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-05-2024 03:40 AM
were you able to find answers?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-19-2024 05:39 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-19-2024 06:54 AM
Hi,
Unfortunately no, this requirement was dropped by customer.