Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

How to export specific AOT objects using x++?

(0) ShareShare
ReportReport
Posted on by

Hi Team,

How to export specific AOT objects using x++?

I just want to export specific tables and forms . How do I achieve it using x++ job.

Kindly help.

Thanks,

Phani

  • Community Member Profile Picture
    on at
    RE: How to export specific AOT objects using x++?

    Hi Ergün Şahin,

    Thanks for you reply.

    I would like to pass input as Table:Accountant_Br,Test_Table | Form:SalesLine,Test_Form.

    My job should take the input and need to export the xpos of those.

    Thanks,

    Phaneendra

  • Suggested answer
    ergun sahin Profile Picture
    8,816 Moderator on at
    RE: How to export specific AOT objects using x++?

    What export are you talking about? As XPO?

    If so, you can check the example below.(treeNodeExport)

    www.dynamicsuser.net/.../59166

    If your goal is just to get the codes out, it's a little more troublesome but possible. (You have to iterate in the tree)

    With the TreeNode.AOTgetSource() method you can get the source of the objects and export it to txt or better as a xml

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February 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... 293,245 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,925 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Product updates

Dynamics 365 release plans