Free Support Forum -

View or render a document by passing its name in URL using Java

Hello, I need to go through the URL the name or path of the document to display. Does anyone know how to do it? Thanks


I am afraid that we are unable to get what exactly your requirement is. Could you please provide us some more details about your scenario?

I need to load a document in the viewer by passing the name of the document in the url. The documentDefault parameter is static and I need to change it dynamically.


Please also mention the name of the front end application you are using.

The viewer is embedded in an xhtml page with an iframe with PrimeFaces


Have you embedded any of our open source applications which are hosted on GitHub repository? If yes, would you please share the name of the application?


Thanks for sharing the required information. We noticed that you have also logged your query on GitHub as issue #40, therefore, we have updated the issue with the details you have provided here. Please keep track of the that issue for further updates.

Hello @usman.aziz ! Hope your are well.

Any update regarding this issue? We are waiting for two issues:

  1. The final solution with the viewer options bar.

  2. If a document contains an URL as hyperlink, the link doesn’t work.

Thank you!


We apologize for the inconvenience. We shall update you on the issues you have raised on GitHub (issue #40) very soon.