Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
hvdbunte
Partner - Contributor III
Partner - Contributor III

Automaticly reload Data loaders with enigma

Hi,

I am completely new to using JavaScript and enigma. So I am wondering if the following would be possible with these tools and how to start.
We have a multi-tenant environment. We have 20 clients with all the same data loader script, only the connection strings are different. We connect with odbc connections to our client databases. So now we have to copy every change to the data loader script for all clients. So I was wondering if it would be possible to build one data loader and run this for all clients,

So I got the authentication code running from enigma on GitHub but I don’t know how to proceed with opening apps and reloading them.

So my question is, can somebody give me some advice on how to start with this idea? And are there examples on how to proceed?

Thank you very much for your help!

Hendri

1 Solution

Accepted Solutions
rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

Instead of of using Enigma and APIs, here are a couple of alternatives.

1. Maintain the separate client loaders but use a $(include) for the script so they share a common script source.

2. Use a single loader script with a foreach loop that executes the loader script for each connection inthe list.

-Rob

http://masterssummit.com

http://qlikviewcookbook.com

View solution in original post

3 Replies
rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

Instead of of using Enigma and APIs, here are a couple of alternatives.

1. Maintain the separate client loaders but use a $(include) for the script so they share a common script source.

2. Use a single loader script with a foreach loop that executes the loader script for each connection inthe list.

-Rob

http://masterssummit.com

http://qlikviewcookbook.com

hvdbunte
Partner - Contributor III
Partner - Contributor III
Author

Hi rob and Bala,


Thanks for the advice. I will look into this!                                          

Regards,

Hendri