How to create custom widget for Cumulocity IoT in angular latest version or Angular 8 version?

Hi Team,

Please help me to create custom widget in angular 8 version.

Thanks,
Thamizharasan P

Hi,

There are multiple ways to create custom widget.

If you are creating new cumulocity app using c8y/cli then you can create new widget in your app by following below guide:

https://cumulocity.com/guides/web/tutorials/#add-a-custom-widget

If you looking to create pure angular widget and later need to deploy in cumulocity app then you can follow demo widget:

https://github.com/SoftwareAG/cumulocity-demo-widget

Regards,

Darpan

Hi,

to extend on Darpan’s response, the Cumulocity Web SDK comes with the application package, which contains the tutorial application. If you create a new application based on the tutorial application template you will find an example for a custom widget.

c8ycli new my-app tutorial

In the directory src/widget a custom widget name demo-widget is defined.

Best regards
Christian

This topic was automatically closed after 1083 days. New replies are no longer allowed.