This plugin is not further developed and it might break with upcoming Cumulocity releases. Use it at your own risk. The repository is archived but feel free to fork & adapt it to your needs in a new repo.
This Demo Widget is the Cumulocity module federation plugin created using c8ycli. This plugin can be used in Application Builder or Cockpit. It fetches Inventory data based on the device id and displays the same in a widget.
APPLICATION BUILDER | CUMULOCITY | DEMO WIDGET PLUGIN |
---|---|---|
2.0.x | >= 1018.x.x | 1.x.x |
Cumulocity c8ycli >=1018.x.x
- This widget support runtime deployment. Download Runtime Binary and install via Administrations(Beta mode) --> Ecosystems --> Applications --> Packages
Requirements:
- Git
- NodeJS (release builds are currently built with
v14.18.0
) - NPM (Included with NodeJS)
Instructions
- Clone the repository:
git clone https://github.com/SoftwareAG/cumulocity-demo-widget-plugin.git
- Change directory:
cd cumulocity-demo-widget-plugin
- Install the dependencies:
npm install
- (Optional) Local development server:
npm start -- --shell cockpit
- Build the app:
npm run build
- Deploy the app:
npm run deploy
This tool is provided as-is and without warranty or support. They do not constitute part of the Cumulocity product suite. Users are free to use, fork and modify them, subject to the license agreement. While Cumulocity GmbH welcomes contributions, we cannot guarantee to include every contribution in the master project.