How to open lookup in CRM 2013 Javascript RRS feed

  • Question

  • Hi,

    I have a requirement to open lookup for contact entity from my HTML code.

    I tried to open like below

    var result=window.showModaldialog(“****/_controls/lookup/lookupsingle.aspx?objecttypes=” + objectCode, "", height=""..);

    but the lookup window is not showing fully, only half sized window showing me..i am not able to select anything.

    When I used Window.open(), it is showing correctly, but how can I read output from that.

    My requirement is:

    On Click on a lookup type button in HTML, it should open lookup window and on select of a record, it should display selected record name,guid in HTML.

    Please help me in this.


    Wednesday, January 7, 2015 2:42 AM

All replies