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
|[Dataset](/refguide/data-sets/)| Pages | Datasets define the data shown in reports widgets. |
31
32
|[Java action](/refguide/java-actions/)| Microflows | Java actions can extend the functionality of your application. They can be called from microflows. |
32
33
|[JavaScript action](/refguide/javascript-actions/)| Nanoflow | JavaScript actions can extend the functionality of your application. They can be called from nanoflows. |
34
+
|[Task queue](/refguide/task-queue/)| Microflows and Java actions | A Task queue allows you to run microflows or Java actions asynchronously while controlling the number of tasks that are active. |
33
35
|[Rule](/refguide/rules/)| Microflows | Rules contain the application logic that should result in an enumeration or a Boolean. They are used in decisions in microflows. |
34
36
|[Enumeration](/refguide/enumerations/)| Domain model | Enumerations are used to define attributes of an enumeration type. |
35
-
|[Dataset](/refguide/data-sets/)| Pages | Datasets define the data shown in reports widgets. |
36
37
|[Constant](/refguide/constants/)| Microflow expressions and Consumed web services | Constants are used to define configuration values. |
37
38
|[Regular expression](/refguide/regular-expressions/)| Domain model | Regular expressions are used in validation rules to define criteria that a string should match to pass the validation. They cannot be used in other places which require regular expressions (for example, the *isMatch()* function). |
38
39
|[Scheduled event](/refguide/scheduled-events/)| Microflows | Scheduled events let the runtime execute a microflow at a specific moment in time. |
39
-
|[Document template](/refguide/document-templates/)| Microflows | Document template is used to format the document in a client and to download or print it. |
40
+
|[Document template](/refguide/document-templates/)(deprecated)| Microflows | Document template is used to format the document in a client and to download or print it. |
40
41
41
42
## Read More
42
43
43
44
*[Microflows](/refguide/microflows/)
44
-
*[Domain Model]
45
+
*[Data in the Domain Model](/refguide/domain-model/)
Copy file name to clipboardExpand all lines: content/en/docs/refguide/modeling/resources/constants.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,17 +1,17 @@
1
1
---
2
2
title: "Constants"
3
3
url: /refguide/constants/
4
-
weight: 60
4
+
weight: 70
5
5
#If moving or renaming this doc file, implement a temporary redirect and let the respective team know they should update the URL in the product. See Mapping to Products for more details.
6
6
---
7
7
8
8
## Introduction
9
9
10
10
Constants are used to define configuration values. These can differ per environment.
11
11
12
-
When running the application on a licensed Mendix Cloud environment, SAP BTP, or Mendix on Kubernetes you can configure the constant values for each environment separately using the [Model Options](/developerportal/deploy/environments-details/#model-options) tab of the **Environment Details** page to set your constants.
12
+
When running the application on a licensed Mendix Cloud environment, SAP BTP, or Mendix on Kubernetes, you can configure the constant values for each environment separately using the [Model Options](/developerportal/deploy/environments-details/#model-options) tab of the **Environment Details** page to set your constants.
13
13
14
-
For other cloud environments – for example, Siemens [Insights Hub](/partners/siemens/mindsphere/) – the constants can be accessed as **Environment Variables** in, for instance, Cloud Foundry. The constant is exposed with the name **module** + **.** + **constant** (for example, `mymodule.myconstant`).
14
+
For other cloud environments (for example, Siemens [Insights Hub](/partners/siemens/mindsphere/)), the constants can be accessed as **Environment Variables** in, for instance, Cloud Foundry. The constant is exposed with the name *module* + *.* + *constant* (for example, `mymodule.myconstant`).
15
15
16
16
When running the application locally or in a Free App environment, the values defined in Studio Pro are used.
17
17
@@ -47,7 +47,7 @@ This property is only available for add-on and solution modules. For more inform
47
47
48
48
### Documentation
49
49
50
-
This field is for documentation purposes only: end-users will never see it, and it does not influence the behavior of your application
50
+
This field is for documentation purposes only. End-users will never see it, and it does not influence the behavior of your application.
51
51
52
52
## Type Properties
53
53
@@ -71,7 +71,7 @@ This property defines whether the constant is accessible from client-side expres
71
71
| No *(default)*| The constant will not be sent to the client and will be only accessible from [microflow](/refguide/microflows/) expressions |
72
72
73
73
{{% alert color="warning" %}}
74
-
When a constant is exposed to the client, Mendix Runtime sends its value to the client so that in addition to microflow expressions, it will also be accessible from nanoflows and page expressions. This means that you should not use sensitive data or secrets such as passwords when a constant is exposed to the client.
74
+
When a constant is exposed to the client, the Mendix Runtime sends its value to the client so that in addition to microflow expressions, it will also be accessible from nanoflows and page expressions. This means you should not use sensitive data or secrets such as passwords when a constant is exposed to the client.
75
75
76
76
For a web app, changes to a constant's values are reflected when the end-user refreshes the browser or restarts the app. For an offline-first PWA or native application, the app stores the constants' values for offline use. The app updates the constant's values in the following cases:
Copy file name to clipboardExpand all lines: content/en/docs/refguide/modeling/resources/document-templates.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
-
title: "Document Templates"
2
+
title: "Document Templates (Deprecated)"
3
3
url: /refguide/document-templates/
4
-
weight: 90
4
+
weight: 100
5
5
aliases:
6
6
- /refguide/Document+Templates.html
7
7
- /refguide/Document+Templates
@@ -55,4 +55,4 @@ Generating Microsoft Word documents is no longer supported by Mendix. However, t
55
55
56
56
### Other Formats
57
57
58
-
Other formats, including Rich Text Format (.rtf) and OpenDocument Text (.odt), are no longer supported by Mendix and do not have official alternatives. We understand this may impact certain use cases, and we recommend exploring whether supported formats like PDF or HTML can meet your current needs.
58
+
Other formats, including Rich Text Format (*.rtf*) and OpenDocument Text (*.odt*), are no longer supported by Mendix and do not have official alternatives. We understand this may impact certain use cases and recommend exploring whether supported formats like PDF or HTML can meet your current needs.
Copy file name to clipboardExpand all lines: content/en/docs/refguide/modeling/resources/enumerations.md
+18-20Lines changed: 18 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: "Enumerations"
3
3
url: /refguide/enumerations/
4
-
weight: 40
4
+
weight: 60
5
5
aliases:
6
6
- /refguide/enumeration-values.html
7
7
- /refguide/enumeration-values
@@ -13,49 +13,47 @@ aliases:
13
13
14
14
An enumeration defines a list of predefined values. Enumerations are used for the enumeration attribute type. For example, the status of an order can be *Open*, *Closed*, or *In Progress*. So, the enumeration for the order status will consist of three values: *Open*, *Closed*, and *In_Progress*.
15
15
16
-
An enumeration consists of one or more [enumeration values](/refguide/enumerations/#enum-properties). Each value represents one option. An attribute of the enumeration type can also represent an uninitialized state: for example, if you do not assign any status to an order, the order status will be *empty*.
16
+
An enumeration consists of one or more [enumeration values](/refguide/enumerations/#enum-properties). Each value represents one option. An attribute of the enumeration type can also represent an uninitialized state. For example, if you do not assign any status to an order, the order status will be *empty*.
17
17
18
18
## Enumeration Properties {#enum-properties}
19
19
20
20
An enumeration has the following properties:
21
21
22
-
***Name** – The name of the enumeration.
23
-
***Documentation** - This can be used to explain to other developers about the enumeration. End-users cannot see this documentation.
24
-
***Export level** – Allows you to define access level to this document on the consumer (customer) side when developing an add-on module or a solution.
22
+
***Name** – the name of the enumeration
23
+
***Documentation** - can be used to share information about the enumeration to other developers; end-users cannot see this documentation
24
+
***Export level** – allows you to define access level to this document on the consumer (customer) side when developing an add-on module or a solution
25
25
26
26
{{% alert color="info" %}}This property is only available for add-on and solution modules. For more information on types of modules, see the [Module Types](/refguide/modules/#module-types) section in *Modules*.{{% /alert %}}
27
27
28
28
**Export level** has the following values:
29
29
30
-
***Hidden***(default)* – The document/element content is hidden from a consumer.
31
-
***Usable** – Consumers can use the enumeration in their apps.
30
+
***Hidden***(default)* – the document/element content is hidden from a consumer
31
+
***Usable** – consumers can use the enumeration in their apps
32
32
33
33
***Enumeration values** – An enumeration has one or more enumeration values. Each value represents one of the options. For more information on enumeration values and their properties, see the [Enumeration Value Properties](#enum-value-properties) section.
34
34
35
35
The following properties are only available when the enumeration is an external enumeration that is part of a [consumed Odata service](/refguide/consumed-odata-service/):
36
36
37
-
***From service** - This property shows the source of the enumeration and allows you to **Detach** the enumeration from the source if the source has been deleted.
38
-
***Original name** - The original name of the enumeration from the source.
37
+
***From service** - shows the source of the enumeration and allows you to detach the enumeration from the source if the source has been deleted
38
+
***Original name** - the original name of the enumeration from the source
39
39
40
40
### Enumeration Value Properties {#enum-value-properties}
41
41
42
-
Enumeration value properties are described below:
43
-
44
42
#### Caption
45
43
46
-
This is the caption of an enumeration value is the text that the end-user sees for this enumeration value.
44
+
The caption of an enumeration value is the text the end-user sees for this enumeration value.
47
45
48
46
The caption can be changed and can contain any character. For example, *In Progress* is a valid caption even though it contains a space.
49
47
50
48
This is a translatable text. For more information, see [Language Menu](/refguide/translatable-texts/).
51
49
52
50
#### Name {#name}
53
51
54
-
This is the name of an enumeration value. It is a technical name of the value which is used to refer to the enumeration value in your app.
52
+
This is the name of an enumeration value. It is a technical name of the value that is used to refer to the enumeration value in your app.
55
53
56
54
The name of an enumeration value must be a technical name, starting with a letter and only containing letters, digits, and underscores.
57
55
58
-
<details><summary>It cannot be a reserved word (click to see a list of reserved words)</summary>
56
+
<details><summary>The name cannot be a reserved word (click to see a list of reserved words)</summary>
59
57
60
58
*`_`
61
59
*`abstract`
@@ -137,26 +135,26 @@ The name of an enumeration value is also used for storing the enumeration value
137
135
138
136
This is an image selected for an enumeration value to be displayed in a data grid column.
139
137
140
-
To use the image in a data grid, set the enumeration format of the column to *Image*. For more information on data grid columns, see [Grid Columns](/refguide/columns/).
138
+
To use the image in a data grid, set the enumeration format of the column to **Image**. For more information on data grid columns, see [Grid Columns](/refguide/columns/).
141
139
142
140
## Creating an Enumeration
143
141
144
142
To create a new enumeration, do the following:
145
143
146
-
1. In the [App Explorer](/refguide/app-explorer/), right-click the module or a folder you want to add enumeration to and in the list of actions, select **Add other** > **Enumeration**.
147
-
2. In the **Add Enumeration** dialog box, fill out the name of the enumeration.
144
+
1. In the [App Explorer](/refguide/app-explorer/), right-click the module or a folder you want to add enumeration to and select **Add other** > **Enumeration**.
145
+
2. In the **Add Enumeration** dialog box, add the name of the enumeration.
148
146
3. In the **Enumeration** dialog box, click **New** to create enumeration values:
149
147
150
-
1.Fill out **Name** and **Caption** for an enumeration value. You can set **Image** for it if necessary. For more information on enumeration properties, see the [Enumeration Properties](#enum-properties) section. <br />
148
+
1.Add **Name** and **Caption** for the enumeration value. You can set **Image** for it, if necessary.
Copy file name to clipboardExpand all lines: content/en/docs/refguide/modeling/resources/java-actions.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,14 @@
1
1
---
2
2
title: "Java Actions"
3
3
url: /refguide/java-actions/
4
-
weight: 10
4
+
weight: 20
5
5
description: "Describes using Java Actions to extend the functionality of your Mendix app."
6
6
#If moving or renaming this doc file, implement a temporary redirect and let the respective team know they should update the URL in the product. See Mapping to Products for more details.
7
7
---
8
8
9
9
## Introduction
10
10
11
-
With Java actions you can extend the functionality of your application in situations where it would be hard to implement this functionality in microflows. You can call a Java action from a microflow using the [Call Java action](/refguide/call-java-action/).
11
+
With Java actions you can extend the functionality of your application in situations where it would be hard to implement this functionality in microflows. You can call a Java action from a microflow using the [Call Java action](/refguide/call-java-action/) activity.
12
12
13
13
{{% alert color="info" %}}
14
14
Each Java action defined in Studio Pro corresponds to a file *{name of Java action}.java* in the subdirectory *javasource/{module name}/actions* of the app directory.
Copy file name to clipboardExpand all lines: content/en/docs/refguide/modeling/resources/javascript-actions.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: "JavaScript Actions"
3
3
url: /refguide/javascript-actions/
4
-
weight: 20
4
+
weight: 30
5
5
description: "This reference guide details the ways JavaScript Actions can extend the functionality of your Mendix app."
6
6
#If moving or renaming this doc file, implement a temporary redirect and let the respective team know they should update the URL in the product. See Mapping to Products for more details.
7
7
---
@@ -26,7 +26,7 @@ To learn how to create, configure, and use a JavaScript action, see these [Build
26
26
27
27
## General Settings
28
28
29
-
After double-clicking a JavaScript action in your **App Explorer**you will see the JavaScript action's settings:
29
+
Double-click the JavaScript action in your **App Explorer**to open the action's settings:
Copy file name to clipboardExpand all lines: content/en/docs/refguide/modeling/resources/regular-expressions.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: "Regular Expressions"
3
3
url: /refguide/regular-expressions/
4
-
weight: 70
4
+
weight: 80
5
5
#If moving or renaming this doc file, implement a temporary redirect and let the respective team know they should update the URL in the product. See Mapping to Products for more details.
6
6
---
7
7
@@ -33,9 +33,9 @@ Here are two post code examples: **3072AP** and **7500 AH**.
33
33
These are the criteria:
34
34
35
35
* The first character is a digit in the range 1 to 9
36
-
* The second, third and fourth characters are digits in the range 0 to 9
36
+
* The second, third, and fourth characters are digits in the range 0 to 9
37
37
* The last two characters are letters, as expressed by the last two subexpression [A-Za-z], which indicate that the last two characters should be in the range A-Z or the range a-z
38
-
*Between the digits and the letters there can be a space, as expressed by the subexpression which consists of a space and a question mark; the question mark indicates that the space is optional
38
+
*There can be a space between the digits and the letters, as expressed by the subexpression which consists of a space and a question mark; the question mark indicates that the space is optional
39
39
{{% /alert %}}
40
40
41
41
The following sections give a summary of regular expressions that can be used in Mendix. This description also applies to regular expression strings used in functions such as *isMatch()*.
@@ -52,7 +52,7 @@ A regular expression can contain the following types of subexpressions:
52
52
53
53
{{% alert color="info" %}}These forms can be mixed: `[abcx-z]` matches "*a*", "*b*", "*c*", "*x*", "*y*", or "*z*", and is equivalent to `[a-cx-z]`. The `-` character is treated as a literal character if it is the last or the first character within the brackets, or if it is escaped with a backslash.{{% /alert %}}
54
54
55
-
*`[^ ]` – matches a single character that is NOT contained within the brackets, for example:
55
+
*`[^ ]` – matches a single character that is not contained within the brackets, for example:
56
56
*`[^abc]` matches any character other than "a", "b", or "c"
57
57
*`[^a-z]` matches any single character that is not a lowercase letter from "a" to "z"
58
58
@@ -68,10 +68,10 @@ A regular expression can contain the following types of subexpressions:
68
68
* A literal character – this is a character that does not have a special meaning in the regular expression language and it matches itself; this is effectively any character except `\[](){}^-$?*+|.`, for example:
69
69
* The *`space`* in the Dutch post code example is a literal character that just matches itself
70
70
71
-
{{% alert color="info" %}}If you need to match one of the characters which is not a literal, prefix it with a backslash.{{% /alert %}}
71
+
{{% alert color="info" %}}If you need to match one of the characters that is not a literal, prefix it with a backslash.{{% /alert %}}
72
72
73
73
*`\w` – a word: a letter, digit, or underscore; `\w` is an abbreviation for `[A-Za-z0-9_]`
74
-
*`\d` – a digit" an abbreviation for `[0-9]`
74
+
*`\d` – a digit; an abbreviation for `[0-9]`
75
75
76
76
### Quantifiers
77
77
@@ -81,10 +81,10 @@ The following quantifiers can be used:
81
81
82
82
| Quantifier | Description |
83
83
| --- | --- |
84
-
| ? | The preceding sub-expression should occur not or once. |
85
-
| * | The preceding sub-expression occurs any number of times. |
86
-
| + | The preceding sub-expression should occur once or more. |
87
-
|| No quantifier means that the preceding sub-expression should occur exactly once. |
84
+
| ? | The preceding subexpression should occur not or once. |
85
+
| * | The preceding subexpression occurs any number of times. |
86
+
| + | The preceding subexpression should occur once or more. |
87
+
|| No quantifier means that the preceding subexpression should occur exactly once. |
0 commit comments