Skip to main content Skip to complementary content
Close announcements banner

getAppList method

qlik.getAppList(callback, config)

Method used to get a list of Qlik Sense apps that you potentially can connect to and it registers a callback to receive the data.

This method opens a web socket, gets the app list, and then closes the web socket.

Since:
  • 1.0

Parameters

Name Type Description
callback Function Callback method.
config Object

Optional.

Additional configuration parameters:

Name Type Attr Descr
host String <optional> Qlik host.
port String <optional> Port number.
prefix String <optional> Qlik virtual proxy. "/" if no proxy.
isSecure Boolean   Use SSL.
openWithoutData Boolean <optional>

Open app without loading data.

This parameter was introduced in version 1.1.

identity String <optional> Unique identity for the session. If omitted, the session will be shared.

Example

var config = {
		host: "myhost.com",
		prefix: "/",
		port: window.location.port,
		isSecure: true
	};
	qlik.getAppList(function(list){
		var str = "";
		list.forEach(function(value) {
			str +=  value.qDocName + '('+ value.qDocId +') ';
		});
		alert(str);
	}, config);
Tip noteSee Loading external and internal modules for more example of use.

Learn more

 

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!