Summary:

In a Vanilla System (IE10 or IE9) Select the Create new appointment option, then select the green Find arrow next to person field (cmli_comm_personid).


Symptoms:

A popup message will appear indicating an error:

An error has occurred in the script on this page:

Object doesn’t support property or method
‘NavPopupUrlcmli_comm_personid’


Resolution:

This issue was escalated to Development, and resolved in v7.1l and v7.2 GA.


Workaround:

Navigate to Administration -> Customisation -> Comm_Link -> Screens -> CommWebPicker. Add the following as a Custom Content script


The only part that will need to be changed is the CRM installName variable highlighted in yellow.

<script>
var installName = "CRM71"
function QryStr(key){

    var m=window.location.search.match(new RegExp("([?&]" + key + "=)([^&]*)", "i"));

    return (m)?m[2]:"";
}

function ShowPopupOptionsWindowcmli_comm_personid(){


    oPopupcmli_comm_personid = crmPopup.createNewPopup(window, window);
    oPopupcmli_comm_personid.css=document.location.protocol+"//"+document.location.host+"/" + installName + "/Themes/color1.css";
    oPopupcmli_comm_personid.jQueryUrl="/" + installName + "/jQuery/jquery-1.7.1.min.js";
    oPopupcmli_comm_personid.effect = "fadeIn";
    oPopupcmli_comm_personid.html='<DIV STYLE="cursor:default" class="SearchSelectTied"><DIV style="margin:4;"><SPAN TABINDEX=0 CLASS=\x22SearchSelectText\x22 ONMOUSEOVER=\x22this.className=\x27SearchSelectTextR\x27;\x22 ONMOUSEOUT=\x22this.className=\x27SearchSelectText\x27\x22 onClick=\x22parent.NavPopupUrlcmli_comm_personid(\x27/'+ installName + '/eware.dll/Do?SID=' + QryStr("SID") + '&Act=512&Mode=1&CLk=&Key0=4&Key4=1&ViewField=Pers_FullName,Pers_PhoneFullNumber,&JumpReturnCol=cmli_comm_personid&JumpIdField=Pers_PersonId&JumpNameField=Pers_FullName&SearchEntity=Person&SearchTable=vSearchListPerson&SearchSql=Pers_CompanyID%3D' + document.EntryForm.cmli_comm_companyid.value + '&searchsqld=&SsDef=20&LinkedField=&Restrictor=Pers_AccountId&RF=cmli_comm_accountid&TiedField=cmli_comm_personid&SearchText=\x27, \x27cmli_comm_personid\x27,\x27/' + installName + '/eware.dll/Do?SID=' + QryStr("SID") + '&Act=1275&Mode=1&CLk=&Key0=4&Key4=1&ViewField=Pers_FullName,Pers_PhoneFullNumber,&JumpReturnCol=cmli_comm_personid&JumpIdField=Pers_PersonId&JumpNameField=Pers_FullName&SearchEntity=Person&SearchTable=vSearchListPerson&SearchSql=&searchsqld=&SsDef=20&LinkedField=&Restrictor=Pers_CompanyId&RF=cmli_comm_accountid&TiedField=cmli_comm_personid&SearchText=\x27);\x22 ><SPAN STYLE=\x22margin-left:10\x22>Find</SPAN></SPAN>
<SPAN TABINDEX=0 CLASS=\x22SearchSelectText\x22 ONMOUSEOVER=\x22this.className=\x27SearchSelectTextR\x27;\x22 ONMOUSEOUT=\x22this.className=\x27SearchSelectText\x27\x22 onClick=\x22parent.Clearcmli_comm_personid();\x22 ><SPAN STYLE=\x22margin-left:10\x22>Clear</SPAN></SPAN></DIV></DIV>';
    oPopupcmli_comm_personid.show(6,12,55,39, document.getElementById('SearchSmallcmli_comm_personidIMG'));

}

function NavUrlcmli_comm_personid(ID,url,fieldname){
    var e='';
    if(ID)
    {
        if(document.EntryForm.cmli_comm_personid.value == ID)
        {
            return false;
        }
        else e='&ID='+ID;
    }
    else{
        if(document.EntryForm.cmli_comm_personid!=null && document.EntryForm._HIDDENcmli_comm_personidTEXT.value!='')
        {
            if(confirm('The field is already matched. Do you want to clear the results?'))
            {
                Clearcmli_comm_personid();
            }
            return;
        }
    }
    var namedText;

    var tmpUrl = '/'+installName+'/eware.dll/Do?SID='+QryStr("SID")+'&Act=1275&Mode=1&CLk=&Key0=4&Key4=1&ViewField=,Pers_FullName,Pers_PhoneFullNumber,&JumpReturnCol=cmli_comm_personid&JumpIdField=Pers_PersonId&JumpNameField=Pers_FullName&SearchEntity=Person&SearchTable=vSearchListPerson&SearchSql=Pers_CompanyID%3D' + document.EntryForm.cmli_comm_companyid.value + '&searchsqld=&SsDef=20&LinkedField=&Restrictor=Pers_CompanyId&RF=cmli_comm_companyid&TiedField=cmli_comm_personid&SearchText=';
    if( (document.EntryForm.cmli_comm_personidTEXT)!=null )
    {
        namedText=document.EntryForm.cmli_comm_personidTEXT.value;
    }
    var u=tmpUrl+encodeURIComponent(namedText)+e;
    var sRV=sRTV='';
    if(document.EntryForm.cmli_comm_companyid)
        sRV=document.EntryForm.cmli_comm_companyid.value;
    if(document.EntryForm.cmli_comm_companyidTEXT)
        sRTV=document.EntryForm.cmli_comm_companyidTEXT.value;
    if(sRV=='')
    {
        if(document.EntryForm.cmli_comm_accountid)
            sRV=document.EntryForm.cmli_comm_accountid.value;
        if(document.EntryForm.cmli_comm_accountidTEXT)
            sRTV=document.EntryForm.cmli_comm_accountidTEXT.value;
        if(sRV!='')u+='&altRestrictor=account'
    }
    if(sRV)
        u+='&RestrictorValueValue='+encodeURIComponent(sRV);
    if(sRTV)
        u+='&RestrictorText='+encodeURIComponent(sRTV);
    document.getElementById('SEARCHFRAMEcmli_comm_personid').src=u;
}

</script>