You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/en/docs/refguide/modeling/pages/page/page-parameter.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ weight: 70
9
9
10
10
Parameters are the means by which you pass data to your page. When a page is loaded, the parameters are filled with the current values.
11
11
12
-
To use an object or primitive value in your page, define a parameter. In the image below, the parameter is named CustomerName, is of type string, is not required, and has a default value of an empty string `''`.
12
+
To use an object or primitive value in your page, define a parameter. In the image below, the parameter is named **CustomerName**, is of type string, is not required, and has a default value of an empty string `''`.
Determines whether it is **required** or **optional** to [pass an argument](/refguide/page-parameter/#passing-arguments) to the parameter when opening the page. If it is required it is mandatory to supply an argument for that parameter when opening a page.
30
+
Argument determines whether it is **required** or **optional** to [pass an argument](/refguide/page-parameter/#passing-arguments) to the parameter when opening the page. If it is required it is mandatory to supply an argument for that parameter when opening a page.
31
31
32
32
### Default Value
33
33
@@ -36,7 +36,7 @@ When an argument is set to **optional**, a default value can be set. When a defa
The default value is used when the argument is omitted during **modeling**. Not when the argument value is `empty` during **runtime**.
39
+
The default value is used when the argument is omitted during **modeling**. Not when the argument value is `empty` during **runtime**.
40
40
{{% /alert %}}
41
41
42
42
## Passing Arguments {#passing-arguments}
@@ -53,6 +53,6 @@ Variable arguments are used to pass parameters from the context to the page. Thi
53
53
54
54
### Expression-Based Arguments
55
55
56
-
Objects and primitive values, such as `Boolean`, `Date and time`, `Decimal`, `Enumeration`, `Integer/Long`, and `String`, can be passed and used in expressions. This method allows users to use functions and follow associations within the expression to set the argument values. Using expressions for arguments provides flexibility in setting values and improves the functionality of pages. In the example below, the page has a parameter **AnimalName** which is populated by an expression extracting the **Name** member of the provided **Animal** object.
56
+
Objects and primitive values, such as `Boolean`, `Date and time`, `Decimal`, `Enumeration`, `Integer/Long`, and `String`, can be passed and used in expressions. This method allows users to use functions and follow associations within the expression to set the argument values. Using expressions for arguments provides flexibility in setting values and improves the functionality of pages. In the example below, the page has a parameter **AnimalName** which is populated by an expression extracting the **Name** member of the provided **Animal** object:
0 commit comments