是否可以打开存储在内存中的 spotfire 分析文件?
Is it possible to open a spotfire analysis file stored in memory?
我想弄清楚是否有办法将 dxp 分析文件从内存传递到 API(即文件未存储在库中)。所以电话会是这样的:
<script type="text/javascript">
window.onload = function() {
var customization = new spotfire.webPlayer.Customization();
customization.showClose = false;
// can I pass dxp file in memory like that?
var file = new AnalysisFile();
var app = new spotfire.webPlayer.Application(htmlRawModelAnalyticsserver,
customization,
file);
var doc = app.openDocument("spotfire-container", htmlRawModelLaunchpage);
}
</script>
我使用的是 Spotfire 10.1 版
根据您最后的评论,我建议您查看 JavaScript API。从那里的文档:
With the TIBCO Spotfire® JavaScript API it is possible to embed
Spotfire visualizations and dashboards into web pages. The API
supports customized layout and enables integration with external web
applications.
The JavaScript API can be used for a diverse set of scenarios:
- Embed Spotfire visualizations into a corporate web site.
- Open an Spotfire analysis from a link, and configure the data or the analysis depending on the user.
- Integrate Spotfire analyses with other web applications.
The JavaScript API supports opening multiple views
against the same analysis, where all views are automatically linked
together. This gives a lot of flexibility when creating a mashup.
我想弄清楚是否有办法将 dxp 分析文件从内存传递到 API(即文件未存储在库中)。所以电话会是这样的:
<script type="text/javascript">
window.onload = function() {
var customization = new spotfire.webPlayer.Customization();
customization.showClose = false;
// can I pass dxp file in memory like that?
var file = new AnalysisFile();
var app = new spotfire.webPlayer.Application(htmlRawModelAnalyticsserver,
customization,
file);
var doc = app.openDocument("spotfire-container", htmlRawModelLaunchpage);
}
</script>
我使用的是 Spotfire 10.1 版
根据您最后的评论,我建议您查看 JavaScript API。从那里的文档:
With the TIBCO Spotfire® JavaScript API it is possible to embed Spotfire visualizations and dashboards into web pages. The API supports customized layout and enables integration with external web applications.
The JavaScript API can be used for a diverse set of scenarios:
- Embed Spotfire visualizations into a corporate web site.
- Open an Spotfire analysis from a link, and configure the data or the analysis depending on the user.
- Integrate Spotfire analyses with other web applications.
The JavaScript API supports opening multiple views against the same analysis, where all views are automatically linked together. This gives a lot of flexibility when creating a mashup.