Show pdf in form

Are any plugin, option, bean or something than you can use to show PDF in the form, like the images? i’m downlaod the servoyguy_pdf_pro and see the pdf_output but anything i see can use it. Any can help me, is this posible?

Hello:
I think there was an example with the jPedal library, but I not find it. Perhaps someone has and can upload it.

Greetings.

Alternative to Jpedal library
In a form you can use a ServoyBrowser Bean, for instance named zone_html
I check force native option
AllowDownload
in Properties

In your script you can display your pdf preview this way
elements.zone_html.navigateTo(mypath);

And where is this ServoyBrowser Bean?

It’s part of the BrowserSuite, on ServoyForge of course :)
https://www.servoyforge.net/projects/browsersuite

And it’s necesar to install all the files if I only want the browser?

I’m afraid so. The dependencies are big but all used (except for XulRunner which is optional but still needs to be installed in Developer/Server), XULRunner will not be downloaded by clients if you set the browsersuite.useXULRunner server plugin property to false.

Okey, seems it work fine, but for other side, see that consume a lot of recurses.

And to work in web, how can i do?

pentamsi:
And to work in web, how can i do?

Just use HTML in an element on your form.
be aware: you’re dealing with the browser capabilities here…

and what element i need to put the pdf inside? embed?

Here is a (Servoy v5.2) module that shows some of the capabilities of the JPedal bean. Do note that this is Smart-client ONLY.
You can download the OpenSource version of the JPedal bean here.

[attachment=0]mod_pdfviewer.servoy[/attachment]
Hope this helps.

mod_pdfviewer.servoy (11.7 KB)

Hi,

You can also try Google Viewer (https://docs.google.com/viewer) that works the same way as if you want to show a google documents in your Servoy form, using iframe inside an html area. It only works with weblcient.

Regards,

But with the Google Viewer only works the pdf alowwed in the web, and not in the server.