Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

How to get DMFDefinitionGroupEntity.SampleFilePath in String instead of GUID [AX7]

(0) ShareShare
ReportReport
Posted on by

Hello,

In AX7, I would like to know how to get DMFDefinitionGroupEntity.SampleFilePath in String instead of GUID.

In AX2012, DMFDefinitionGroupEntity.SampleFilePath had a filepath  like "C:\xxxxxxx\yyyy".

But in AX7, DMFDefinitionGroupEntity.SampleFilePath has a completely different character string from filepath like "31AFRHX".

(Because of changing an architecture)

All I want to do in DataManagement is below:
・To import a files located in a "specific path"
・To export a files to locate in a "specific path"

When I developed in AX2012, I got a "specific path" from DMFDefinitionGroupEntity.SampleFilePath.

Best Regards.

*This post is locked for comments

  • O.Naga Profile Picture
    O.Naga on at
    RE: How to get DMFDefinitionGroupEntity.SampleFilePath in String instead of GUID [AX7]

    HI Martin,

    Thank you for your answer and apologize for replying late.

    I have been trying recurring, but I haven't been yet.

    By the way,

    I have been trying in on-premise, not Azure, but do you think it doesn't matter?

    Best Regards.

  • Verified answer
    Martin Dráb Profile Picture
    Martin Dráb 230,445 Most Valuable Professional on at
    RE: How to get DMFDefinitionGroupEntity.SampleFilePath in String instead of GUID [AX7]

    To import files from a machine to your system to Dynamics AX running somewhere is Azure data center, you need an application in your system that will handle this communication. AX in Azure can't magically connect to your computer and read your files.

    Specifically, you have to write an app that reads files in a "specific path" and push them to AX through the enqueue web service, and download files from the cloud using the dequeuer service and save them in the ""specific path".

    It explained in detail in Recurring integrations and Service endpoints on wiki; a demo application is on GitHub.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,391 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans