Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

DMF Pre Export

(1) ShareShare
ReportReport
Posted on by 31
Hi all, 
I have created a custom entity for DMF which I will use for a file export.
Is it possible to do some action (for example I need to insert a value in the database before the export) via x++ by using a method.
I have tried a lot of method but I didn't found anything
Thanks for help
  • L Profile Picture
    31 on at
    DMF Pre Export
     Hi Harshal,
     
     
    The 'postBuild' method doesn't exist.
     
    Best regards.
    L
  • Harshal Jain Profile Picture
    162 on at
    DMF Pre Export
    Hi L,
    As per my understanding most of the data is not present in table and it is as per the code you have written. So go for for postBuild method. Write your code in that and export the data.
  • L Profile Picture
    31 on at
    DMF Pre Export
    Hi Andre, Kevin,

    Thank you for your reply.
     
    I created a specific table and populated it with data using code.
    upon the screen initialization, the data is deleted, and the table becomes empty.
    The table is intended to be filled with information related to three filters: company, vendor, and invoice date.
    I need to export data from DMF, focusing on three specific fields: company, vendor, and invoice date.
    Otherwise, I would like to retrieve data for all companies.

    Best regards.
    L
  • Kevin Xia Profile Picture
    Microsoft Employee on at
    DMF Pre Export
    Hi,
    As Andre said, there is no such method, you can tell us about the specific use case or the requirements you want to achieve, and you can use other methods to achieve your needs.
    Best regards.
    Kevin
  • André Arnaud de Calavon Profile Picture
    294,312 Super User 2025 Season 1 on at
    DMF Pre Export
    Hi L,
     
    There is no option for a method to be called to create records before the actual export. Can you tell what is the exact business requirement about? 

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 Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,312 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 233,025 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans