首页 文章

CRM 2011 Outlook Client打开自定义Web应用程序,这两个站点都使用ADFS身份验证

提问于
浏览
3

目前我'm working on a task to fix the process of opening custom web page in outlook client from custom ribbon button, it'类似于这个问题:JavaScript pop-up in Dynamics CRM 2011 Outlook client客户端

但是,我已将网站配置为使用与CRM Web相同的ADFS中的相同身份验证令牌 . 如果我使用IE /任何其他Web浏览器(在UR 12中)打开它,它工作正常 . 如果我使用Outlook客户端打开它,它会一直提示用户进行身份验证(这对某些用户来说非常烦人) .

我已经阅读过这些内容,但它们仅适用于CRM表单,而不适用于自定义Web应用程序:ADFS (CRM 2011) - Authentication Issue in 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

1 回答

  • 1

    我最终使用了openStdWin,基于:http://blog.customereffective.com/blog/2011/12/jscript-pop-up-in-crm-402011-internet-explorer-vs-outlook.html和Dieter 's comment. It still asked me to authenticate once, even though I' ve提供了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); 
    }
    

相关问题