CRM 2011 Outlook Client opens a custom web application, both sites use ADFS authentication

I am currently working on an issue to fix the process of opening a custom web page in Outlook client from a custom ribbon button similar to this question: JavaScript popup in Outlook client Dynamics CRM 2011 client

However, I configured the website to have the same authentication token from the same ADFS as the CRM network. If I open it with IE / any other web browsers (in UR 12) it works fine. If I open it with an Outlook client, it prompts the user for authentication (which is very frustrating for some users).

I read them, but they are only applicable for CRM form, not custom web application: ADFS (CRM 2011) - Authentication problem in Microsoft Outlook Client for CRM (Response.Redirect (...) and Window.Open (.. .)) http://msdn.microsoft.com/en-us/library/jj602956.aspx

Anyone have an idea on this? FYI, I am using CRM 2011 UR 12 and Outlook 2010 with a CRM client.

TIA

+3


source to share


1 answer


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 provided the login details in my Outlook client setup.

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); 
}

      

+1


source







All Articles