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/releasenotes/workstation/_index.md
+45Lines changed: 45 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,12 +14,57 @@ These release notes cover changes made to the [Mendix Workstation](/mendix-works
14
14
15
15
### Release date: April ??, 2026
16
16
17
+
### Workstation Management
18
+
19
+
* Testing improvements - We have enhanced the **Test Your Station** page by making it simpler to send messages to devices without enforcing strict validations. In addition, the page now displays the connection status for each device, as well as the last recorded error, if any.
A new high-level API makes creating reusable peripheral modules easier. Solves get/create race condition and doesn't require any use of subscription APIs.
33
+
34
+
Other additions
35
+
36
+
37
+
38
+
removes Station_User association
39
+
40
+
fixes ParseTighteningResultRevision001 name
41
+
42
+
moved all subscription JSAs into _USE_ME/Subscriptions
43
+
44
+
adds /rest/stationconnector/publickey API for future app-key setup improvements
45
+
46
+
### Fixes
47
+
48
+
fixes bug where not receiving devices list wouldn't trigger connection timeout - now using shared abort signal
49
+
50
+
fixes bug where late discovered devices aren't added to internal device list
51
+
52
+
fixes bug where callbacks fail after object arguments are garbage collected - now keeps subscriptions to all objects that we hold to prevent garbage collection
53
+
54
+
fixes bug where new devices aren't connectable
17
55
18
56
19
57
### Deprecations
20
58
21
59
* We have removed support for named events using strings and string expressions instead of object attributes.
60
+
* We have deprecated the following actions:
61
+
62
+
*`SendMessage` and `WaitForResponse` - Deprecated in favor of `SendDeviceMessage` and `WaitForDeviceMessage`
63
+
*`SubscribeToMessages` (with `subscribeOnce` and implicit connection) - Deprecated in favor of `SubscribeToDeviceMessages`, `Unsubscribe`, and `ConnectDevice`
64
+
*`SubscribeToErrors` (with `subscribeOnce` and implicit connection) - Deprecated in favor of `SubscribeToDeviceErrors`, `Unsubscribe`, and `ConnectDevice`
65
+
*`UnsubscribeByDevice` and `UnsubscribeByContext` - Deprecated in favor of `Unsubscribe`
22
66
67
+
The deprecated actions are longer exposed as nanoflows and have been moved to the `_USE_ME/Deprecated` folder.
Copy file name to clipboardExpand all lines: content/en/docs/workstation/wks-build-app.md
+14-2Lines changed: 14 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -65,7 +65,11 @@ To change a user's role or remove them from the workspace, click the three-dot i
65
65
66
66
## Getting Started with Custom Logic for Device Interaction
67
67
68
-
Now that you are ready to start using Mendix Workstation, you can implement your own custom logic for interacting with devices. The following nanoflows and Java actions are essential for establishing connections, sending or receiving messages, and managing device interactions:
68
+
Now that you are ready to start using Mendix Workstation, you can implement your own custom logic for interacting with devices. The following nanoflows and actions serve as the core building blocks for integrating devices into your Mendix applications and tailoring the functionality to your specific requirements.
69
+
70
+
### Nanoflows
71
+
72
+
The following nanoflows and Java actions are essential for establishing connections, sending or receiving messages, and managing device interactions:
69
73
70
74
***GetStation** - Retrieves the computer information connected to the Client.
71
75
***SendDeviceMessage** - Sends data or commands to the connected device. For more information about the supported message syntax, see [Message Syntax for File, Smart Card, and Bluetooth Devices](/mendix-workstation/device-syntax/).
@@ -78,10 +82,18 @@ Now that you are ready to start using Mendix Workstation, you can implement your
78
82
***SetupDevice** - Creates and configures a device with the specified parameters.
79
83
***ConnectDevice** - Connects to a specific device.
80
84
***DisconnectDevice** - Unsubscribes and completely disconnects from a specific device.
85
+
***Initialize** - Initializes the Client without creating a station or device.
86
+
***GetStation** - Retrieves the Station object.
87
+
***CreateStation**, **CommitStation**, **CreateDevice**, **CommitDevice** - Internal nanoflows, required to support the React strict mode.
81
88
89
+
### Widgets
82
90
91
+
The following widgets allow you to specify when to execute an action:
83
92
84
-
These nanoflows and actions serve as the core building blocks for integrating devices into your Mendix applications and tailoring the functionality to your specific requirements.
93
+
***On Load/Unload** - Execute the action when the widget is first rendered, or when it is removed (unloaded).
94
+
***On Change** - Execute the action when the specified attribute changes.
95
+
***On Equal** - Execute the action when an attribute is equal to the specified expression.
96
+
***On True** - Execute the action when the specified expression is true.
Copy file name to clipboardExpand all lines: content/en/docs/workstation/wks-message-syntax.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -65,7 +65,7 @@ The section below shows a sample test that you can run to verify the configurati
65
65
***Allow writing files** - **Yes**
66
66
* Use the default values for everything else
67
67
4. Register the Station to your computer (assuming the Workstation Client is installed there).
68
-
5. In your Workspace, navigate to **Test Your Station** and click on the configured file device.
68
+
5. In your Workspace, navigate to **Test Your Station** and click **Test** by the configured file device.
69
69
6. Enter `3#test.txt#Hello from Mendix` in the **Send Message** field, and then press **Send Message**.
70
70
71
71
The test should show a response like `S#3#C:\MyTestFolder\test.txt` to indicate that the text file *test.txt* was successfully written to *MyTestFolder*.
0 commit comments