从部署在 Sharepoint 网站集上的 pps 仪表板检索 MDX
有没有办法检索共享点站点上部署的图表和报告的名称和相应的 mdx 查询?
我正在使用 Shrepoint 2010
Is there a way to retrieve the names and corresponding mdx queries of charts and reports deployed on a sharepoint site ?
i am using Shrepoint 2010
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
SharePoint Server 2010 使用 PPSAuthoringService Web 服务而不是 PmService。如果您还没有看过,请查看 PerformancePoint Services 团队博客上的这篇文章:http://blogs.msdn.com/b/performancepoint/archive/2010/09/13/using-the-ppsauthoringservice-web-service.aspx
OLAP 报表的查询存储在 ReportView.CustomData 属性中。像这样的东西应该可以工作(即使这个示例从 API 调用 Web 服务)。警告——我是一名业余程序员。
2/4/11 -- 您可以将报告位置传递给 GetMdx 方法,而不是如下所示查询报告的 CustomData 属性。
}
SharePoint Server 2010 uses the PPSAuthoringService web service instead of PmService. If you havent seen it yet, check out this post on the PerformancePoint Services team blog: http://blogs.msdn.com/b/performancepoint/archive/2010/09/13/using-the-ppsauthoringservice-web-service.aspx
The OLAP report's query is stored in the ReportView.CustomData property. Something like this should work (even though this example calls the web service from the API). Warning--I'm an amateur programmer.
2/4/11 -- Instead of querying the report's CustomData prop as shown below, you can just pass the report location to the GetMdx method.
}
您将打开 PPS 设计器应用程序,您可以看到仪表板上使用的图表的名称,并且您可以从报告中切换到设计模式以查看 MDX。
否则,您还可以运行 SQL Profiler 来跟踪从 PPS 发送到 Analysis Services 的查询。您必须注意,PPS 会进行大量缓存,我认为默认情况下是 10-20 分钟,因此如果您错过了第一个查询,您可能需要等待一段时间才能再次发送查询。
You would open up the PPS designer application and you could see the names of the charts used on the dashboard and from the report you can switch to design mode to see the MDX.
Otherwise you can also run SQL Profiler to trace the queries sent from PPS to Analysis Services. You have to be aware that PPS does a lot of caching, I think it is 10-20 minutes by default so if you miss that first query you may need to wait a while before the query is sent again.