Strange behaviour for custom button for web and outlook client. RRS feed

  • Question

  • Hello All,

                 i have a custom web page and integrated that into the MSCRM 2015.

    the custom web page has one of the button say "Add New contact" , this button works fine when we use it from within the web client but the same does not work within the outlook client.

    The issue is that from web client it opens the new contact form but from the outlook client it redirects to the login page.why this strange behavior .

    Note:-I am calling the javascript function on clicking of the "Add New contact" button .

    <script type="text/javascript">
    function ShowContact() {

    var _hdnWebsitePath = document.getElementById('hdnWebsitePath').value;
    if (typeof Xrm !== 'undefined') {
    else {
    window.open(_hdnWebsitePath + '/main.aspx?etn=contact&pagetype=entityrecord');

    where _hdnWebsitePath  is the server path variable.

    Kindly help me in resolving this issue.

    Monday, November 16, 2015 5:43 AM

All replies

  • In outlook Microsoft also accepted the bug in MSCRM 2015 for javascript used on the form to redirect to the particular entity record.
    Wednesday, January 13, 2016 4:36 AM