0

How can I customize object or layout, to make it possible to select many related records when creating a new record?
I think we can select only one record for Lookup Relationship field as a default, but I want to select many somehow.

2
  • Can you please explain your use case and maybe attach a screenshot so others can understand what you want exactly?
    – Eduard
    Commented Jul 17, 2018 at 7:10
  • Well, my case is such as managing contracts, which can sometimes be among three(or more?) parties. Since it relates to more than one companies(other than self), I want to make it possible to select multiple companies as a related object.
    – zakuni
    Commented Jul 17, 2018 at 7:31

1 Answer 1

1

Right now, you have to build a custom junction object and write code to allow selecting multiple values. There's an Idea you can vote on for a future enhancement.

2
  • Is code you mean view? I don't understand why custom junction object is necessary if we write view for ourselves. Isn't lookup relation one-to-many relation as a model?
    – zakuni
    Commented Jul 17, 2018 at 6:56
  • Lookup relationship is one to many for the child object. What you're looking for is a many-to-many relationship (n-to-n) to allow selecting multiple records that can be related to.
    – sfdcfox
    Commented Jul 17, 2018 at 6:58

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .