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/workstation/wks-message-syntax.md
+13-6Lines changed: 13 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,18 +44,25 @@ This device type requires the following message and response:
44
44
*`E#Error` - `Error` message from operating system
45
45
*`S#{0,1,2,3}#directory` - The command `{0,1,2,3}` on `directory` was successful.
46
46
47
-
### Example Test
47
+
### Example Test
48
+
49
+
The section below shows a sample test that you can run to verify the configuration.
48
50
49
51
1. Create a new Workspace in the Workstation Management.
50
52
2. Create a new Station.
51
53
3. Add a `File Device` with the following configuration to this Station:
52
-
*"Device Name": `Write files to test folder`
53
-
*"Allowed Folder": `C:\MyTestFolder` (assuming test on a Windows computer)
54
-
*"Allow writing files": `Yes`
54
+
***Device Name** - *Write files to test folder*
55
+
***Allowed Folder** - For example, on a Windows computer you can use a path like `C:\MyTestFolder`
56
+
***Allow writing files** - **Yes**
55
57
* Use the default values for everything else
56
-
4. Register the Station to your computer (assumping the Workstation Client is installed).
58
+
4. Register the Station to your computer (assuming the Workstation Client is installed there).
57
59
5. In your Workspace, navigate to **Test Your Station** and click on the configured file device.
58
-
6. Enter `3#test.txt#Hello from Mendix` in the "Send Message" field and press **Send Message**. It should show a response `S#3#C:\MyTestFolder\test.txt` to indicate that the text file `test.txt` was succesfully written to `MyTestFolder`. Go to `C:\MyTestFolder`. It should contain the text file. Open the file. It should contain `Hello from Mendix`.
60
+
6. Enter `3#test.txt#Hello from Mendix` in the **Send Message** field, and then press **Send Message**.
61
+
62
+
The test should show a response like `S#3#C:\MyTestFolder\test.txt` to indicate that the text file *test.txt* was succesfully written to *MyTestFolder*.
63
+
64
+
7. Go to *C:\MyTestFolder* and verify that it contains the text file.
65
+
8. Open the test file and verify that it contains the text *Hello from Mendix*.
0 commit comments