ICCube Excel XMLA每次透视开设一个会话(连接)
我们已经使用XMLA枢轴表制作了一些针对ICCube模式的Excel文件。
除了我们注意到的事实外,一切都很好:
单个文件(甚至单个工作表选项卡)上的每个枢轴表都会触发与服务器的连接。 因此,在打开(和刷新)具有5个枢轴表的文件时,要求我们5次输入相同连接的凭据。
有没有办法避免这种情况? (当然,出于安全原因,我们无法将密码存储在连接字符串中,只想注册一个每次连接的时间)
我必须生产一个具有100多个枢轴的Excel文件,并且无法想象在当密码中输入100次密码打开它。
如下图所示,我有3个打开的会话:1(绿色),用于HTML会话和2个(红色),因为我打开了一个带有2个枢轴表的Excel文件。
We have produced some Excel files using Xmla Pivot Tables against Iccube schemas.
Everything is working well except the fact that we noticed :
Each Pivot Table on a single file (even single worksheet tab) triggers a connection to the server.
Thus, when opening (and refreshing) a file with 5 Pivot tables, we are asked 5 times to enter credentials for the same connection.
Is there a way to avoid that ? (Of course, for security reasons, we cannot store the password in the connection string, just would like to register one time per connection needed)
I have to produce an excel file with more than 100 Pivots and cannot imagine entering 100 times a password when opening it.
As you can see on following picture, I have 3 opened sessions : 1 (green) for html session and 2 (red) because I opened an excel file with 2 Pivot Tables.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
即使所有枢轴表共享了单个连接,也似乎是Excel的默认行为。一种可能的解决方案是编写宏来请求用户凭据,并以此信息即时编辑连接。
希望有帮助。
Even with a single connection shared by all the pivot table this seems to be the default behavior of Excel. One possible solution would be to write a macro to request the user credentials and somehow edit the connection on the fly with this information.
Hope that helps.