Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
jcrincon
Contributor II
Contributor II

How to publish an App with attached file content

Hello everyone. 

This is my case: I created an App using Qlik Sense Desktop with collect, analyze and visualize data from a database and a CSV file. I attached the CSV file to the App using the DataManager UI. The App works as I need. 

The App was published at my Qlik Sense Server (Windows) with success. But, an error message is triggered when the App is reloaded because it's looking a Data File Connection lib://tmp/... 

TMP directory was the directory at my Desktop computer where the CSV file was uploaded from.

Any advice on how to publish my App? What I'm doing wrong? What's missing?

Regards,

Juan C. Rincon B, Demand Planner at Centro Medico Imbanaco de Cali
Labels (1)
1 Solution

Accepted Solutions
lblumenfeld
Partner Ambassador
Partner Ambassador

The simplest fix would probably be to just reattach the file to the app on the server. 

Otherwise, you can edit the script and correct it to the "Attached Files" connection.

Let me know if you need an example of the latter approach.

I hope this helps.

View solution in original post

4 Replies
lblumenfeld
Partner Ambassador
Partner Ambassador

The simplest fix would probably be to just reattach the file to the app on the server. 

Otherwise, you can edit the script and correct it to the "Attached Files" connection.

Let me know if you need an example of the latter approach.

I hope this helps.

jcrincon
Contributor II
Contributor II
Author

Hi,

Thanks for your reply. Could you please send me a sample ?

After changing the script, do I need also upload the data file at QMC (app > app content > upload)?

Thanks
Juan C. Rincon B, Demand Planner at Centro Medico Imbanaco de Cali
jcrincon
Contributor II
Contributor II
Author

Dear Lblumenfeld,

Thank you for your answer. It works now for me.

This is what I did. I made a windows directory named AttachedFiles. Then, I copied my file there, Attached to my App using the DataManager UI at Qlik Sense Desktop. 

At QMC, I imported the App and upload the file using "App Content" UI.

Thanks again. I save me a lot of time.

Juan C. Rincon B, Demand Planner at Centro Medico Imbanaco de Cali
lblumenfeld
Partner Ambassador
Partner Ambassador

You're welcome.