Reputation: 953
We have a case where we'd like to provide the user with a UI where they can create an Azure Digital Twin from a list of acceptable Models. The user should get presented with a UI similar to the Twin Properties presented in the Azure Digital Twin Explorer.
But to do this, I need to dynamically generate an "empty" twin from a model. Is there a helper function or similar to generate a Twin from a DtdlModel which in turn recursively fetches referenced and inherited properties?
Thanks
Upvotes: 0
Views: 190