locked
Multilookup Filtering RRS feed

  • Question

  •  

    Hai Experts

     

    I need to call a CRM systemuser multilookup page when a image is clicked in my custom webpage. I am able to acheive it where the multilookup displays all the users in CRM. But i need to filter systemuser multilookup window to contain only the some 2 or 3 users. Can any one help me in filtering in the fetch method. Can anyone state me the parematers for filtering in fetch method. I am able to acheive it in single lookup but doesnot works in multilookup.

     

    I need to add filter to the below code. Filter user for the GUID {3E0DDE30-F49A-DD11-9981-005056B02654} and {1EEF022-F13A-AD13-4921-005056B02654}

     

    var strFilter="&browse=1&search=<fetch mapping='logical' distinct='true'>" +

    " <entity name='systemuser'>" +

    " <all-attributes />" +

    " <filter>" +

     

    " </filter>" +

    " </entity>" +

    "</fetch>";

     

    var ret = window.showModalDialog('http://'+server+'/_controls/lookup/lookupmulti.aspxobjecttypes=8'+strFilter,this,'dialogWidth:600px;dialog Height:200px;center;help:no;Yes;resizable:yes;status:no;sc roll:no');

     

    Thanks In Advance

     

    Regards

    Vinoth

    Monday, December 22, 2008 2:16 PM

Answers