Show PDF in NAV form
                
                    MarcusM2                
                
                    Member Posts: 3                
            
                        
            
                    Hi all,
Is there a way to show PDF document directly in NAV (v. 5), or to dynamically control PDF reader from NAV code ?
My problem is the following : my list form is based on a table containing .pdf documents file name, and I would like to have a control in my form showing the pdf document selected, and update this preview as I select another record (or update the document shown on pdf reader if it's not possible directly in NAV).
Thanks for your help
                Is there a way to show PDF document directly in NAV (v. 5), or to dynamically control PDF reader from NAV code ?
My problem is the following : my list form is based on a table containing .pdf documents file name, and I would like to have a control in my form showing the pdf document selected, and update this preview as I select another record (or update the document shown on pdf reader if it's not possible directly in NAV).
Thanks for your help
0                
            Comments
- 
            Hi Marcus,
A way is to use shell command. So you can launch your PDF easily, with something like :MyCommandText = "AcroRd32.exe " + MyPdfFileName; SHELL (MyCommandText);
Regards,
dkone.
EDIT : I misread your post and reply to quickly... A post that could help you : viewtopic.php?f=23&t=83090 - 
            Thanks for your answer DKone. I put an Hyperlink command on a button and it woeks well, but i would like to have something more dynamic, I mean like a picture box in an item card : picture showed in NAV changes as user get to another item card. The aim is to have scanned image (pdf) of purchase invoices embeded into NAV0
 
Categories
- All Categories
 - 73 General
 - 73 Announcements
 - 66.7K Microsoft Dynamics NAV
 - 18.7K NAV Three Tier
 - 38.4K NAV/Navision Classic Client
 - 3.6K Navision Attain
 - 2.4K Navision Financials
 - 116 Navision DOS
 - 851 Navision e-Commerce
 - 1K NAV Tips & Tricks
 - 772 NAV Dutch speaking only
 - 617 NAV Courses, Exams & Certification
 - 2K Microsoft Dynamics-Other
 - 1.5K Dynamics AX
 - 323 Dynamics CRM
 - 111 Dynamics GP
 - 10 Dynamics SL
 - 1.5K Other
 - 990 SQL General
 - 383 SQL Performance
 - 34 SQL Tips & Tricks
 - 35 Design Patterns (General & Best Practices)
 - 1 Architectural Patterns
 - 10 Design Patterns
 - 5 Implementation Patterns
 - 53 3rd Party Products, Services & Events
 - 1.6K General
 - 1.1K General Chat
 - 1.6K Website
 - 83 Testing
 - 1.2K Download section
 - 23 How Tos section
 - 252 Feedback
 - 12 NAV TechDays 2013 Sessions
 - 13 NAV TechDays 2012 Sessions