Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 Community / Forums / Finance forum / DMF - calling "Im...
Finance forum
Answered

DMF - calling "ImportFromPackage API" in Logic App.

(0) ShareShare
ReportReport
Posted on by 15

Hi Seniors,

I want to confirm this understanding is correct or not.

If we use "Data management framework's package API" (https://docs.microsoft.com/en-us/dynamics365/unified-operations/dev-itpro/data-entities/data-management-api) 
from Logic App i.e. call "ImportFromPackage API" in Logic App, then data is processed as data management scenario and not as OData, isnt it?

Because, I want to call postTargetProcess() when all records are transferred from staging to target. As mentioned in Ivegen's Blog (https://ievgensaxblog.wordpress.com/2016/05/07/ax-7-process-the-data-after-data-entity-import/)

Please let me know this is possible.

Waiting for your response.

Categories:
  • DanielBoston Profile Picture
    DanielBoston 10 on at
    RE: DMF - calling "ImportFromPackage API" in Logic App.

    Hello yes it is possible

    but only with Data Export Packages that have a file destination.

    The steps are to execute the Action that exports the entire data export package to a BLOB. Then retrieve the URL from the output of the action you called.

    Download the zip file from that blob,

    Extract it, and then you will see your exported file, with the package manifest.

    The part i am stumped on is executing an Azure SQL Export Data Package via the API.

    Underneath are some links on the File Based method.

    https://daxsunil.weebly.com/blog/export-file-from-d365fo-to-onedrive-using-logicapp

    https://github.com/microsoft/Dynamics-AX-Integration/wiki/File-based-integration-using-Logic-Apps

  • AskForum Profile Picture
    AskForum 15 on at
    RE: DMF - calling "ImportFromPackage API" in Logic App.
    [quote user="Blue Wang"]

    Hi HelloWord,

    Yes.It through Data Management.


    ImportFromPackage() uses a batch to perform the import. must be used in Data management to perform parallel imports. ImportFromPackage() must not be called in parallel threads.


    Manually run project import through data management when using composite data entities

    [/quote]

    Thanks Blue Wang for further details and confirmation. 

  • AskForum Profile Picture
    AskForum 15 on at
    RE: DMF - calling "ImportFromPackage API" in Logic App.
    [quote user="Sukrut Parab"]

    That's correct . It will be processed through data management using data project. Please check link below , if you have not seen it before

    https://docs.microsoft.com/en-us/dynamics365/unified-operations/dev-itpro/data-entities/data-management-api

    [/quote]

    Thanks Sukrut for the confirmation. Very helpful.

  • Verified answer
    Blue Wang Profile Picture
    Blue Wang on at
    RE: DMF - calling "ImportFromPackage API" in Logic App.

    Hi HelloWord,

    Yes.It through Data Management.


    ImportFromPackage() uses a batch to perform the import. must be used in Data management to perform parallel imports. ImportFromPackage() must not be called in parallel threads.


    Manually run project import through data management when using composite data entities

  • Verified answer
    Sukrut Parab Profile Picture
    Sukrut Parab 71,637 Moderator on at
    RE: DMF - calling "ImportFromPackage API" in Logic App.

    That's correct . It will be processed through data management using data project. Please check link below , if you have not seen it before

    https://docs.microsoft.com/en-us/dynamics365/unified-operations/dev-itpro/data-entities/data-management-api

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Community Spotlight of the Month

Kudos to Mohamed Amine Mahmoudi!

Blog subscriptions now enabled!

Follow your favorite blogs

TechTalk: How Dataverse and Microsoft Fabric powers ...

Explore the latest advancements in data export and integration within ...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 284,876 Super User

#2
Ludwig Reinhard Profile Picture

Ludwig Reinhard Microsoft Employee

#3
Martin Dráb Profile Picture

Martin Dráb 225,425 Super User

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans