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
Cody BeanerCody Beaner 

Mimic Add Product Button

How would someone go about making a related list for a custom object function like products in opportunity do, as a list to select from with the add product button (in this case it would be add package).
ShashankShashank (Salesforce Developers) 
You would need a Visualforce page which can be accessed from a custom button on the related list. Here are a couple of examples:
http://bobbuzzard.blogspot.sg/2011/07/managing-list-of-new-records-in.html
http://www.salesforcetutorial.com/visualforce-page-add-multiple-records/