web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Writing to or reading from a PDF file in AX 2012 Via X++?

(0) ShareShare
ReportReport
Posted on by

Hi, Is there any way to write to or read from a PDF file using X++ code?

Have any useful link?

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Sohaib Cheema Profile Picture
    49,438 User Group Leader on at

    Well I never came across this requirement.

    But if I am in your shoes, I will use C#  using a Visual Studio Project and it will simply my needs will less suffering

  • Community Member Profile Picture
    on at

    Thanks Sohaib :). I will consult my senior.

  • Verified answer
    André Arnaud de Calavon Profile Picture
    300,915 Super User 2025 Season 2 on at

    Hi Mahesh,

    In e.g. AX2009 reports could be rendered as PDF files. I have never looked how it was implemented. I assume it should be possible, but you need to have knowledge of the file format and possible use some Adobe components.

    You can have a look at the next site for technical documentation: www.adobe.com/.../pdf.html

  • Suggested answer
    PA-22040759-0 Profile Picture
    6,194 on at

    You could also work with the Word or Excel integrations from AX, and then save the generated document as PDF.

    I have an example here: www.agermark.com/.../saving-financial-statement-as-pdf.html

  • Community Member Profile Picture
    on at

    Thanks Palle Agermark. I will show it to my senior and try to use it.

    Meanwhile, My senior was able to convert the edited word template into PDF using C#.

  • Community Member Profile Picture
    on at

    Palle Agermark I downloaded .xpo file from the link you had given. The project contains lots of forms where I need to proceed in that huge project?

  • PA-22040759-0 Profile Picture
    6,194 on at

    Hello Mahesh,

    The xpo only contains minor adjustments to a single standard class. I have created a new link for you: http://1drv.ms/1atHoSf

    Regards,

    Palle

  • Community Member Profile Picture
    on at

    Okay Palle Agermark  I will check. Thanks

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans