Skip to main content Skip to footer

Search Crosser Knowledge Base

Use the Universal Connector for AVEVA CONNECT Data Services

One service that has seen increased usage in recent weeks is AVEVA CONNECT Data Services. While a default module is available for publishing data (the AVEVA CONNECT Data Service Publisher), there are currently no modules for reading data.

Fortunately, the Universal Connector makes it straightforward to create a module that fills this gap. In the example below, we demonstrate how to build a Universal Connector–based module that retrieves the latest values from a specific datastream. This same approach can also be applied to other API endpoints.

Although the Universal Connector is covered in detail in the Advanced Training, this section focuses only on the components relevant to this use case.

Set Credential Type to OAuth Client Credential Grant

Crosser Tech Tip

Set the URL. In this case we want to create a module that allows the users to specify the teanentid, namespaceid and streamid. To do that, we put the relevant parts of the URL in curly brackets.

https://euno.datahub.connect.aveva.com/api/v1/Tenants/{tenantid}/Namespaces/{namespaceid}/Streams/{streamid}/data/last

Crosser Tech Tip

Specify how the settings should be applied. User setting if set will allow either the user to configure the settings. If they are not set, the module will fetch them from the incoming message.

Crosser Tech Tip

By the end of the wizard, the module should look like this. If you are happy you can now publish the module to your library.

Crosser Tech Tips

Set up OAuth Client Credentials as shown in the screenshot below.
(Make sure you adjust the URL to your region).
Authorization URL: https://euno.datahub.connect.aveva.com/identity/connect/token
Token Renewal URL: https://euno.datahub.connect.aveva.com/identity/connect/token
Client Id: be982cf6-24a4-493f-af69-ccc....
Client Secret: 3j9Cb+tr/p7TqFl//iJRabcdef.....

Crosser Tech Tip

You can now drag&drop the module from your module library and use it as any other module.

About the author

David Nienhaus | Senior Solution Engineer

David is a Senior Solution Engineer at Crosser. He has over 15 years experience working with software integration and digitization projects for critical infrastructure.
His engineering background gives him the understanding and focus needed to solve customer use cases in the most efficient and successful way.