使用 XMLA 连接到 TM1
我想使用 XMLA 连接到 IBM Cognos TM1,特别是使用 Adomd.Net。
根据 http://en.wikipedia.org/wiki/Comparison_of_OLAP_Servers#APIs_and_query_languages TM1 支持XMLA/MDX,但我找不到任何关于此的文档。
连接字符串的格式是什么?
有人尝试过吗?进展如何?
I'd like to connect to a IBM Cognos TM1 using XMLA, in particular using Adomd.Net.
Accoring to http://en.wikipedia.org/wiki/Comparison_of_OLAP_Servers#APIs_and_query_languages TM1 supports XMLA/MDX, but I can't find any documentation about this.
What would be the format of the connection string?
Has anyone tried, and how did you get on?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
连接字符串:
将出现 TM1 登录框,您也可以使用该字符串提供“用户 ID”和“密码”变量(我什至找到了 NT 服务器名称的位置变量,但还没有尝试过)。
资源很少:
http://www.bihints.com/tm1_sdk
Connection string:
The TM1 Login box will appear, you alternatively can provide the "User ID" and "Password" variables too with the string (I even found location variable for the NT Servername, haven't tried it though).
Little resource:
http://www.bihints.com/tm1_sdk
TM1 支持 MDX,包括实现一些自定义函数,但不支持 XMLA。几年前,Cognos 记录称 XMLA 支持即将到来,但基本上从未发生过。您可以使用旧版 ADOMD 库连接到 TM1 多维数据集 - 曾经在 TM1 圈子中非常流行在 VBA 中执行此操作。我也通过 .NET 完成了此操作。但是,尝试在 .NET 中使用 ADOMD 与 TM1 通信可能会遇到一些陷阱。 TM1 具有许多 API(C++、.NET、Java),其中包括向多维数据集发出 MDX 查询和取回单元集的方法。
TM1 supports MDX including implementation of some custom functions, but it does not support XMLA. A few years ago, Cognos documented that XMLA support was on the way, but basically it never happened. You can use the legacy ADOMD library to connect to TM1 cubes - at one time it was quite popular in TM1 circles to do this in VBA. I've done this through .NET as well. However, there's probably some pitfalls to consider trying to talk to TM1 using ADOMD in .NET. TM1 has a number of APIs (C++, .NET, Java) which includes methods for issuing MDX queries to cubes and getting cell sets back.