Prerequisites: File-Based Packages
The ThingWorx Edge MicroServer (EMS) must be configured to receive package deployments. Download the EMS version that is compatible with your version of Software Content Management from the
PTC eSupport Portal under > > . For compatibility information, see
Release Advisor.
To have your assets appear connected in Software Content Management, complete the following steps:
1. Configure the ThingWorx Edge MicroServer (EMS). For more information, see
Configuring the EMS in the ThingWorx Edge MicroServer (EMS) and Lua Script Resource (LSR) Help Center.
|
|
For enhanced security, ensure that the EMS devices use a non-administrator application key to use Software Content Management.
|
2. Create a Thing in
ThingWorx Composer to represent the EMS agent. Ensure that the Thing implements the
RemoteThingWithFileTransfer Thing Template and inherits the
PTC.Resource.Asset.SCMResourceThingShape and
TW.RSM.SFW.ThingShape.Updateable Thing Shapes. For more information, see
Thing Templates" and
Thing Shapes in the ThingWorx Platform Help Center.
|
|
Ensure that the name of the Thing matches with the value of the name parameter of the config.json file when you configured the EMS.
|
3. Configure the Lua script resource. For more information, see
Configuring a Lua Script Resource in the ThingWorx Edge MicroServer (EMS) and Lua Script Resource (LSR) Help Center.
4. Run the following files:
◦ wsems.exe to start your EMS
◦ luaScriptResource.exe to start the Lua extension script resource
Your asset should appear as connected in Software Content Management.