Click or drag to resize
LocationExtensionsAppWithNameOrDefault Method
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.

Namespace: Qlik.Engine
Assembly: Qlik.Engine (in Qlik.Engine.dll) Version: 2.1.0.0+Build:7.origin/release/ms13
Syntax
public static IAppIdentifier AppWithNameOrDefault(
	this ILocation location,
	string appName,
	bool noVersionCheck = false
)

Parameters

location
Type: Qlik.EngineILocation
Location object of the Qlik Sense instance
appName
Type: SystemString
Application name
noVersionCheck (Optional)
Type: SystemBoolean
Disable the SDK / Engine version check

Return Value

Type: IAppIdentifier
IAppIdentifier or default if no such app is found.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ILocation. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also