在 Qlik Sense 中获取对象 ID
Get the Object ID in Qlik Sense
我想知道 sheet 上某个对象的对象 ID 是什么。我下载了一个扩展表单 (http://branch.qlik.com/#/project/56f591b33f1dca10d1e91865),我需要对象 ID 作为扩展的参数才能导出特定对象的数据。
谢谢!
复制并粘贴来自 Qlik
的答案
Obtaining object id using the Single feature
One way of obtaining app id and object id is to use the Single feature
that comes with Qlik Sense.
Do the following:
Make sure that Qlik Sense Desktop is running. Open a browser window
and enter URL http://localhost:4848/single A list of available Qlik
Sense apps is displayed. Select the applicable Qlik Sense app. For
example, select the Tutorial.qvf item. A list of all sheets and
objects contained in the Qlik Sense app is displayed. If you want the
appid this can be found after the ?appid= in the URL. In this example
the appid is Tutorial.qvf Select the applicable Qlik Sense object. For
example, select the bar chart item titled Customer Sales and Quantity.
The visualization is displayed in the browser window. If you want the
object id, this can be found after the &obj in the URL. In this
example the object id is hpTGYJp. You have now obtained the object id
for the selected Qlik Sense object.
更快的替代解决方案:
- 在浏览器中转到应用程序
- 打开 DevTools(F12 或 Ctrl+Shift+i),然后 select "Elements" 选项卡(在 Chrome 中,在其他浏览器中可能有不同的名称,基本上select 显示生成的 DOM 页面的选项卡)
- 搜索“cell qv-gridcell qvt-gridcell ng-scope qv-gridcell-acc-focus”的元素这个 class 组合将成为 qlik 对象,它们的 tid 属性 是您要查找的对象 ID对于
现在Dev Hub中有一个官方工具可以检查对象的ID,看看at the docs
我想知道 sheet 上某个对象的对象 ID 是什么。我下载了一个扩展表单 (http://branch.qlik.com/#/project/56f591b33f1dca10d1e91865),我需要对象 ID 作为扩展的参数才能导出特定对象的数据。
谢谢!
复制并粘贴来自 Qlik
的答案Obtaining object id using the Single feature
One way of obtaining app id and object id is to use the Single feature that comes with Qlik Sense.
Do the following:
Make sure that Qlik Sense Desktop is running. Open a browser window and enter URL http://localhost:4848/single A list of available Qlik Sense apps is displayed. Select the applicable Qlik Sense app. For example, select the Tutorial.qvf item. A list of all sheets and objects contained in the Qlik Sense app is displayed. If you want the appid this can be found after the ?appid= in the URL. In this example the appid is Tutorial.qvf Select the applicable Qlik Sense object. For example, select the bar chart item titled Customer Sales and Quantity. The visualization is displayed in the browser window. If you want the object id, this can be found after the &obj in the URL. In this example the object id is hpTGYJp. You have now obtained the object id for the selected Qlik Sense object.
更快的替代解决方案:
- 在浏览器中转到应用程序
- 打开 DevTools(F12 或 Ctrl+Shift+i),然后 select "Elements" 选项卡(在 Chrome 中,在其他浏览器中可能有不同的名称,基本上select 显示生成的 DOM 页面的选项卡)
- 搜索“cell qv-gridcell qvt-gridcell ng-scope qv-gridcell-acc-focus”的元素这个 class 组合将成为 qlik 对象,它们的 tid 属性 是您要查找的对象 ID对于
现在Dev Hub中有一个官方工具可以检查对象的ID,看看at the docs