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
SF Admin 119SF Admin 119 

How to create a multi records lookup field?

I would like to have a multi-record lookup field on my contact object, I know I can create a many-to-many relationship structure to do a similar work, but I would like to have just a field, not a related list. I saw on the Task object, there is one field can do exactly what I want, so how to create something like this? Thanks

User-added image
Rahul KumarRahul Kumar (Salesforce Developers) 
Hi,

Geoffrey Flynn It doesn't completely solve your UI, but you can make it pretty quick if you leverage Quick Actions instead of the classic related list button

For the love of everything don't use a multi-select picklist for this, you'll pay for it later - many, many times over

Quick Actions and a junction are a good place to start if that still isn't fast enough you can get a developer to do some pretty cool UI work that looks like a multi-select picklist but is actually based on records.

Thanks
Rahul Kumar