Scenario :-Import from package
I got a requirement where I will get datapacakages added in blob so I need to import data in d365fo
Step1:-Create a data project in d365fo using Datamangement
Note:-Add a sample file for the project.
Step2:-Create a Workflow in logicapp in AZURE. So my trigger point will be blob modify as my datapacakages will be added in blob storage
D365fourl/data/DataManagementDefinitionGroups/Microsoft.Dynamics.DataEntities.
ImportFromPackage
Step5:-To check the status of package imported successfully parse the previous output
Step6:-Now use http to get status from d365fo
Note:-Use delay because instantly we cant check We need to give some time to import in D365fo
Step7:-One can see logic app run history once we get a data package added in blob
Step8:-Save Logicapp and wait for file to be added in blob once we get datapacakages added in blob
you can see record inserted in d365fo.If we have records already it will get updated.
No comments:
Post a Comment