Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
DRN
Contributor
Contributor

Create a URL link to fetch the file from a server location

There are some documents placed in a server folder(file path - file://xyz.local/fileshare/Data/Test/file.pdf)

I need this to be displayed as a link in Qlik Sense Dashboard. Once user clicks on this link , the file should open. If file://xyz.local/filepath/Data/Test/file.pdf is opened in Chrome, then it opens the file .

This file path is fetched from database and in Qlik Sense properties the representation  is changed to URL. This appears as a URL, but when clicking on the URL it opens up a blank page in Chrome.

Can someone help me to understand what am I doing wrong? What should be the format of the file path?

Thanks,

DN

 

Labels (1)
3 Replies
treysmithdev
Partner Ambassador
Partner Ambassador

Are they opening the link on the server or their own machine? file://... will look to the current machine's file system, not the server's.

Due to Qlik's security mechanism's, it's web server won't just serve up any file through its web server. It has to be from a Content Library. Here is a blog post which might help you. It's focused on HTML files, but it will work for PDFs just the same.

 

Blog: WhereClause   Twitter: @treysmithdev
DRN
Contributor
Contributor
Author

Hi Trey,

Thanks for that. To give a bit more background of the issue:

We have certain files stored against each employee. The path to the file can be obtained from oracle database. In Qlik, we need to show the employee's file as a URL . So once the user clicks on the URL, the document against each employee should open up.

Qlik Sense is on Server A. The file path is on Server B (not users machine). From Server A , we are able to access the files on server B directly.

I have tried below formats, but nothing works:

//servername/folder_name/file_name.pdf

File://servername/folder_name/file_name.pdf

Can you please let me know if there is a way to fetch these files without the use of Content Library?

Thanks,

 

KCBV
Contributor
Contributor

Do you solved your issue, i do have the same problem. Opening with outlook works but not with chrome