Skip to main content Skip to complementary content

AppWithNameOrDefault Method

Overloads

AppWithNameOrDefault(ILocation, String)

Connect to a Qlik Sense app with the name. If you connect to a server, you can have multiple apps with the same name. On desktop you can only have one app with a specific name. If you have multiple apps with the same name on the server this method will return the first app in the list. If you would like to get all the apps with a specific name please use the method AppsWithNameOrDefault. This method opens a temporary websocket connection.

AppWithNameOrDefault(ILocation, String)

Connect to a Qlik Sense app with the name. If you connect to a server, you can have multiple apps with the same name. On desktop you can only have one app with a specific name. If you have multiple apps with the same name on the server this method will return the first app in the list. If you would like to get all the apps with a specific name please use the method AppsWithNameOrDefault. This method opens a temporary websocket connection.

Declaration

      public static IAppIdentifier AppWithNameOrDefault(this ILocation location, string appName)
    

Parameters

Type Name Description
ILocation location

Location object of the Qlik Sense instance

System.String appName

Application name

Returns

Type Description
IAppIdentifier

IAppIdentifier or default if no such app is found.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!