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

编程入门 行业动态 更新时间:2024-10-28 08:26:54
CRM 2011 Outlook Client打开自定义Web应用程序,这两个站点都使用ADFS身份验证(CRM 2011 Outlook Client open custom web app, both sites using ADFS authentication)

目前我正在开展一项任务来修复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); }

更多推荐

本文发布于:2023-04-27 12:34:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1327067.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:这两个   自定义   应用程序   身份验证   站点

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!