Qlik Community

Qlik Sense Integration, Extensions, & APIs

Discussion board where members can learn more about Integration, Extensions and API’s for Qlik Sense.

amien
Valued Contributor

looking for example c# SDK getting list of connections and view properties of that connection

Anyone got an example of this? or know where i can find it? Can't find it in the reference manual

7 Replies
amien
Valued Contributor

Re: looking for example c# SDK getting list of connections and view properties of that connection

Nobody?

Employee
Employee

Re: looking for example c# SDK getting list of connections and view properties of that connection

Hey,

You can use this method on the App class App.GetConnections Method

amien
Valued Contributor

Re: looking for example c# SDK getting list of connections and view properties of that connection

Thanks .. this works .. is it also possible to get only a list of connection which are being used by App.?

amien
Valued Contributor

Re: looking for example c# SDK getting list of connections and view properties of that connection

anyone? i'm looking for a listconnection class without using the App class.

Employee
Employee

Re: looking for example c# SDK getting list of connections and view properties of that connection

No, you would have to parse the loadscript to know that.

Employee
Employee

Re: looking for example c# SDK getting list of connections and view properties of that connection

Using the SDK you would need the app class for that.
You could also query the QRS rest api to find out which connections are available within the system if you do not want to operate on a App class.

amien
Valued Contributor

Re: looking for example c# SDK getting list of connections and view properties of that connection

Thats really not great news .. because when i loop though all the application. Withing that loop i get my dataconnection. Would it be possible to split this? For example how can i open 1 single app and than get the DataConnections? i will do my loop after that

I have it now like this:

foreach (IAppIdentifier appIdentifier in location.GetAppIdentifiers())

{

}

Community Browser