This fork is intended to replace the widget with a good looking wizard. It should hook to the Quick links widget in either Cockpit or Device management Home Dashboard.
The device enrolment is used to display device enrolment codes provided by the c8y-token-syner microservice. This plugin can be used in Device Management or Cockpit.
DEVICE ENROLMENT WIDGET PLUGIN | CUMULOCITY |
---|---|
1.x.x | 1018.0.144 |
- Generate device enrolment codes for onboarding thin-edge.io devices
Cumulocity c8ycli >=1018.0.144
Run npm install --legacy-peer-deps. Use node 14.
To install the widget plugin, you must add the plugin package to the extensions first and then install it on the desired custom application.
- Navigate to Administration > Ecosystem > Extensions
- Click Add extension package to upload the zip file
- Navigate Administration > Ecosystem > Applications
- Click application name to view the application details.
- Switch to Plugins tab, Click Install plugins
- In the resulting dialog, search for Device enrolment widget, click Install
To know more about extensions, see Administration> Managing applications > Extensions in User guide
Note: You need a custom application with Cumulocity IoT dashboard to see the widget in action. A quick way to achieve this is by creating a custom Cockpit application. To create a custom Cockpit application, follow the steps below:
- Navigate to Administration > Ecosystem > Applications
- click Add application.
- In the resulting dialog, select the option Duplicate existing application.
- From the list of applications, select Cockpit (Subscribed). Use the default values and proceed.
This guide will teach you how to add widget in your existing or new dashboard.
-
Open your application from App Switcher
-
Add new dashboard or navigate to existing dashboard
-
Click
Add Widget
-
Search for
Device enrolment
- you will find the deprecated widget and the new stepper -
Click
Save
These tools are provided as-is and without warranty or support. They do not constitute part of the Software AG product suite. Users are free to use, fork and modify them, subject to the license agreement. While Software AG welcomes contributions, we cannot guarantee to include every contribution in the master project.
For more information you can Ask a Question in the TECH Community Forums.