callRepository method

Warning: DEPRECATED.
This API is deprecated and may be removed in a future version.

qlik.callRepository(path, method, body)

Calls the Qlik Sense repository.

Version history

Introduced 1.1
Updated 1.0, 1.2, 2.0
Deprecated

June 2019

Use instead: Qlik Sense Repository Service API

Parameters

path

Type: String

Path to the Qlik Sense repository.

Refer to Qlik Sense repository documentation for the available paths.

method

Type: String

Optional.

HTTP method.

Default is GET.

body

Type: String

Optional.

Body of the post.

Returns

A promise of a Qlik associative engine reply.

Tip: For more information regarding a promise, see https://code.angularjs.org/1.7.0/docs/api/ng/service/$q#the-promise-api.

Example

qlik.callRepository('/qrs/extension/schema').success(function(reply) {
	alert(JSON.stringify(reply));
});

Did this information help you?

Thanks for letting us know. Is there anything you'd like to tell us about this topic?

Can you tell us why it did not help you and how we can improve it?