Bind devices in batches
Updated at:
Copy as MD
After publishing an application, you can bind devices in batches to components that use a device as a data source. Binding new devices generates an independent application instance. This is ideal for scenarios where you deliver application instances individually.
Prerequisites
- The application is published.
- The application includes components that use device-reported properties or events as a data source.
Background information
This feature is for the following scenarios:
- Developing applications and devices in parallel.
- Distributing or copying application settings in batches.
Procedure
- In the left-side navigation pane of the application editor, click the Device Binding Management icon.
- On the Bind Devices to an Application page, click Create Device Configuration.
Note Each web application supports a maximum of 50 device configurations.
- On the New Configuration page, click Configure Devices in Batches.
In the Bind Devices in Batches - Only 2 Steps dialog box, click Export Current Configuration to download the device list Excel file. After modifying the device names, click Next.
- In the Bind Devices in Batches dialog box, click Export Current Configuration to download the current configuration file.
Note For each configuration, download the latest configuration file. Do not reuse previously downloaded templates, or the system may fail to match device information.
- Open the downloaded Excel file. In the Device Name column, enter the device names and save the file.
Note You can only bind devices belonging to products configured in the components. You can view the device names on the Device Management page in the application's project.
- In the Bind Devices in Batches dialog box, click Next.
- Click Import to upload the edited configuration file.
- At the bottom of the New Configuration page, enter a name for the configuration, and then click Publish Configuration.
Results
Publishing the device configuration generates an application instance. For security, the URL for this instance is valid for 24 hours. However, URLs bound to your own domain name do not expire. For more information about how to bind a domain name, see Domain Name Management.
You can also manage token-based authentication for the new application instance. For more information, see Token-based Authentication.
To do this, find the target configuration and click Token Configuration in the Actions column.Is this page helpful?