简体   繁体   English

如何在 Spotfire Analyst 中执行自定义编写器?

[英]How to execute a custom writer in Spotfire Analyst?

I am investigating how my team can extend the Spotfire Framework specifically by developing C# AddIns.我正在研究我的团队如何通过开发 C# 插件来专门扩展 Spotfire 框架。 I was checking out example projects included in the Developer SDK, specifically the " SpotfireDeveloper.CustomDataWriterExample ".我正在查看 Developer SDK 中包含的示例项目,特别是“ SpotfireDeveloper.CustomDataWriterExample ”。

So what I did is I created a new "TIBCO Spotfire Extention_VS" using Visual Studio and copied all of the classes from the example project.所以我所做的是使用 Visual Studio 创建了一个新的“TIBCO Spotfire Extention_VS”,并从示例项目中复制了所有类。 I ran my project (ie TIBCO Spotfire Extention_VS1), it loads my Extention fine but I have no idea how to trigger that custom data writer now using the UI (I am new to Spotfire Analyst).我运行了我的项目(即 TIBCO Spotfire Extention_VS1),它可以很好地加载我的扩展,但我不知道现在如何使用 UI 触发该自定义数据编写器(我是 Spotfire Analyst 的新手)。

Should I be looking at the File -> Export menu?我应该查看文件 -> 导出菜单吗?

I have managed to get that working.我已经设法让它发挥作用。 I had a few problems with my project.我的项目遇到了一些问题。

  1. I had to add我不得不添加

    /loadallmodules /addmodulefolder:"D:...\\10.0\\SDK\\MyExtentions\\Build\\Modules" to "Command line argumets" in Debug menu: /loadallmodules /addmodulefolder:"D:...\\10.0\\SDK\\MyExtentions\\Build\\Modules" 到调试菜单中的"命令行参数":

在此处输入图片说明

  1. I was using Spotfire SDK version 10.1 with Spotfire Analyst 10.0.我在 Spotfire Analyst 10.0 中使用了 Spotfire SDK 10.1 版。 Apparently, they are not compatible.显然,它们不兼容。 I had to download Spotfire SDK 10.0 and that worked fine with my Analyst 10.0我必须下载 Spotfire SDK 10.0 并且在我的 Analyst 10.0 上运行良好

The end result, I was able to see my custom data writer export type in the Save as dropdown:最终结果是,我能够在“另存为”下拉列表中看到我的自定义数据编写器导出类型: 在此处输入图片说明

PS: I have 2 projects that implemented the custom data writer that's why I have duplicates in the export type list PS:我有 2 个项目实现了自定义数据编写器,这就是为什么我在导出类型列表中有重复项

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

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