microsoft / PowerApps-Samples

Sample code for Power Apps, including Dataverse, model-driven apps, canvas apps, Power Apps component framework, portals, and AI Builder.

Home Page:https://docs.microsoft.com/powerapps

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How do we use ExecuteTransactionRequest to create related records in a database transaction?

jansonjc opened this issue · comments

Creating related records is possible in Web Api but we could not find how this can be achieved in Organization Service (using the .NET library).

In Web Api, Referencing requests in a Change Set can be used to achieve this.

Is there a way the same can be achieved in Organization Service (ExecuteTransactionRequest)? We could not find anything in documentation or sample code.

@jansonjc We do not provide technical support here. However, perhaps this sample is what you are looking for: https://learn.microsoft.com/en-us/power-apps/developer/data-platform/org-service/samples/create-update-records-with-related-records