locked
presearch on requiredattendees lookup for Appointment entity in crm 2013 RRS feed

  • Question

  • Can we apply a pre search for requiredattendees in crm 2013? such that when we click on the lookup we can only see contacts?
    Thursday, June 5, 2014 7:56 AM

Answers

  • Thanks Dynamotion but this was not worked by above code, i have used below code.


    $("img[id='requiredattendees_i']").attr("lookuptypes","2");
    $("img[id='requiredattendees_i']").attr("defaulttype","2");
    $("img[id='requiredattendees_i']").attr("lookuptypenames","contact:2:Contact");

    • Marked as answer by satyaV Friday, June 6, 2014 10:34 AM
    Friday, June 6, 2014 10:33 AM

All replies

  • Hi,

    Can you try this code?

    var attendees = document.getElementById("requiredattendees_i");
    attendees.setAttribute("lookuptypes", "2");
    attendees.setAttribute("defaulttype", "2");


    Admin QuikView Solution for CRM 2013

    Thursday, June 5, 2014 8:21 AM
  • Thanks Dynamotion but this was not worked by above code, i have used below code.


    $("img[id='requiredattendees_i']").attr("lookuptypes","2");
    $("img[id='requiredattendees_i']").attr("defaulttype","2");
    $("img[id='requiredattendees_i']").attr("lookuptypenames","contact:2:Contact");

    • Marked as answer by satyaV Friday, June 6, 2014 10:34 AM
    Friday, June 6, 2014 10:33 AM