Skip to main content

Is it possible for the multi-look-up field in an object to reference more than one object record?

For example :

I have an opportunity record and I need to create a Look-up field where I can reference partner managers and contact Record to a single field.

if someone has the document link related to the possibility or not please share the link 

4 个回答
  1. 2024年6月11日 07:39

    Hi @Rakesh .

    That is not possible, there is no such option when creating a lookup field to select the type of relationship. Either it is an lookup or master-detail relationship.

    The only thing that comes to my mind in order to have a multi-lookup is by using a junction object (Option A) or you have to use a flow with Apex (Option B). Within a flow you can use the lookup component as multi-lookup. This is actually easy to set up, but the tricky part is how to map this "multi-lookup values" to the corresponding field in the object. 

    I am not familiar with APEX, but I am pretty sure that you have to create a Apex class in order to do this mapping correctly.

    I would be very happy if someone has such a generic Apex class to share with me. I am stuck exactly there.

    Thanks & best regards,

    Marwa

0/9000