locked
Set Default view in Activity Partylist Look UP CRM RRS feed

  • Question

  • Hi ,

    In FAX entity , in To field , in need to restrict Contact Entity view as Default view .  

    User should not able to select any other entity record.

    Using JavaScript /  any method

    how can we restrict this behaviour.

    can you plz share some sample link / code .

    Thanks

     

    Tuesday, November 25, 2014 6:42 PM

Answers

  • Check this

    http://missdynamicscrm.blogspot.com/2014/06/crm-20112013-filter-look-for-lookup-activity-party.html


    If my response helps you in finding your answer then please click 'Mark as Answer' and 'Vote as Helpful'

    • Proposed as answer by Mamatha Swamy Tuesday, November 25, 2014 7:11 PM
    • Marked as answer by kMAT1 Wednesday, November 26, 2014 7:33 AM
    Tuesday, November 25, 2014 7:11 PM

All replies

  • I Tried with bellow link

    https://bingsoft.wordpress.com/2011/01/13/default-customer-lookup-to-contact-in-crm-2011/

    but  the bellow code does not works for Activity Party list Look Up

    document.getElementById("parentcustomerid").setAttribute("lookuptypes", "2");
    document.getElementById("parentcustomerid").setAttribute("lookuptypenames", "contact:2");
    document.getElementById("parentcustomerid").setAttribute("lookuptypeIcons", "/_imgs/ico_16_2.gif");
    document.getElementById("parentcustomerid").setAttribute("defaulttype", "2");
    
    using jQuery
    
    $("#parentcustomerid").attr("lookuptypes", "2");
    $("#parentcustomerid").attr("lookuptypenames", "contact:2");
    $("#parentcustomerid").attr("lookuptypeIcons", "/_imgs/ico_16_2.gif");
    $("#parentcustomerid").attr("defaulttype", "2");

    How to achieve For Activity Party List Look Up ? 

    Tuesday, November 25, 2014 6:48 PM
  • Check this

    http://missdynamicscrm.blogspot.com/2014/06/crm-20112013-filter-look-for-lookup-activity-party.html


    If my response helps you in finding your answer then please click 'Mark as Answer' and 'Vote as Helpful'

    • Proposed as answer by Mamatha Swamy Tuesday, November 25, 2014 7:11 PM
    • Marked as answer by kMAT1 Wednesday, November 26, 2014 7:33 AM
    Tuesday, November 25, 2014 7:11 PM