- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How to get object names of an Application
How do you get all object names of an application given the application Id?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
you mean object iDs?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No, I mean a name.
Mash-up pull chart and graph from Qlik Sense using Objects's ID. However, the IDs change when you do deployment ( move from one environment (TEST) to another(PROD)). I am trying to figure out a way to automate the deployment process so that you don't have to going the mash up code & manually change the object IDs.
I am thinking if I can give the object a meaningful name I can find the right object to links to the mashup.
I am able to do it with App ID but have not figure out how to get name from object IDs
Here is what I did to get the app_id:
qlik.getAppList(function(list) {
var content= "id=";
list.some(function(value) {
if (value.qDocName == 'MyApp')
{
document.getElementById("AppId").innerHTML = value.qDocId;
//app = qlik.openApp(appid, config);
app = openApp(value.qDocId, config);
//var infos = app.GetAllInfos();
//var infos = app.GetAllInfos();
//alert(infos.length);
//app = qlik.openApp(appid, config);
}
});
});
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I try and it does not work for me.
However, further research show that also deployment (export/import of qvf file) only change the AppId not the object in it. Thanks so much for your ansnwers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
how it will change if you move to test to prod environment?
app id and object ids will not change.