locked
CRM 2011: Issue with CRM Online (RTW) and Outlook 2010 (Outlook for CRM client build .583) with window.open function RRS feed

  • Question

  • Issue with CRM Online (RTW) and Outlook 2010 (Outlook for CRM client build .583)

    (We have verified that this is not an issue with CRM 2011 On Premise)

    The issue is with CRM Online (RTW) and Outlook 2010 (Outlook for CRM client build .583).  The issue is easily reproduced with the simple example provided using the window.open function.

    Live Id gets lost when calling to CRM Online from a custom html web resource from within the Outlook client.  This is a big issue and was wondering if anyone has seen this?

    Example (create new html webresource and add a button that executes the following script. Next test from within outlook)

    var serverURL = 'PUT SERVER URL HERE';
    var accountid = 'PUT ACCOUNTID HERE';

    var accountURL = serverURL + '/main.aspx?etn=account&extraqs=etc%3D1%26id%3D' + accountid + '&id=' + accountid + '&pagetype=entityrecord';

    var o = window.open(accountURL, "accountwindow", "width=1000px,height=600px,resizable=1");

    Friday, March 4, 2011 6:55 PM

Answers

  • The supported way is using the new Xrm.Utility http://msdn.microsoft.com/en-us/library/jj602956

    There is an unsupported way with function in the MSCRM scripts. Using IE to debug a form look for the script "/_common/Global.ashx" there is a function called "openStdDlg", "openStdWinWithFeatures", and "openStdWin"

    Something like this:  function openStdDlg(url, arguments, width, height, resizable, modeless, customWinParams)

    Friday, August 31, 2012 5:51 PM

All replies

  • What are you putting in for server url? 

    On-premise url is usually http://https://server/org

    online url is usually http://https://org.server


    Jamie Miley
    Friday, March 4, 2011 7:13 PM
    Moderator
  • I'm using https://companyname.crm.dynamics.com. I tested getting to the Web Client from Internet Explorer..

    The Issue still remains when using CRM from Outlook.

    Friday, March 4, 2011 7:37 PM
  • Did you ever figure this one out?
    Jamie Miley
    http://mileyja.blogspot.com
    LinkedIn Profile
    Tuesday, March 15, 2011 1:21 AM
    Moderator
  • Working with Microsoft Support on this one. They are able to reproduce it and as of right now there is no solution to this issue. I will update the post when a solution is reached.

    Tuesday, March 15, 2011 12:46 PM
  • We have also confirmed this with CRM Online and Outlook 2010 (build 5.0.9688.1045), aka Update Rollup 1.  This issue is BIG and I really hope Microsoft is taking this seriously. 

    If you have javascript that uses the window.open command to launch a new window (web resource, html) the CRM for Outlook user needs to login AGAIN with their LiveID.  This is unacceptable as most users are using the CRM for Outlook client.  Again, this is not an issue when not using the web client.

    Please post any updates you get from Microsoft. 

    Thursday, April 14, 2011 9:45 PM
  • We are having the same problem with outlook client CRM IFD environment has this been resolved ? 
    Friday, October 21, 2011 10:36 AM
  • Hi Henry, have you got this one fixed? I came across the same problem today, really annoying. Thanks
    Sunday, February 12, 2012 10:41 PM
  • Friday, August 31, 2012 5:35 PM
    Moderator
  • The supported way is using the new Xrm.Utility http://msdn.microsoft.com/en-us/library/jj602956

    There is an unsupported way with function in the MSCRM scripts. Using IE to debug a form look for the script "/_common/Global.ashx" there is a function called "openStdDlg", "openStdWinWithFeatures", and "openStdWin"

    Something like this:  function openStdDlg(url, arguments, width, height, resizable, modeless, customWinParams)

    Friday, August 31, 2012 5:51 PM