Input Naming Convention Flags

Last modified: October 29th, 2024

As of October 2024, CloudCannon's input naming convention behavior changed for all new Sites and Sites using Unified Configuration. For more information, please read out guide on migrating to Unified Configuration or contact our friendly support team.

In older versions of CloudCannon, you could define which Collections or data sets populated a Select or Multiselect input or which Structures populated an Object input or Array input using a naming convention.

Sites using Unified Configuration may require you to configure this behavior rather than rely on the naming convention for CloudCannon to detect what should populate an input.

Infer Select values from input key#

The Infer Select values from input key flag controls whether CloudCannon uses the input naming convention to determine which Collections or data sets should populate a Select or Multiselect input.

This convention involved naming the input the singular noun of a Collection or data set name. For example, an unconfigured input named author will automatically become a Select input referencing a Collection named authors.

CloudCannon no longer uses this behavior by default. New Sites created after October 2024 and sites using Unified Configuration do not have this flag enabled. You can enable this behavior by checking the Infer Select values from input key flag on the Flags page of your Site, under Site Settings.

Infer Structure values from input key#

The Infer Structure from input key flag controls whether CloudCannon uses the input naming convention to determine which Structures should populate an Object or Array input.

This convention involved naming the Structure the same as an input. For example, an unconfigured input named content_blocks will automatically become an array of the structure named content_blocks.

CloudCannon enables this behavior by default to support older Site configurations. You can disable this behavior by checking the Infer Structure from input key flag on the Flags page of your Site, under Site Settings.

Open in a new tab