Free cookie consent management tool by TermsFeed a!recordFilterDateRange_20r2 Function
a!recordFilterDateRange_20r2 Function

This page contains information related to an old version of the a!recordFilterDateRange() Function.

To take advantage of the latest features and improvements, we always recommend you use the latest version whenever possible. See the latest version's page for information about what's been changed.

This function creates a Facet type object, and is used within a Record Type Object for creating and configuring date range user filters. See Expression-Based User Filters for common uses.

Function

a!recordFilterDateRange_20r2( name, field, defaultFrom, defaultTo, isVisible )

Creates a user filter for a record list. This is an older version of the a!recordFilterDateRange() function, which supports record type field references.

Parameters

Keyword Type Description

name

Text

The name of the user filter that displays to end users.

field

Text

The name of the field the filter will apply to.

defaultFrom

Text

Determines which, if any, starting date is applied when a record list first loads.

defaultTo

Text

Determines which, if any, ending date is applied when a record list first loads.

isVisible

Boolean

Determines whether the filter is visible to the user at runtime. Default is true.

Returns

Facet

Example

1
2
3
4
5
6
7
=a!recordFilterDateRange_20r2(
   name: "Hire Date",
   field: "hireDate",
   defaultFrom: "today()",
   defaultTo: "today() + 365",
   isVisible: true
)
Open in Github Built: Mon, Apr 22, 2024 (07:49:16 PM)

a!recordFilterDateRange_20r2 Function

FEEDBACK