首页 > 解决方案 > 按 id 获取 Qlik 对象时未找到对象

问题描述

尝试获取对象时出现错误。我正在尝试根据我在开发中心看到的内容来检索 id 为“hJdkLkt”的表。我可以看到它正在创建会话,但我什么也没得到。

this.session = enigma.create({
  schema,
  url: 'ws://localhost:9076/app/sampleApp'
});
this.session.open()
  .then(global => global.createSessionApp())
  .then(doc => doc.getObject('hJdkLkt').then(obj => console.log(obj)))
  .then(() => this.session.close())
  .catch(error => console.log(error));

标签: qliksense

解决方案


推荐阅读