fc.graphql.compatibility.articlesByLocation.defaultSearchPeriodDays
Setting
Changed on:
18 Feb 2026
| Setting Area | System |
|---|---|
| Supported context levels: | ACCOUNT |
Overview
This setting controls how far back the system looks when querying articles by location if you don't specify explicit dates. When the`articlesByLocation` query is missing the `from` and/or `to` date parameters, this setting automatically fills in the gaps by calculating a time window of the specified number of days.When this applies:- Only when
`fc.graphql.compatibility.articlesByLocation.queryStrategy`is set to`dynamic` - Default for new accounts created on or after 2026-02-16
- Opt-in for existing accounts
Values
| Data Type | Values |
|---|---|
| INTEGER | Default Value:
|
Detailed technical description
This setting determines the search window in days when one or more article's`createdOn` parameters are absent:- If both
`from`and`to`are missing: The system automatically retrieves articles from the past 30 days (sets`to`as the current time and`from`as 30 days prior). - If
`from`is provided, but`to`is missing: The system calculates the`to`date as`from + 30 days`. - If
`to`is provided, but`from`is missing: The system calculates the`from`date as`to - 30 days`.
If set to 30 days (default), a query without dates will automatically retrieve articles created in the last 30 days. If you provide only a
`from` date, the system calculates `to` as 30 days later. If you provide only a `to` date, the system calculates `from` as 30 days earlier.Configuration example
1POST {{fluentApiHost}}/graphql
2
3mutation CreateSetting {
4 createSetting(input: {
5 name: "fc.graphql.compatibility.articlesByLocation.defaultSearchPeriodDays",
6 valueType: "INTEGER",
7 value: 40,
8 context: "ACCOUNT",
9 contextId: 0}) {
10 id
11 name
12 }
13}Update example
1POST {{fluentApiHost}}/graphql
2
3mutation updateSetting {
4 updateSetting(input: {
5 id: 5001464,
6 name: "fc.graphql.compatibility.articlesByLocation.defaultSearchPeriodDays",
7 valueType: "INTEGER",
8 value: 15,
9 context: "ACCOUNT",
10 contextId: 0}) {
11 id
12 name
13 }
14}