Skip to content

hnaether-c8y/cumulocity-device-enrolment-plugin

 
 

Repository files navigation

Cumulocity Device Enrolment Widget Plugin + Wizard

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.

Compatibility:

DEVICE ENROLMENT WIDGET PLUGIN CUMULOCITY
1.x.x 1018.0.144

Features

  • Generate device enrolment codes for onboarding thin-edge.io devices

Prerequisites:

Cumulocity c8ycli >=1018.0.144

Installation

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.

To add the plugin package to extensions

  1. Navigate to Administration > Ecosystem > Extensions
  2. Click Add extension package to upload the zip file

To install the widget plugin on a custom application

  1. Navigate Administration > Ecosystem > Applications
  2. Click application name to view the application details.
  3. Switch to Plugins tab, Click Install plugins
  4. 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:

  1. Navigate to Administration > Ecosystem > Applications
  2. click Add application.
  3. In the resulting dialog, select the option Duplicate existing application.
  4. From the list of applications, select Cockpit (Subscribed). Use the default values and proceed.

QuickStart

This guide will teach you how to add widget in your existing or new dashboard.

  1. Open your application from App Switcher

  2. Add new dashboard or navigate to existing dashboard

  3. Click Add Widget

  4. Search for Device enrolment - you will find the deprecated widget and the new stepper

  5. 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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 80.0%
  • HTML 18.7%
  • JavaScript 1.3%