Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Reusing elements from another app

Hi,

I'm new to Qlik. I want to reuse elements (data and visualisation) from another app in Desktop.

1. How could that be done?

2. Is there a way to just merge two apps or copy all sheets, visualisation and data connection from one to another?

Thanks.

6 Replies
swuehl
MVP
MVP

You can use the same data by using a binary LOAD statement to load the data model into another QVW.

(Or partially load the same data by using QVDs)

You can copy & paste any sheet objects from one desktop application to another, but you might need to adapt expressions / dimensions to the new model.

santiago_respane
Specialist
Specialist

Hi,

have you tried with the -prj folder?

This way you can export all application components and use from another.

You can try as an example of how it works:

  1. Create a QV app with a couple of objects and script lines
  2. Save your app as MyApp and close
  3. In the same directory where your app resides create a folder named MyApp-prj
  4. Open MyApp.qvw and save into same location
  5. You will notice that inside MyApp-prj folder now are a lot of xml files containing each object, the script, etc
  6. Create a copy of your folder MyApp-prj named as MyNewApp-prj
  7. Create an empty new qv app and save it in same directory with name MyNewApp.qvw
  8. When asked to overwrite configuration select NO and after close MyNewApp.qvw
  9. Open MyNewApp.qvw and voila! you have all your objects and script in your new app

You can edit script, individual objects, delete objects, change colors, fonts, etc between steps 6 and 7 and changes will be applied in your new app starting on your old one.

This is the simplest way, i recommend you to read the following articules:

Break apart Qlikview File

Updated Guide to QlikView and Source Control (TFS & Subversion)

Let me know if this helps.

Kind regards,

Anonymous
Not applicable
Author

Thank but I don't really know how to do this. All apps that I have are with .qvf extension and searching for .qvw gave no results.

santiago_respane
Specialist
Specialist

Hi,

you are talking about QlikSense! I don't know if it will work but you can give it a try replacing .qvw with .qvf in the steps i mentioned.

Please let me know if it works.

Kind regards,

Anonymous
Not applicable
Author

If I knew what this means I wouldn't probably post such a question in "New to QlikView".

As an innocent user, I would expect that I can go to a data connection, or a table, and somehow make it "global", or "master" or whatever the terminology is. I thought that sharing data and visualisations across apps would be the most basic thing in such a tool. Anyway, if this is not the case, which is what you answer implies, could you please give me a bit more guidance? My situation is: I see in the Qlik Sense Desktop Hub two apps. My first objective is from one of the apps to be able to use all the data of the other app.

Anonymous
Not applicable
Author

I don't see folders with XML files and the like. Each app is only one QVF file, and that's all.