How to add filter to the g_modal reference field in workspace UI Action
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2023 03:49 AM
I have an UI Action button on my workspace. I am using the g_modal shown script shown below. I want to filter the 'Group' table in the "reference" Assignment group field to only show certain records from that table.
Is there any way to achieve this?
Any help is appreciated.
var fields = [{
type: 'reference',
name: 'assignment_group',
label: getMessage('Assignment group'),
mandatory: true,
reference: 'sys_user_group',
referringTable: 'sn_hr_core_case',
referringRecordId: g_form.getUniqueValue()
},
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2023 10:42 PM
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2023 12:39 AM
add one more line like this
"query" : "type=itil",
If my inputs have helped with your question, please mark my answer as accepted solution, and give a thumb up.
Bharath Chintala
Bharath Chintala