locked
How to change lookup from one Entity to another Entity RRS feed

  • Question

  • Hi.. 

        i am trying to change accout lookup as Email template using javascript i have tried with the code 

     parent.document.getElementById("mtctb_emailtemplate_d").setAttribute("lookuptypes", "2010");
            parent.document.getElementById("mtctb_emailtemplate_d").setAttribute("lookuptypeIcons", "/_imgs/ico_16_1.gif");
            parent.document.getElementById("mtctb_emailtemplate_d").setAttribute("lookuptypenames", "template:2010:Template");
            parent.document.getElementById("mtctb_emailtemplate_d").setAttribute("defaulttype", "2010");

    but it doesnt work can you please provide code snippet which will work for 2016 CRM

    Friday, April 14, 2017 9:55 AM

All replies