Qlik Community

QlikView Deployment

Discussion Board for collaboration related to QlikView Deployment.

Not applicable

How to get Model Name

Hi guys,

Can you please let me know how do I get the name of the model I am in.

What we need to do is based on the model name load from a different set of qvd's.

We have 2 models. One is called Model1 and the other one called Model1 (Full Version). Both these models look and are exactly the same but the one model loads from one set of qvd's which is a subset of the other models qvd's.

So I want to create a variable inside this model that determine what the model name is and based on that execute a different load statement from a different qvd, meaning that if I make changes to one model I can simply overide the other model and update it and it will have the correct data set in it.

I hope I am clear.

Thanks,
Marius

1 Solution

Accepted Solutions
MVP
MVP

Re: How to get Model Name

Are you looking for system function DocumentName( ) ?

DocumentName( )

Returns a string containing the name of the current QlikView document, without path but with extension.

2 Replies
MVP
MVP

Re: How to get Model Name

Are you looking for system function DocumentName( ) ?

DocumentName( )

Returns a string containing the name of the current QlikView document, without path but with extension.

Not applicable

Re: How to get Model Name

Awesome. Thanks.

Community Browser