-
Custom list button to add existing records in a related list
I have 1 custom object "Loan__c" with master-detail relationship to Account (used for loan of equipments).
I am planning to use the Asset object to manage my stock of loan equipments.
I created a custum field "LoanRef__c" into Asset with look-up relationship to the Loan__c object.I have a related list "Assets" in the "Loan__c" object - I'd like to add a custom list button there to add existing asset records to this loan. When clicked, the list of all existing asset records must be shown with ability to check the ones I want to add to the loan.
I guess I need to develop an apex class + visualforce page.
I'm a novice with apex and visual force but I tried to adapt some similar codes found on the forum, with no success.
Log In to reply.
Popular Salesforce Blogs

ASP.NET Deployment Implementation Explained | Salesforce Developer Guide
ASP.NET implementation can be divided into two types. Local deployment: In this instance, the whole program is stored within a virtual directory, which contains all…

How to Become a Salesforce Developer? Here are the Tips to Consider
The certification and qualification of a Salesforce developer is a lengthy, rigorous task, but an incredibly fruitful one, nonetheless. It is one of the fastest…

Client-Side Validation
Carrying out validation in the browser when a user submits a form is a technique that has been followed by the number of years. The…
Popular Salesforce Videos
Salesforce - Outlook Integration
In this video, Salesforce Atlas explains how to increase your productivity by automatically synchronizing your data between the two systems, creating tasks, associating emails from…
Salesforce Demo - Sales Dashboard Example
Our team created a comprehensive sales dashboard for one of our clients. We're posting this video about it to generate feedback and additional ideas for…
What benefits Salesforce Email integration provides for my business?
This video puts light on the benefits of Salesforce Email Integration for Business. Every aspect of Email Integration is provided and discussed in detail along…