Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
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!

11 Replies
fosuzuki
Partner - Specialist III
Partner - Specialist III

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.