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)

Open PDF in browser

(0) ShareShare
ReportReport
Posted on by 107

Hi,

Is there any way to open a PDF file in a browser from X++?

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Mahmoud Hakim Profile Picture
    17,887 on at

    you can check this link

    jkmsdax2012.wordpress.com/.../how-to-open-pdf-files-from-ax-using-x-in-ax-2012

  • BuBbA Profile Picture
    107 on at

    Problem is that we don't want to change the default program for all PDF files, only for some of them. Most of the PDF files should just open in adobe.

  • Verified answer
    Koen Roks Profile Picture
    on at

    Hi

    Can't you do it with some .net logic where you override the default app

    Process myProcess = new Process();    

    myProcess.StartInfo.FileName = "acroRd32.exe"; //not the full application path

    myProcess.StartInfo.Arguments = "/A \"page=2=OpenActions\" C:\\example.pdf";

    myProcess.Start();

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
Priya_K Profile Picture

Priya_K 4

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#3
Ali Zaidi Profile Picture

Ali Zaidi 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans