From a054fd6136cc201ec81eb67ad783d8b109b74cec Mon Sep 17 00:00:00 2001 From: SupermanBritt <57573715+SupermanBritt@users.noreply.github.com> Date: Wed, 31 Dec 2025 16:48:40 -0500 Subject: [PATCH 1/5] Clarified field types in Computed.md --- docs/DataPortals/05.Control-Details/Computed.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/docs/DataPortals/05.Control-Details/Computed.md b/docs/DataPortals/05.Control-Details/Computed.md index ec57715..9d598d3 100644 --- a/docs/DataPortals/05.Control-Details/Computed.md +++ b/docs/DataPortals/05.Control-Details/Computed.md @@ -19,14 +19,19 @@ The **Computed** control type creates a read-only control showing a value comput - [**Name**:](../06.Setting-Details/Name.md) The name of the field saved to the database. -- [**Type**:](../06.Setting-Details/Type.md) Can be any numeric type, including (but not limited to): +- [**Type**:](../06.Setting-Details/Type.md) Can be any of the following types: + - `System.Int16` - `System.Int32` + - `System.Int64` - `System.Double` + - `System.Single` - `System.Decimal` + - `System.String` + - `System.Boolean` - [**ControlType**:](../06.Setting-Details/ControlType.md) Must be set to `Computed`. -- [**ComputedCondition**](../06.Setting-Details/ComputedCondition.md) +- [**ComputedCondition**](../06.Setting-Details/ComputedCondition.md) Must be set in order to compute the value. ## Optional Fields From c7ea447007347c9f1405063ec492f61688fb08be Mon Sep 17 00:00:00 2001 From: SupermanBritt <57573715+SupermanBritt@users.noreply.github.com> Date: Wed, 31 Dec 2025 17:02:04 -0500 Subject: [PATCH 2/5] Enhance ComputedCondition documentation Added details about supported operands for numeric and string values in the ComputedCondition column. --- .../06.Setting-Details/ComputedCondition.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/DataPortals/06.Setting-Details/ComputedCondition.md b/docs/DataPortals/06.Setting-Details/ComputedCondition.md index 33267a2..88a3028 100644 --- a/docs/DataPortals/06.Setting-Details/ComputedCondition.md +++ b/docs/DataPortals/06.Setting-Details/ComputedCondition.md @@ -11,6 +11,17 @@ some_url: https://docs.composable.ai The **ComputedCondition** column on a container field defines the computation to perform for a [Computed](../05.Control-Details/Computed.md) control. +The **ComputedCondition** column specifies the operations and values to use to compute a [Computed](../05.Control-Details/Computed.md) control value. Table values can be referenced via their name. + +#### Supported Operands by Type +- #### Numeric Values + The following operands are supported for numeric values: +, -, *, /. + Example: + To multiply a number stored in the column named "NumberValue" by 5 the ComputedCondition should be set to: + `NumberValue * 5` +- #### Strings + For strings the only operand available are + which are used to append strings together. + ## Controls The **ComputedCondition** column applies to the following controls: From 7d325a944013cc2128eb419e39d276c8a02672db Mon Sep 17 00:00:00 2001 From: SupermanBritt <57573715+SupermanBritt@users.noreply.github.com> Date: Mon, 5 Jan 2026 08:54:24 -0500 Subject: [PATCH 3/5] Add string example in ComputedCondition documentation --- docs/DataPortals/06.Setting-Details/ComputedCondition.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/DataPortals/06.Setting-Details/ComputedCondition.md b/docs/DataPortals/06.Setting-Details/ComputedCondition.md index 88a3028..926dd91 100644 --- a/docs/DataPortals/06.Setting-Details/ComputedCondition.md +++ b/docs/DataPortals/06.Setting-Details/ComputedCondition.md @@ -17,10 +17,13 @@ The **ComputedCondition** column specifies the operations and values to use to c - #### Numeric Values The following operands are supported for numeric values: +, -, *, /. Example: - To multiply a number stored in the column named "NumberValue" by 5 the ComputedCondition should be set to: + To multiply a number stored in the column named "NumberValue" by 5, the ComputedCondition should be set to: `NumberValue * 5` - #### Strings For strings the only operand available are + which are used to append strings together. + Example: + To add a string stored in the column names "StringValue" to the beginning of the string "test", the ComputedColumn should be set to: + `StringValue + "test"` ## Controls From 9403dafe16d6446f7902541e1fdaac02f4f102aa Mon Sep 17 00:00:00 2001 From: Brittany Ficarra <57573715+SupermanBritt@users.noreply.github.com> Date: Mon, 2 Feb 2026 09:00:11 -0500 Subject: [PATCH 4/5] Finished adding documentation to ComputedCondition Added information on the supported operands and how they work as well as built in variables. --- .../06.Setting-Details/ComputedCondition.md | 35 ++++++++++++------- 1 file changed, 22 insertions(+), 13 deletions(-) diff --git a/docs/DataPortals/06.Setting-Details/ComputedCondition.md b/docs/DataPortals/06.Setting-Details/ComputedCondition.md index 926dd91..ff476db 100644 --- a/docs/DataPortals/06.Setting-Details/ComputedCondition.md +++ b/docs/DataPortals/06.Setting-Details/ComputedCondition.md @@ -11,22 +11,31 @@ some_url: https://docs.composable.ai The **ComputedCondition** column on a container field defines the computation to perform for a [Computed](../05.Control-Details/Computed.md) control. -The **ComputedCondition** column specifies the operations and values to use to compute a [Computed](../05.Control-Details/Computed.md) control value. Table values can be referenced via their name. - -#### Supported Operands by Type -- #### Numeric Values - The following operands are supported for numeric values: +, -, *, /. - Example: - To multiply a number stored in the column named "NumberValue" by 5, the ComputedCondition should be set to: - `NumberValue * 5` +The **ComputedCondition** column specifies the operations and values to use to compute a [Computed](../05.Control-Details/Computed.md) control value. Table values can be referenced via their name. Additionally, the values for e and pi can be referenced using `E` and `PI`. + +#### Supported Operands and Their Functions by Type +- #### All Types + The following operands are supported by all types: `(, ), ?, :, ==, !=, +, <, >, <=, >=`.\ + `?` and `:` can be used together for ternerary computations such as `NumberValue == 5 ? "The number is 5" : "The number is not 5"`.\ + To chain computations together that result in boolean values, `AND` and `OR` can be used. +- #### Numbers + In addition to the operands listed above, the following operands are supported for numeric values: `-, *, /`. + + Example:\ + To multiply a number stored in the column named "NumberValue" by 5, the ComputedCondition should be set to: `NumberValue * 5` - #### Strings - For strings the only operand available are + which are used to append strings together. - Example: - To add a string stored in the column names "StringValue" to the beginning of the string "test", the ComputedColumn should be set to: - `StringValue + "test"` + For strings + can be used to append two strings together, whereas < and > can be used to tell if a string comes before or after the other string in alphabetical order. + + Example:\ + To add a string stored in a column named `StringValue` to the beginning of the string `"test"`, the ComputedColumn should be set to: `StringValue + "test"`. +- ### Booleans + In addition to the operands listed above, the following operands are supported for booleans: `-, *, /, AND, OR`. For booleans `+, -, *, /` are computed with `true` as `1` and `false` as `0`. + + Example:\ + To see if `BooleanValue1` and `BooleanValue2` are both `true`, the ComputedColumn should be set to `BooleanVal1 AND BooleanVal2` ## Controls The **ComputedCondition** column applies to the following controls: -- [Computed](../05.Control-Details/Computed.md) +- [Computed](../05.Control-Details/Computed.md) \ No newline at end of file From d4249123096bcc005eb735d08923b2ef9bcf9059 Mon Sep 17 00:00:00 2001 From: Brittany Ficarra <57573715+SupermanBritt@users.noreply.github.com> Date: Mon, 2 Feb 2026 10:28:16 -0500 Subject: [PATCH 5/5] Removed comma Removed the comma between parenthesis. --- docs/DataPortals/06.Setting-Details/ComputedCondition.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/DataPortals/06.Setting-Details/ComputedCondition.md b/docs/DataPortals/06.Setting-Details/ComputedCondition.md index ff476db..fefc61f 100644 --- a/docs/DataPortals/06.Setting-Details/ComputedCondition.md +++ b/docs/DataPortals/06.Setting-Details/ComputedCondition.md @@ -15,7 +15,7 @@ The **ComputedCondition** column specifies the operations and values to use to c #### Supported Operands and Their Functions by Type - #### All Types - The following operands are supported by all types: `(, ), ?, :, ==, !=, +, <, >, <=, >=`.\ + The following operands are supported by all types: `( ), ?, :, ==, !=, +, <, >, <=, >=`.\ `?` and `:` can be used together for ternerary computations such as `NumberValue == 5 ? "The number is 5" : "The number is not 5"`.\ To chain computations together that result in boolean values, `AND` and `OR` can be used. - #### Numbers