PDF Preview in Page

Troubles_In_ParadiseTroubles_In_Paradise Member Posts: 588
edited 2011-12-09 in NAV Three Tier
Hi guys, I've a question for you.

I would like to create a page where I've a repeater that contains list of file stored in a specific folder (so far so good).
The problem is that customer would like to have a preview of the file (they're alwys .pdf files) in the page.
The idea is that when user changes the record selected, the preview changes.

My question is how can I manage the preview (is there a way in Nav or I have to use an Add-in)?

Thx all!
~Rik~
It works as expected... More or Less...

Answers

  • deV.chdeV.ch Member Posts: 543
    As far is i know there is no built in solution for such thing.
    I would go for a Addin with a webbrowser control, this should be able to preview most files.

    There is such a webbrowser addin available in the download section.
    http://www.mibuso.com/dlinfo.asp?FileID=1368
  • Troubles_In_ParadiseTroubles_In_Paradise Member Posts: 588
    deV.ch wrote:
    As far is i know there is no built in solution for such thing.
    I would go for a Addin with a webbrowser control, this should be able to preview most files.

    There is such a webbrowser addin available in the download section.
    http://www.mibuso.com/dlinfo.asp?FileID=1368
    Many thx! This could be very helpful. In the following days we'll wrote the business logic and I'll let you know if all works.
    For now many thx again!
    ~Rik~
    It works as expected... More or Less...
  • Troubles_In_ParadiseTroubles_In_Paradise Member Posts: 588
    The link provided by deV.ch solved my issue.
    With this add-in I wrote a process that allows user to link Sales Shipment Headers to their PDF.
    The only "problem" is that user can't Rename the file while he's watching it in the Preview.
    I solved this calling the Rename process in the OnClosePage() trigger.
    Thx again deV.ch.
    ~Rik~
    It works as expected... More or Less...
Sign In or Register to comment.