How can I add another option (next 2 hours for example) in the dropdown list placed after the filter operator for date/time fields?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-26-2016 06:34 AM
Hi,
I am trying to add another custom option in the dropdown list (next 2 hours for example) which is placed after the filter operator.
The filter should look something like:
Ordered after next 2 hours
As I tried to find how to change, I began to get the impression that this list is pregenerated and not editable.
Thanks in advance,
Kiril.
- Labels:
-
Performance Analytics

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-26-2020 03:12 PM
I added the UI Script that he provided to a new custom script and tried calling it both getDaysAgoByDay and by other names. However, neither variants result in his custom weekday filters appearing in the list of Time Filters available for the Opened field on the Incident table.
Is there some way to make this UI Script work to update the list of available time filters?
Thanks guys.
That Business Rule, "Get Date Filter Options for Date Filters", is actually for adding choices to the Date Filter section of the configuration menu for PA Interactive Filters. I tested it by using it to rename the Last 6 months filter to Last 7 months. You can see it successfully edited this object. However, the Condition Builder still has the OOTB "Last 6 months" variant, indicating this method is limited to only working on Interactive Filters.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-09-2020 07:25 PM
The way that the condition builder and interactive filters are populated is different. I don't recall where the condition builder is populated but it is different (it may be a UI macro).
Be very cautious moving forward with editing this during upgrades. This could cause issues if not properly reviewed for changes during an upgrade.