Vote for your favorite Qlik product ideas and add your own suggestions.
QlikView QMC allows you to create tasks with parameters that are passed into script variables - this should also be possible in Qlik Sense task.
I second this. It apparently was available in Qlik View. It would make things so much better
Totally agree! Just for those who don't remember QlikView - here's how this feature looks like:
Yeah I totally agree.
I would think this will arrive sooner or later in the core Qlik Sense Enterprise product, but not wanting to wait I created an alternate solution for this.It solves my needs in this space but there are of course room for improvement too.
The solution is built around a generic key-value store, which is included in recent versions of the open source Butler service (butler.ptarmiganlabs.com).
The idea is pretty simple:
True, you will have to set up and run Butler for this to work. But it's open source (free) and runs nicely even on the existing Sense servers. You also need to add some script lines for inserting the parameters, but it's literally just a few lines of script:
Write values to key-value store from the first app...
// Create key-value pair in Butler's key-value store.
Call NiceTrace('Writing parameter to Butler key-value store. No time-to-live (ttl).')
Call AddKeyValue('Reload chain parameter demo', 'Parameter 1', 'a1 abc 123', 0)
Call NiceTrace('Written parameter to key-value store: ')
Call NiceTrace('Namespace="Reload chain parameter demo", Key="Parameter 1", Value="a1 abc 123"')
...then read them back from the second app
// Define variable to store the retrieved parameter in
Call NiceTrace('Loading parameter from Butler key-value store.')
Call GetKeyValue('Reload chain parameter demo', 'Parameter 1', 'vParam1')
Call NiceTrace('Retrieved parameter value:')
Call NiceTrace('Namespace="Reload chain parameter demo", Key="Parameter 1", Value="$(vParam1)"')
Works quite well.
yes, this would be a great feature.
Yeah, this is needed.
Every single workaround I saw so far (including the suggestion for Butler above) has one fatal flaw: they are scoped to the app, not to the task. There is just no way to have 1 app
So if previously you had 1 app and a task that was spitting out 10 versions based on a parameter with 10 values, or 1 app with multiple tasks specified and parametrized differently, suddenly you need 10 apps. If all the app was doing was data processing, then it's not so bad, you can minimize repetition of script via includes. If the app had actual visualizations in it... ouch.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.