want to send the array type data to the digital twin and unable to view the telemetry data in digital twin

RAJBHAR, SUSHANT 0 Reputation points
2023-11-06T11:37:17.8133333+00:00

I want to send the data of type array to the digital twin. So I am sending the data to the IOT hub and from there to the functional app. I am facing the problem when I want to create a property of the twin of array type. I am deploying the digital twin from the vscode i got an error describing that I cant have array as the property instead i can have it as an telemetry, so I did the same but I wasn't able to view any telemetry dataholders in the azure digital twin as like properties. Where I can find the telemetry type data in the azure digital twin. and I more doubt is the way we assign the data to the property type variable using the azure functions, is that same way that we can also assign to the variables of telemetry. I tried to find the resources for help, but I could not be able to find. It will be helpful if you explain with examples and documentations.

Azure Digital Twins
Azure Digital Twins
An Azure platform that is used to create digital representations of real-world things, places, business processes, and people.
231 questions
Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,202 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Sander van de Velde | MVP 33,136 Reputation points MVP
    2023-11-06T12:08:26.2166667+00:00

    Hello @RAJBHAR, SUSHANT,

    welcome to this moderated Azure community forum.

    Arrays are supported by the Azure Digital Twins runtime.

    This is part of the DTDL V3 specs, are your models updated to this new version?

    The current Twin Explorer has limitations too.

    Importing V3 can only be done using the API. Here is an example of how to upload them.

    The V3 support for visualization could be limited too,

    The same goes for the 3D Scenes Studio.


    This answer is written by myself, not by some AI. If the response helped, do "Accept Answer". If it doesn't work, please let us know the progress. All community members with similar issues will benefit by doing so. Your contribution is highly appreciated.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.