Customizing condition field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2022 12:49 AM
Hi
I am trying to add a Conditions data type field to a custom table to create filter conditions.My criteria:
1.It should have only a few selective columns for query creation.
2.Only AND clause should be used.
Can someone please help me to customize according to these?
Thank You
Shuvaday Chatterjee
- Labels:
-
Scoped App Development
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2022 05:01 AM
Your question is not clear.
Could you please provide an example for better understanding.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2022 09:39 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2022 02:28 AM
Hi Shuvaday,
>2.the filter should be applied only on a few columns of the table.
If only columns that can be filtered should be shown, this can be done by database view.
Otherwise, it would be necessary to build a custom widget that can be used in service portal.
AFAIK, it not possible to customize OOTB filter conditions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2022 10:09 PM
I don't think you can show selective columns for query; it would show all from the table
Also you cannot remove the OR clause without using DOM manipulation which is not recommended.
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader