-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Integration between did & dataverse for did codes & projects #1191
Comments
@joslange feel free to add your opinions and thoughts regarding virtual table, Fabric etc |
There is no possibility to use virtual tables with the "Preview feature: Azure Cosmos DB for NoSQL Data Provider" as the requirements for this is that the Azure Cosmos DB must be of type "SQL". Did is using Azure Cosmos DB API for Mongo DB which is not SQL based. |
@jenunn You should use the GraphQL API. Have you created the required flows? I could help out with setting up the actions :) |
@olemp, i have yet had the time to do this. We should decide with did team and the CRM product owner on which of the 3 scenarios we should go for as all 3 has different outcomes. If we go for one of the scenarios where there is no sync both ways, we need to make sure that users can only create a did code/project in either platforms. Are you able to ask the did team and @okms for a call on which scenario we should go for? |
We can iframe a did-section on the project in CRM, but we still need the sync to have did keys in CRM. (Time entries takes a while to load, so not sure it's the best user experience in an ifram) |
If you create some initial flows with CRM triggers I can help out with the actions for sending requests to the did API 🚀 |
IFrame is not the way to go, we're not in 1999 anymore 🎸 |
I think the best way moving forward using the GraphQL API with did is to do the same we did with the Xledger API for Cemasys. Trigger an Azure Runbook when syncing from CRM to did. |
TLDR
In order for Puzzlepart CRM & did to be in sync over the available DID codes in both systems, we want to implement an integration between the 2 systems.
In order to do this we have tried accessing the Cosmos DB using the connector "Azure Cosmos DB" connector in Power Automate.
This returned an error saying "Sql api is not supported for this database account
ActivityId: cc482c5c-39a6-4cf2-b811-15fb0d8f999c, Microsoft.Azure.Documents.Common/2.14.0"
We should instead use a direct call using graphQL request that needs to be transformed into a valid REST request because Power Automate does not have capabilities to use graphQL.
Description
An integration between Dataverse & did for having did codes & projects up to speed in both systems
To be able to easily select did codes in Dataverse & did no matter which system the did codes & projects are created in.
Easier user experience for users of did & Puzzlepart CRM
We could potentially also trigger an Azure Runbook which has a webhook we can trigger from a Power Automate that can handle the GraphQL queries towards did.
Potentially 3 automations:
Create a Power Automate Flow that triggers upon creation of a new did code or did project. This flow can then trigger an Azure runbook that can execute the GraphQL queries to the custom did API's.
This will take care of the sync of creations from Dataverse to did.
Create a Power Automate Flow or Azure Runbook that triggers on a recurring interval that can retrieve data from both systems and make sure to update/create those items that is missing or is not in sync
This will take care of the sync of data between both systems.
Create something that can trigger on new rows in Cosmos DB where a new did project or did code has been created from the did webapp and automatically sync this to Dataverse.
This will take care of the sync of creations from did to Dataverse
The text was updated successfully, but these errors were encountered: