Enumeration: ParameterType¶
Enumeration of types of formula parameters. These describe Coda value types (as opposed to JavaScript value types).
Enumeration members¶
Boolean¶
• Boolean = "boolean"
Indicates a parameter that is a Coda boolean value.
Defined in¶
BooleanArray¶
• BooleanArray = "booleanArray"
Indicates a parameter that is a list of Coda boolean values.
Defined in¶
Date¶
• Date = "date"
Indicates a parameter that is a Coda date value (which includes time and datetime values).
Defined in¶
DateArray¶
• DateArray = "dateArray"
Indicates a parameter that is a list of Coda date values (which includes time and datetime values).
Currently, when such a parameter is used with a sync table formula or an action formula (isAction), which will generate a builder UI for selecting parameters, a date array parameter will always render as a date range selector. A date range will always be passed to a pack formula as a list of two elements, the beginning of the range and the end of the range.
Defined in¶
Html¶
• Html = "html"
Indicates a parameter that is a Coda rich text value that should be passed to the pack as HTML.
Defined in¶
HtmlArray¶
• HtmlArray = "htmlArray
"`
Indicates a parameter that is a list of Coda rich text values that should be passed to the pack as HTML.
Defined in¶
Image¶
• Image = "image"
Indicates a parameter that is a Coda image. The pack is passed an image URL.
Defined in¶
ImageArray¶
• ImageArray = "imageArray"
Indicates a parameter that is a list of Coda image values. The pack is passed a list of image URLs.
Defined in¶
Number¶
• Number = "number"
Indicates a parameter that is a Coda number value.
Defined in¶
NumberArray¶
• NumberArray = "numberArray"
Indicates a parameter that is a list of Coda number values.
Defined in¶
String¶
• String = "string"
Indicates a parameter that is a Coda text value.
Defined in¶
StringArray¶
• StringArray = "stringArray"
Indicates a parameter that is a list of Coda text values.