How to set complex query on ui_reference element in UI page?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2024 12:02 AM
Hello Community,
Is there any way to call a function in UI page to set complex query/reference qualifier on ui_reference element?
I have tried calling a function with query attribute but it does not work. The attribute "query" is only working with hard-coded query for example: query="active=true".
Regards,
Ujjwal Rana
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2024 12:05 AM
@Ujjwal Rana What kind of a query you need to place in query attribute ?
Also is this UI page called on a UI action and on which table ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2024 12:41 AM
@Mohith Devatte Yes, this UI page I am calling from UI action running on Affected CI (task_ci) table.
The UI page contains one reference field for groups and custom slush bucket holds Affected CIs. I have achieved refreshing slush-bucket values on changing of reference field.
Now, my requirement is to filter groups based on support group available in impacted services added on parent change. As the criteria for filtering groups is not straight forward I need to call a function so that the function will return a query.
Thanks