简体   繁体   English

如何将数据嵌入到Analysis DXP文件中?

[英]How to embed the data in the Analysis DXP file?

I am trying to figure out how to embed the data to the DXP file when the user downloads the DXP file by going to the Web Player and presses File -> Download as DXP File option. 当用户通过转到Web Player并按File- > Download as DXP File选项下载 DXP文件时,我试图弄清楚如何将数据嵌入到DXP文件中

Currently, when the user downloads the file locally and opens it, they get prompted for the "Data Connection" credentials: 当前,当用户在本地下载文件并打开它时,会提示他们输入“数据连接”凭据:

在此处输入图片说明

I am assuming that is because our data is accessed via database and it is not embedded into the DXP file itself. 我认为这是因为我们的数据是通过数据库访问的,而没有嵌入DXP文件本身。 I have 2 questions: 我有两个问题:

  1. How to make it so that the data is embedded into the DXP file so the user doesn't have to log in using the "Data Connection" credentials? 如何使数据嵌入到DXP文件中,以便用户不必使用“数据连接”凭据登录?
  2. Is it possible to only embed that data when the user downloads the DXP file using the File -> Download as DXP File option? 仅当用户使用“ 文件” ->“ 下载为DXP文件”选项下载DXP文件时,才可能嵌入该数据吗?

For the first question, click Edit then Data Table Properties. 对于第一个问题,单击编辑,然后单击数据表属性。 On the General tab, select "Embedded in analysis" under Store data. 在“常规”选项卡上,在“存储数据”下选择“嵌入分析”。

I don't know the answer to your second question. 我不知道您第二个问题的答案。

What I normally do is save a version of the DXP locally that has all the correct connections. 我通常要做的是在本地保存具有所有正确连接的DXP版本。 I then manually save copy as a library item when the data needs to be updated. 然后,当需要更新数据时,我将副本手动保存为库项目。 When you do this, it gives you the option to embed the data in the library item version of the DXP. 执行此操作时,它使您可以选择将数据嵌入DXP的库项目版本中。 It isn't the best solution if the data needs to be updated frequently. 如果需要经常更新数据,则不是最佳解决方案。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM