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. |