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 can use tags as a workaround to pass parameters.
Tags can be accessed in QS script using the JSON object the monitor app data connection provides.
Still not perfect 😉
This has been a gap since Qlik Sense went live.
Yes please, this is such a useful feature for reload workflow flexibility.
My current use case: designing a workflow for daily extracts and weekly extracts behaving differently. I'd like to "flip a variable switch" to force different processing behavior on the weekend.
4 years later and this idea hasn't yet been implemented...I see this as a mandatory feature if we are to use QS QMC as a true dataflow management orchestrator.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.