Managing eMessage Assets Through ThingWorx > Setting Data Items on an Asset Using ThingWorx Composer
Setting Data Items on an Asset Using ThingWorx Composer
Support for egress allows you to set data items (properties) on an Axeda asset by updating its corresponding Axeda entity in ThingWorx.
* 
As of v.2.1.0 of the Axeda Compatibility Package and v.9.1.0 of ThingWorx SCM Utilities, a Set Property instruction is provided so that you can set a property value for multiple devices using an instruction-based package. You can have one or more of these instructions in a package. Refer to Using the Set Property Instruction for details.
This section assumes:
Your data items were configured as Properties with Remote Bindings.
You have started the MessageStoreSubsystem.
Set the Data Item
To set a data item on an asset in ThingWorx Composer:
1. Navigate to the Axeda entity you want to update.
2. Click Properties and Alerts.
3. Locate the data item (property) whose value you wish to change, and click .
4. In the Base Type field, verify the correct Base Type is selected for the data item.
5. In the Data Change Type field under Advanced Settings, verify “Always” is selected.
6. If Binding is set to "Remotely bound", check the following fields:
Remote Property Name — Verify the name of the remote property exactly matches the data item on the Axeda asset.
Push Type — Verify “Always Pushed” is selected to ensure that every value change is pushed to the ThingWorx Platform.
When Disconnected — Verify “Fold all the changes into a single last changed value” is selected.
7. To save any changes and close the panel, click .
8. Click to update the Axeda Thing with your changes, as necessary.
9. To change the value of a data item, click
10. In the Set value of property panel, type the new value for the property, then click .. Since Axeda agents are not always connected, the following normal error message appears:
Error Setting Property, server response: TestThing2 is not connected. Last property
write will be queued and set when the connection is re-established.
11. To close the error window, click the X.
* 
In the unlikely event of a setDataItem action failing, the ThingWorx Platform does not receive a notification event. If the agent fails to send the success or failure acknowledgment, the platform is never notified that the acknowledgment was not received.
Check the Egress Message
To check that the egress message was processed in ThingWorx Composer:
1. Open the Message Store Subsystem by clicking and then from the Monitoring menu, selecting Status > Subsystems > Message Store.
2. Select Messages to view the pending egress message with the property update for your Axeda Thing.
Was this helpful?