Qlik Community

Ask a Question

App Development

Discussion board where members can learn more about Qlik Sense App Development and Usage.

Announcements
April 22, 2PM EST: Learn about GeoOperations in Qlik Sense SaaS READ MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
bujnakbranislav
Partner
Partner

Convert File Path into URL Link

Dear community:

I have images stored on the server in a local directory that I would like to display in the QS App. Every extension that I have tried requires to have URL link, or to upload images into QS Library (can't do, as I need to have this step automated). I did some research on how to convert file path into url link, but was not successful. Did anyone had the same issue and how did you get around it?

Thanks,

Branislav

1 Solution

Accepted Solutions
bujnakbranislav
Partner
Partner
Author

I solved the issue by adding virtual directory in IIS. Thanks

View solution in original post

10 Replies
eduardo_dimperio
Specialist II
Specialist II

Hi Branislav,

Indeed all images only with URL, an alternative is to create a "localhost" to that images.

bujnakbranislav
Partner
Partner
Author

Would you mind to share how to create a localhost on the server? I did it on my QS Desktop where I linked to localhost:4848, but not sure what exactly to do on the server.

Thanks,B

eduardo_dimperio
Specialist II
Specialist II

This a little problem, cause my infra did this to me, but as i know they use a IIS and configure to work with QS, You can try with Xaamp as well, but im not 100% sure about that

bujnakbranislav
Partner
Partner
Author

I solved the issue by adding virtual directory in IIS. Thanks

View solution in original post

sandeep_roy
Creator II
Creator II

Hello Bujnak, I tried the same with creating virtual directory IIS in my qliksense server.

But when I am try to give the location path and executing from local machine via qliksense unable  to get the result.

I have mentioned the path of folder with PDF files. Can you suggest where I am doing wrong in naming the path or something else?

Please attached screenshot. what path name should be given to access PDF files?

Also while cliking on the link showing error --

Error 404 - Not found

The following URL is unknown:

Untitled.jpg

bujnakbranislav
Partner
Partner
Author

Roy,

See attached steps. Let me know if you were able to connect to your Images/PDFs or if you have any other questions.


BranislavImage1.PNGImage2.PNG

sandeep_roy
Creator II
Creator II

Thank you Branislav, I have implemented the way you have mentioned....

I am little bit stuck in the path given the last point 4 (Replace function). Are you giving &ImageName stored in the table???  I assume you have given the Img_Dir field as URL..

kindly suggest...

bujnakbranislav
Partner
Partner
Author

My image names are stored in the separate field (ImageName). Img_dir only gives me path to the folder, but not the individual files. Therefore, I am adding &ImageName to my pathway. If your database already has full pathway to the file, no need to add &ImageName after the url.

Hope it helps

sandeep_roy
Creator II
Creator II

Thanks Branislav..It cleared the doubt...