Skip to content

Commit 34396d7

Browse files
committed
Edit
Fix English, make sequential instructions numbered
1 parent 5e7b634 commit 34396d7

1 file changed

Lines changed: 15 additions & 19 deletions

File tree

  • content/en/docs/appstore/use-content/platform-supported-content/modules

content/en/docs/appstore/use-content/platform-supported-content/modules/file-uploader.md

Lines changed: 15 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ In the following sections, the term "context entity" refers to the entity of the
2626
For a simple setup, the context entity needs to be a specialization of the **FileUploader.FileUploadContext** entity. This allows you to use the nanoflows and entities provided with the module:
2727

2828
* **In your domain model**:
29-
* Set the generalization of the context entity to **FileUploader.FileUploadContext**.
29+
1. Set the generalization of the context entity to **FileUploader.FileUploadContext**.
3030
* **On your page**:
31-
* Place the **FileUploader** widget.
32-
* Set the **Associated files** property to **FileUploader.UploadedFile** or **FileUploader.UploadedImage**, depending on the upload mode.
33-
* Set the **Action to create new files** property to one of the nanoflows shipped with the module, depending on the upload mode.
31+
1. Place the **FileUploader** widget.
32+
1. Set the **Associated files** property to **FileUploader.UploadedFile** or **FileUploader.UploadedImage**, depending on the upload mode.
33+
1. Set the **Action to create new files** property to one of the nanoflows shipped with the module, depending on the upload mode.
3434

3535
{{% alert color="info" %}}
3636
Starting with File Uploader 2.0, the widget properties will be set automatically.
@@ -41,14 +41,14 @@ Starting with File Uploader 2.0, the widget properties will be set automatically
4141
For an advanced setup, useful when modifying the context entity is not possible, follow these steps:
4242

4343
* **In your domain model**:
44-
* Create a new specialized image/file entity by setting its generalization to **System.FileDocument** or **System.Image**, depending on the upload mode.
45-
* Create a **\*-1** association from this image/file entity to your context entity.
46-
* **In the App explorer / Logic editor**:
47-
* Copy one of the two Nanoflows (depending on the upload mode) from the module and modify it to use your context entity and the newly created file/image entity.
44+
1. Create a new specialized image/file entity by setting its generalization to **System.FileDocument** or **System.Image**, depending on the upload mode.
45+
1. Create a `**\*-1**` association from this image/file entity to your context entity.
46+
* **In the App Explorer / Logic Editor**:
47+
1. Copy one of the two nanoflows (depending on the upload mode) from the module and modify it to use your context entity and the newly created file/image entity.
4848
* **On your page**:
49-
* Place the **FileUploader** widget.
50-
* Set the widget property **Associated files** to the newly created file/image entity.
51-
* Set the widget property **Action to create new files** to the modified nanoflow.
49+
1. Place the **FileUploader** widget.
50+
1. Set the widget property **Associated files** to the newly created file/image entity.
51+
1. Set the widget property **Action to create new files** to the modified nanoflow.
5252

5353
### Widget Configuration
5454

@@ -65,7 +65,7 @@ For an advanced setup, useful when modifying the context entity is not possible,
6565
* By default, use **FileUploader.UploadedFile** for upload mode Files and **FileUploader.UploadedImage** for upload mode Images.
6666

6767
{{% alert color="info" %}}
68-
Note: Starting with File Uploader v2.0, the widget properties will be set automatically.
68+
Starting with File Uploader 2.0, the widget properties will be set automatically.
6969
{{% /alert %}}
7070

7171
##### Action to Create New Files
@@ -74,7 +74,7 @@ Note: Starting with File Uploader v2.0, the widget properties will be set automa
7474
* By default, call **Nanoflow ACT_CreateUploadedFileDocument** for upload mode Files and **ACT_CreateUploadedImageDocument** for upload mode Images.
7575

7676
{{% alert color="info" %}}
77-
Note: Starting with File Uploader v2.0, the widget properties will be set automatically.
77+
Starting with File Uploader 2.0, the widget properties will be set automatically.
7878
{{% /alert %}}
7979

8080
##### Action to Create New Files
@@ -93,20 +93,16 @@ This configuration is to sets a maximum limit on the file size of uploaded files
9393

9494
Configure the displayed text used in **File Uploader**.
9595

96-
9796
### Nanoflows
9897

9998
This module includes two predefined nanoflows:
10099

101100
#### ACT_CreateUploadedFileDocument
102101

103-
This nanoflow will attaches an uploaded file to the context object.
102+
This nanoflow will attach an uploaded file to the context object.
104103

105104
#### ACT_CreateUploadedImageDocument
106105

107-
This nanoflow will attaches an uploaded image to the context object.
108-
109-
110-
106+
This nanoflow will attach an uploaded image to the context object.
111107

112108

0 commit comments

Comments
 (0)