azure-iot-explorer icon indicating copy to clipboard operation
azure-iot-explorer copied to clipboard

[BUG] Support referenced DTDL schemas

Open rido-min opened this issue 3 years ago • 3 comments

PnP Properties defined in schemas, such as the ADU interface, are not rendered in the PnP views, with the error:

Unsupported field schema for field root: Unknown field type undefined.

Repro steps

Connect an ADU device reporting dtmi:azure:iot:deviceUpdate;1 Navigate to PnP Components, Agent

image

rido-min avatar Aug 03 '22 15:08 rido-min

Hi @rido-min Can you help pointing me to any dtdl doc that has more explainations or samples regarding to how reference type works? I've searched through all the md file in this folder but couldn't find any: https://github.com/Azure/opendigitaltwins-dtdl/tree/master/DTDL

YingXue avatar Feb 28 '23 18:02 YingXue

lmk if this helps

https://github.com/Azure/opendigitaltwins-dtdl/blob/master/DTDL/v3/DTDL.v3.md#interface-schemas

I can also provide additional samples

rido-min avatar Feb 28 '23 18:02 rido-min

I am seeing the same thing and also with other schemas that point to schemas defined in the "schemas"[] @YingXue is there another way to do what we need to do or is there any traction on this?

JedidiahPaterson avatar Feb 21 '24 21:02 JedidiahPaterson