How to send Json file from Dashboard to OPC UA Server

What product/components do you use and which version/fix level?

Cumulocity IoT

Are you using a free trial or a product with a customer license?

product with a customer license

What are trying to achieve? Please describe in detail.

I try to send a Json file from Dashboard in my customized widget to my OPC UA Server. This Json file need to be transfered to a robot arm and runned. How should I modify the component.ts file?

Do you get any error messages? Please provide a full error message screenshot and log file.

No, I do not have any idea how to achieve it. Please help me with an example. Thanks a lot.

Have you installed latest fixes for the products


1 Like

Hi Yumao Liu,

writing files to OPC UA Server is not yet supported but on the roadmap. With current OPC UA Gateway you can only write values or attribute:

reading files incontrast already supported:

I am not sure if you can create a method on the OPC UA Server you use? Method calls also allowed and if you had a method which takes the json as string and converts this to a file and stores this to specific node, this could be a workaraound…

All this functions from Cumulocity to OPC UA Server are done via Operations to the OPC UA gateway, containing the OPC UA Server managed object id.

Regarding weMethod OPC UA integration i am not sure if file writing is supported. I am only addressing in my answer the build-in OPC UA integration of Cumulocity.

Best regards,


Dear Alexander Pester,
thank you so much for the reply! I think your idea is the only possibility for me to send Json file to my OPC UA Server. I will try to realize it.
Best regards,
Yumao Liu

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.