How can we bind database values to elements and behaviors of azure digital twins preview while creating a 3D scene

Biji 0 Reputation points
2024-01-31T05:46:47.09+00:00

Usually we are binding real time data from sensors in the IOT hub to the azure digital twins for creating 3D scenes and adding behaviors. In my case I need to bind values from Azure Sql Database to set behaviors in the elements created in the 3D scene that have been uploaded in azure digital twins preview. How can I do this?

Azure SQL Database
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.
224 questions
Azure
Azure
A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.
1,114 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Wilko van de Velde 2,226 Reputation points
    2024-01-31T06:53:52.0966667+00:00

    Hi @Biji ,

    It is possible by for example Azure Logic Apps or Azure Functions using the Azure Digital Twins REST API. More information about the REST API can by found on: https://learn.microsoft.com/en-us/azure/digital-twins/concepts-apis-sdks. There are also examples based on your preferred coding language.

    Also look at the blog of @Sander van de Velde about a business rule engine using Logic Apps. It has a little bit different approach, but he also updates values in Azure Digital Twins. https://sandervandevelde.wordpress.com/2023/03/11/using-azure-logic-apps-as-business-rules-for-azure-digital-twins/

    Kind regards,

    Wilko


    Please do not forget to "Accept the answer” wherever the information provided helps you, this can be beneficial to other community members. If you have extra questions about this answer, please click "Comment".

    1 person found this answer helpful.