目前我正在开展一项任务来修复Outlook客户端中自定义功能区按钮打开自定义网页的过程,它与此问题类似: Dynamics CRM 2011 Outlook客户端客户端中的JavaScript弹出窗口
但是,我已将网站配置为使用与CRM Web相同的ADFS中的相同身份验证令牌。 如果我使用IE /任何其他Web浏览器(在UR 12中)打开它,它工作正常。 如果我使用Outlook客户端打开它,它会一直提示用户进行身份验证(这对某些用户来说非常烦人)。
我已经阅读过这些内容,但它们仅适用于CRM表单,而不适用于自定义Web应用程序: ADFS(CRM 2011) - Microsoft Outlook Client for CRM中的身份验证问题(Response.Redirect(...)&Window.Open(.. 。)) http://msdn.microsoft.com/en-us/library/jj602956.aspx
有人对此有任何想法吗? 仅供参考,我使用CRM 2011 UR 12和Outlook 2010与CRM客户端。
TIA
Currently I'm working on a task to fix the process of opening custom web page in outlook client from custom ribbon button, it's similar to this question: JavaScript pop-up in Dynamics CRM 2011 Outlook client client
However, I have configured the website to have the same authentication token from the same ADFS as CRM web. If I open it using IE/any other web browsers (in UR 12), it works fine. If I open it using outlook client, it keep prompting the user to authenticate (which is quite annoying for some users).
I've read these, but they are only applicable for CRM form, not custom web app: ADFS (CRM 2011) - Authentication Issue in Microsoft Outlook Client for CRM (Response.Redirect(...) & Window.Open(...)) http://msdn.microsoft.com/en-us/library/jj602956.aspx
Anyone have any idea on this? FYI, I'm using CRM 2011 UR 12, and Outlook 2010 with CRM client.
TIA
最满意答案
我最终使用了openStdWin,基于: http : //blog.customereffective.com/blog/2011/12/jscript-pop-up-in-crm-402011-internet-explorer-vs-outlook.html和Dieter的评论。 它仍然要求我进行一次身份验证,即使我已在Outlook客户端设置中提供了登录详细信息。
javascript函数:
function openNewWindow(url) { var name = "newWindow"; var width = 800; var height = 600; var newWindowFeatures = "status=1"; var oldWindowFeatures = "width=800,height=600,status=1"; // Regular Jscript function to open a new window //window.open(url, name, oldWindowFeatures); // CRM function to open a new window openStdWin(url, name, width, height, newWindowFeatures); // CRM function to open a new window // with default CRM parameters //openStdWin(url, name); }I ended-up using openStdWin, based on: http://blog.customereffective.com/blog/2011/12/jscript-pop-up-in-crm-402011-internet-explorer-vs-outlook.html and Dieter's comment. It still asked me to authenticate once, even though I've provided the login detail in outlook client setup.
The javascript function:
function openNewWindow(url) { var name = "newWindow"; var width = 800; var height = 600; var newWindowFeatures = "status=1"; var oldWindowFeatures = "width=800,height=600,status=1"; // Regular Jscript function to open a new window //window.open(url, name, oldWindowFeatures); // CRM function to open a new window openStdWin(url, name, width, height, newWindowFeatures); // CRM function to open a new window // with default CRM parameters //openStdWin(url, name); }更多推荐
发布评论