Many Object Views require the user to filter on visual components such as charts, tables, aggregative metrics and KPIs, and so on. Filter Widgets allow users to apply different types of filters in order to drill-down into a specific subset of Linked Objects on that Object View.
This category includes several Filter Widgets:
Apart from these core Filtering Widgets, which are dedicated to filtering only, there are additional widgets that are dedicated to visualization, but also allow some filtering, such as Charts. The Conditional Container enables displaying/hiding content according to filters that the user interacts with.
Common Issues and Notes:
In order to activate filters to apply across different widgets on a single tab of an Object View, or even across tabs, you have to mark the checkbox of “cross-filtering” on the right-bar editor, under “Settings”. Filters will not apply in tabs that were not marked with this checkbox.
In order to have a filter applied across different tabs, make sure that the “filterSet value“ under the tab Settings has an identical text value across all tabs you wish to filter across. This value is case-sensitive.
In all filter configurations, you will select a Linked Object to the object that you’re currently editing, and not the object that you are editing itself.
Most Filter Widgets only add an optional functionality that allows the user to apply filters locally for the current view of the object they currently browse.
The multiselect filter allows users to filter the Object View by multiple values, with an “OR” statement between them. It keeps all entries that satisfy at least one of the chosen values.
Once configured, this is how it looks:
Note: Each setting that is always required is signed with a (*) sign next to it.
Arriving flights
, and then chooses the property Origin City
for the Flights
object. The dropdown filter would present to the user all 20 origins. Once the user chooses a subset of origins, the table widget would only show arriving flights from this subset of origins.Common Issues and Notes:
This filter enables having one or more filters with a single-selection dropdown of a single property, allowing the user to filter other widgets in the Object View using a dropdown of values.
Once configured, this is how it looks:
For each dropdown filter option you would like to configure, you need to first click on “Add Item”. You will be able to add several dropdown filters under a single widget by just clicking “Add Item” again (they will all appear one next to the other).
Once an item is added, the configuration menu offers two options of "Filter Type":
Option 1 - Dynamic List:
This is the simpler option, allowing an easy selection of an object and a property for the dropdown like most filter widgets:
Option 2 - Value List:
This is the more complex option, specifically for cases where you wish to define an exact list of values to filter from, which would be a sub-list of the full dropdown list. You would need to manually type each and every value you wish to include in the Dropdown Filter for the user. How to configure this:
Common Issues and Notes:
This widget creates a button that with a single click filters to a pre-defined set of values: either text (string) values, a range of numerical values, or a range of dates. A second click on the button un-filters the selection.
This is a rigid filter; once configured by the Object View Editor, there is no configuration choice available to end users.
Note that the button changes color as you select or unselect it. You can add an Active Filter to make the state visually clear.
Once configured, this is how it looks:
First, select a button filter type:
For all 3 types of button filters, you will have the following:
[Required] Object to Filter: Select the Linked Object for this filter to apply on.
[Required] Property to Filter: select the property you want to filter down by: (I) you first need to select the object type for the filter; and then (II) select the property of that object that you wish to filter by.
[Required] From this point, the setting of the button is different per button type:
[Optional] Button Label: the text to display on the button. It’s optional, but it's best practice to create a button with a label.
[Optional] Button color: The default color is grey. To select a different color for the button, use the Blueprint standard colors (see https://blueprintjs.com/docs/#core/colors) or use the internal Palantir Blueprint library. Basic colors (“Blue”, “Red”, “Yellow”, etc.) would also work.
Common Issues and Notes:
The Date Range Filter allows users to filter down their Object View to a range of dates, based on a specific date property. Once configured, any widget in the Object View is affected once a date range is chosen and the user selects Submit. Views will only display object instances where the date in the chosen date property is within the range.
Note that you should insert the object ID of the object that you want to filter down, which is usually a Linked Object to the object that you are currently configuring.
Once configured, this is how it looks:
Common Issues and Notes:
This widget creates a flexible filtering experience, allowing the user to filter the current Object View by any specific set of values out of all properties of that Linked Object.
This widget enables a high degree of choice, but also higher complexity for the user. It requires the user to understand and know the properties of the Linked Object, while all other Filter Widgets (e.g. Dropdown Filter, Button Filter) pre-configure them.
Once configured, this is how it looks:
Configuration of this widget only requires selecting the Linked Object that you wish the Object View to filter by. The rest of the configuration, i.e. choosing the specific properties and values to filter by, is completely up to the user and would apply locally on their view only. Once the user refreshes the page or turns to a different object, they would need to re-configure these filters again.
Common Issues and Notes:
The Filter Sandbox Container enables you to organize widgets into a container such that all filters inside it are sandboxed, meaning they only affect and are affected by other widgets inside this container.
Add the Filter Sandbox Container widget, then add existing widgets into the container by clicking on "Add Item". Select the widget to add from the widget selector.
The other configuration option is the filter set identifier. By default, a new unique value is generated for every new filter sandbox. It can be changed if you want to share filters with:
Common Issues and Notes:
This widget enables creating a contained subset of widgets with a pre-defined set of filters applied only on them.
This subset of filters can be defined on any combination of the following property types: (1) list of text (string) values; (2) numeric range; and\or (3) date range.
Do not use this widget as a filter sandbox, as it was built to only support pre-defined filters.
Note: To have a filtering sandbox container (that is, to have filters apply only within a container and not be affected by external filters), use the Filter Sandbox Container instead.
The Filter Container configuration has two parts:
Part 1 - Apply pre-configured filters on all widgets within the container
These pre-defined filters would be applied by default only to widgets within the container. Pre-defined filters in the container can be any combination of the following three filter types:
For each default filter, you need to configure the following:
Cross-filtering settings:
How to use these toggles?
Common Issues and Notes:
Part 2 - Filter Container as a Container of widgets
Configure views within this container as with any other container. Every widget you add would be subscribed to the pre-defined filters of the Filter Container, as well as any other filter defined to affect it.
Once you click on “Add Section”, you get the same configuration experience as with any other “Add Section” on the main Object View or on other widgets with nested tabs (e.g. any Container widget).
Section layout:
This determines whether widgets within the Filter Container would be stacked vertically (one under the other, this is the default) or horizontally (one next to the other, from left to right).
This widget displays a summary of all filters that are currently applied on the Object View, and allows the user to either remove individual filters or clear all filters. There is no configuration required for this filter.
Active Filter is a useful visual indication for the user to understand which filters are currently active on their Object View. Once your Object View contains several filtering widgets (filtering using charts included), and especially if you use Filter Container or Button Filter, the visibility of active filters is important for the user experience.
Once configured, it will look like the interactive widget below, with a filter icon to the left. In this example, it is affected by the different filter widgets:
There’s no configuration for the Active Filter widget. Simply add it as a new section.
Common Issues and Notes: