web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

How to Enable Multi Entity Lookup CRM 2015 Update 1

(0) ShareShare
ReportReport
Posted on by 3

In older version 2013/2015 i use this code to achieve multi entity lookup, but code is broken in 2015 Update 1 any solution in new version.

//Setting the lookup type

document.getElementById(LookUp_Logical_Name + "_i")
        .setAttribute("lookuptypes", 
                      "<EntityTypeCode of Entities to be shown in the look up>");
 
//Setting the lookup name Ex :- account:1:Account,contact:2:Contact
document.getElementById(LookUp_Logical_Name + "_i")
        .setAttribute("lookuptypenames", 
                      "[<Logical name>:<EntityTypeCode>:<Schema Name of Entity>]");
 
//Setting the lookup icon  Ex:-/_imgs/ico_16_1.gif:/_imgs/ico_16_2.gif
document.getElementById(LookUp_Logical_Name + "_i")
        .setAttribute("lookuptypeIcons", 
                      "/_imgs/ico_16_<EntityTypeCode>.gif");
 
// default type - Account entity To set the default entity
document.getElementById(LookUp_Logical_Name + "_i")
        .setAttribute("defaulttype", 
                     "<EntityTypeCode>");

https://mscrmmindfire.wordpress.com/2014/05/20/crm-2013-manipulate-look-up-to-show-multiple-entity-record/

*This post is locked for comments

I have the same question (0)
  • Rajkumar Rajaraman Profile Picture
    on at
    RE: How to Enable Multi Entity Lookup CRM 2015 Update 1

    It's not possible

  • Jharana Baliyar Singh Profile Picture
    2,667 on at
    RE: How to Enable Multi Entity Lookup CRM 2015 Update 1

    Hi,

    As per my understanding, By default CRM allows one entity for per lookup field.

    But if we create two lookups & write business rule to hide one because other entity may dependant on other entity.May be it will not support.

    Can you please follow below links added here.

    nothingnessit.wordpress.com/.../crm2013-multilookup-modify-the-code-crm2011

    simplicitypoint.wordpress.com/.../creating-a-multi-entity-lookup-in-crm-2011

    Thanks,

    Jharana.B.Singh

  • waqaszahoor Profile Picture
    3 on at
    RE: How to Enable Multi Entity Lookup CRM 2015 Update 1

    Thank you Singh, we have solution in old version (2011/13/15), but i need solution for 2015 Update 1.

  • Suggested answer
    Rajkumar Rajaraman Profile Picture
    on at
    RE: How to Enable Multi Entity Lookup CRM 2015 Update 1

    Hi,

    Refer the following blog: But it's unsupported

    mahadeomatre.blogspot.in/.../change-customer-lookup-behaviour.html

    Hope this helps.

    Regards,

    R.Rajkumar

    "Please mark my answer as verified if you found it helpful"

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
HR-09070029-0 Profile Picture

HR-09070029-0 2

#1
UllrSki Profile Picture

UllrSki 2

#3
ED-30091530-0 Profile Picture

ED-30091530-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans