function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
reema_agarwalreema_agarwal 

select more then one record in a lookup field

Hello

 

I have created a lookup field named Assets in contact and i want to select more then one asset. Can anyone suggest me how can i do it.

 

Thanks!

Best Answer chosen by Admin (Salesforce Developers) 
TheIntegratorTheIntegrator

you can select just 1 object with a lookup. If the number of assets are fixed per contact, then you can create multiple lookup fields, otherwise you can create a new custom object that acts a a junction object and maps the contact with asset records. You can fill this junction object using trigger on assets object.

 

Let me know if this makes sense to you

All Answers

TheIntegratorTheIntegrator

you can select just 1 object with a lookup. If the number of assets are fixed per contact, then you can create multiple lookup fields, otherwise you can create a new custom object that acts a a junction object and maps the contact with asset records. You can fill this junction object using trigger on assets object.

 

Let me know if this makes sense to you

This was selected as the best answer
reema_agarwalreema_agarwal

Thanks a lot..!!