Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Conditioned Opening QV Document

The application I am working on has two versions - dev and prod versions.

Each version has a text object,which when clicked opens another qlikview document.

However, applications should open different documents depending weather they are located in production id in development.

Problem - when I edit the text object setting and try to edit actions -> it seems it is not allowed to use QV programming language and to write:

if (flag='DEV', DEV_app, PROD_App)

it seems I can only type the name of the QV Document.

Can you please help me configure this?

Thanks!

Labels (1)
11 Replies
fosuzuki
Luminary
Luminary

I guess that the variable's expression has an error. Try enclosing the dollar-sign expansion of TDPRFX with single quotes:

=if ('$(TDPRFX)'= 'D_', 'E2E-Prozess-KPI Vorabversion.qvw', 'E2E-Prozess-KPI Dashboard.qvw')

Not applicable
Author

Hi Fernando!

Following combination worked:

Variable definition: =if ('$(TDPRFX)'= 'D_', 'E2E-Prozess-KPI Vorabversion.qvw', 'E2E-Prozess-KPI Dashboard.qvw')

Action definition: ='$(v_MgmtModus_App)'

I had to add equal sign (=) in action definition

Thank you for your suggestions!

D.