Qlik Community

QlikView Scripting

Discussion Board for collaboration on QlikView Scripting.

Not applicable

How to URL reference external document (DOC/DOCX) located at QlikView server

Hey guys.

In the report, I have a button with action set to open external document referenced by URL (Button >> Properties >> Actions >> Open URL).

The goal for the business user is to open report documentation (stored in word document and located on the QlikView server) right from the report.

Open URL parameter is set as follows:

file://server_name/server_folder/external_file.docx

The problem is that the button works only in IE. Chrome and Firefox have both troubles to open the referenced file.

QUESTIONS:

- Does anyone know what is the correct way how to pass URL address to the button?

- Or is there are workaround how to open external documents directly from the report?

SET-UP:

- our QlikView server is accessible only from within corporate network or via a VPN

- external file is stored in accesible folder on the same server where QlikView server is running

- any browser (Chrome, Firefox, IE) can access (open / save / etc.) the external file just by typing the mentioned URL to the browser

URL FORMATS TRIED / DIDN'T WORK:

  1. file://server_name/server_folder/external_file.docx
  2. http://server_name/server_folder/external_file.docx
  3. server_name/server_folder/external_file.docx
  4. \\server_name\server_folder\external_file.docx

Thanks ahead for your help

--Martin

6 Replies

Re: How to URL reference external document (DOC/DOCX) located at QlikView server

Hi,

    When you use the URL it allow only website URL's.

     If you want to open any PDF or any Document you can try "Launch" action.

     Another Option is you create a link in chart.

     Have a look at the link below.

http://community.qlik.com/message/326797#326797

Regards,

Kaushik Solanki

flipside
Valued Contributor II

Re: How to URL reference external document (DOC/DOCX) located at QlikView server

Hi Martin,

Not sure if this might help you ...

http://community.qlik.com/message/267392#267392

It involves using the WebViewer extension object and might require you to have your documents saved in htm format or similar or pdf.

flipside

Not applicable

Re: How to URL reference external document (DOC/DOCX) located at QlikView server

This doesn't solve my issue. I have a DOC/DOCX document. Moreover, I do not want to embed file inside the report. I want to load it as an external file from within the report and open in locally at the computer of business user.

Not applicable

Re: How to URL reference external document (DOC/DOCX) located at QlikView server

Thanks. Any option that you mentioned results in the same way. IE can open links without any troubles. Chrome will only open blank new window with non-editable omnibox (where you type URL). I'm guessing that the problem is in the way Chrome parses URL.

Is there any way how to load a link from QlikView script? Just like when QlikView opens a new report:

http://server_name/QvAJAXZfc/opendoc.htm?document=REPORT.QVW

It could be somethink like:

http://server_name/QvAJAXZfc/opendoc.htm?document=EXTERNAL_FILE.DOC

Re: How to URL reference external document (DOC/DOCX) located at QlikView server

Hi,

     See as you said it Works in IE. So what I understand is if it works in IE means that QlikView functionality or written code is correct. The only problem is with the Chrome Browser. So you must check the settings on Chrome, then changing script in QlikView.

Regards,

Kaushik Solanki

Not applicable

Re: How to URL reference external document (DOC/DOCX) located at QlikView server

Did you tried enabling Native Client plug-in in chrome ? If it is not enabled, try enabling it and see if it works.

Community Browser