You are on page 1of 4

Microsoft Dynamics AX Forum

Home Microsoft Dynamics AX Microsoft Dynamics AX Forum Open PDF in browser



Share

BuBbA asked a question on 28 Aug 2017 1:23 AM

Open PDF in browser


Verified

Hi,

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

Browser Development / Customization / SDK

Microsoft Dynamics AX 2012 MS Dynamics Ax 2012 PDF

Replies (3)

All Responses Only Answers

Mahmoud Hakim responded on 28 Aug 2017 1:28 AM

Open PDF in browser


Suggested Answer

you can check this link

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

BuBbA responded on 28 Aug 2017 1:32 AM

Open PDF in browser


Unanswered

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.

Koen Roks responded on 28 Aug 2017 1:34 AM

Open PDF in browser


Verified

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();
Helpful resources

Community Forums
Ask a question 

Personalize your experience!


Personalized Community is here!

Quickly customize your community to find the


content you seek.

Personalize Community Now 

FEATURED CONTENT

Have questions on moving to the cloud? Visit the Dynamics 365 Migration Community today!
Microsoft’s extensive network of Dynamics AX and Dynamics CRM experts can help.

PRODUCT UPDATES

2021 Release Wave 1


Discover the latest updates and new features to Dynamics 365 planned April 2021 through
September 2021.

Release overview guides and videos


Release Plan | Preview 2021 Release Wave 1 Timeline

FASTTRACK
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with
confidence. 

FastTrack Program  |  Finance and Operations TechTalks  |  Customer Engagement


TechTalks  |  Upcoming TechTalks | All TechTalks

Business Applications communities

Select Community 

You might also like