Tips, Tricks and Code Tips, Tricks and Code

Collaboratively create and share articles and code samples about Software AG products. Once you log on as a community member, you can add new articles and code or edit existing ones without any further registration or authorization required. Members of the Software AG Technology Community may submit articles and product information that other community members can enhance and build upon.

Visit also our GitHUB space

To get started take a look in the articles Post code on GitHUB, Wiki - How to add content and wiki FAQs


Opinions expressed by wiki authors are entirely their own and do not reflect the position of Software AG. Any advice or recommendations discussed on this wiki (or sites it links to) are not validated by Software AG

Fri, 8 Mar 2019, 08:27
To create a new dashboard widget, use the method ComponentsProvider.add(), see the linked documentation. To make a dashboard widget visible, you need an application that also includes dashboard functi...
Fri, 8 Mar 2019, 08:25
★ APIs, SDKs and compatibility Improving microservice performance through larger page sizes How to fix "Errors occurred while running event processing rules" Using MQTTLens as client for Cu...
Fri, 8 Mar 2019, 08:24
Here you can find answers to some of the question often raised through our support channel. output ID of created report files How to enable the "Device database"? Custom domains / C8y Licens...
Wed, 6 Mar 2019, 14:46
The attached PDF summarizes the Cumulocity SmartREST2/MQTT protocol in two pages for printout as a cheat sheet. The first page shows client ID and topic structures, the second page lists all default m...
Wed, 6 Mar 2019, 14:37
An IoT device connected to Cumulocity Cloud services can use HTTPS traffic: The device opens HTTPS connections to the cloud and uses these for bi-directional communication, one connection for sending ...
Wed, 6 Mar 2019, 14:36
Cumulocity is committed to an extremely high degree of backwards API compatibility between releases. Devices and applications interfacing with Cumulocity will work for years unmodified even though Cum...
Wed, 6 Mar 2019, 14:35
When you query chunks of data using "GET", you will get by default five entries in a chunk -- see http://cumulocity.com/guides/reference/rest-implementation#-a-name-paging-a-query-result-pag...
Wed, 6 Mar 2019, 14:34
When you open the Cumulocity Administration application, you will see the above error message if there is something wrong with your event processing rules. Errors during event processing are raised as...
Wed, 6 Mar 2019, 14:32
If you have problems connecting MQTTLens as client to Cumulocity, try using a shorter client ID. MQTTLens uses MQTT version 3.1 but incorrectly ignores the limit on client ID lengths in MQTT 3.1. Alt...
Wed, 6 Mar 2019, 14:26
There are many ways that PLC designers help themselves to transfer data structures over the limitations of fieldbus protocols like Modbus. While Cloud Fieldbus covers the most common ones, such as bit...
Wed, 6 Mar 2019, 11:58
If you are developing JavaScript applications and get errors calling Cumulocity REST APIs, here's a likely reason: "You are serving the JavaScript from an own web server (localhost) and acce...
Wed, 6 Mar 2019, 11:57
Find attached an example of how to export data in a custom way using the APIs. The example exports measurements as CSV file. Arguments are tenant, username and password. Edit the query variable to cha...
Wed, 6 Mar 2019, 11:56
Most questions that we get from developers around the Arduino platform resolve in an issue with Arduino hardware and software stability. If you face issues in getting an Arduino connected, please try ...
Wed, 6 Mar 2019, 11:55
If you use Postman, click on "API directory" and select "Cumulocity Public API" to get frequently used REST API calls from Cumulocity into Postman. Great for getting started!
Tue, 5 Mar 2019, 06:36
This article is useful to demonstrate how practically Circuit Breaker is implemented in our designer with microservices. Please refere to the attachment for detailed information
Tue, 26 Feb 2019, 11:44
Submitted by Rinku Hazarika, Software AG Known Issues #  Broker migration fails if storage file is more than 2 GB Reason: Broker migration fail if storage file is more than 2 GB with below error: Relo...
Wed, 20 Feb 2019, 10:34
At the opening of a new year for Apama Streaming Analytics and before we continue improving and adding functionality to Apama, we wanted to take a quick look back at what we achieved. Over the precedi...
Wed, 20 Feb 2019, 10:26
This code contains a sample use case of Adabas RESTful administration. The Swagger definition delivered in the Adabas RESTful administration server can be used to generate a RESTful clients. Descripti...
Wed, 20 Feb 2019, 10:04
Exploit your assets in Adabas by using the Go Adabas-API Introduction This is the Adabas API for the programming language Go. It supports data access to the Software AG Adabas database. You can find d...
Tue, 19 Feb 2019, 14:26
Rebuilding official Apama images with new base OSs This Dockerfile uses multi-stage build to rebuild Apama correlator and builder images from other base OS images. Using the Dockerfile Further instr...