For Cumulocity IoT version >= 10.16 and Application Builder version >= 2.0.0, please refer to https://github.com/SoftwareAG/c8y-ticketing-integration-plugin
This widget is dependent on Cumulocity IoT Ticketing Integration microservice. It shows active alarms related to a device and allows to create tickets in the Ticketing platform.
- Download the latest
c8y-ticketing-integration-alarms-widget-{version}.zip
file from the Releases section. - Make sure you have Application Builder app installed.
- Open a dashboard.
- Click
more...
. - Select
Install Widget
and follow the instructions.
- Make sure you have successfully installed the widget.
- Click on
Add widget
. - Choose
Ticket Integration Alarms
widget. Title
is the title of widget. Provide a relevant name. You may choose to hide this. Go toAppearance
tab and chooseHidden
underWidget header style
.- Choose a device using
Target assets or devices
for which you want to see the active alarms. It shows maximum 50 alarms at the moment. - Click
Save
to add the widget on the dashboard. - In case you see unexpected results on the widget, refer to browser console to see if there are error logs.
- Once widget is added to the dashboards, it lists all the active alarms related to a device.
- On hovering an alarm, there can be 3 buttons
- Green button to CLEAR an alarm.
- Orange button to ACKNOWLDGE an alarm.
- Blue button to CREATE A TICKET for an alarm.
- It is only available if there is no ticket already created for an alarm.
- Clicking this button will show a pop-up which allows you to write an additional description about an alarm before you create a ticket.
- If there is already a ticket related to an alarm, ticket id is shown. Clicking the ticket id will redirect you to the ticket record in Ticketing platform in a new browser tab.
- Clone the repository on local machine using
git clone https://github.com/SoftwareAG/c8y-ticketing-integration-alarms-widget.git
. - Run
npm install
to download the module dependencies. - Install c8ycli
npm install -g @c8y/cli
if not already. - Run
c8ycli server -u https://your_tenant_url
to start the server. - Go to
http://localhost:9000/apps/cockpit/
in the browser to view and test your changes. - (Optional) push the changes back to this repository.
- Finish the development and testing on your local machine.
- Run
gulp
to start the build process. Runnpm install -g gulp
to install gulp if not already. - Use
c8y-ticketing-integration-alarms-widget-{version}.zip
file in thedist
folder as a distribution.
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 TECHcommunity Forums.
You can find additional information in the Software AG TECHcommunity.