-
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

Salesforce AppExchange: A Complete Guide
Introduction Talking about Salesforce, it is a cloud-based software company that has headquarters in San Francisco, California. It provides an array of services for CRM…

Improve Your Salesforce Data Collection - 5 Simple Ways
1. Associate with Data Everywhere Salesforce fabricated the cloud. What's more, the cloud is an incredible spot to get to and dissect information. Be that…

Top 5 AI Use Cases in Marketing For Enhanced Retention | Salesforce Marketing
Artificial Intelligence (AI) is no longer prohibitively new or complicated for any company to implement. Businesses are utilizing AI in marketing, among other things, to make customer involvement more focused, personalized,…
Popular Salesforce Videos
Salesforce TrailheaDX '18 Opening Keynote - Part 4: Build Apps Fast
Salesforce TrailheaDX ’18 Opening Keynote – Part 1: Create Connected Customer Experiences TrailheaDX ’18 Opening Keynote – Part 2: Salesforce Platform TrailheaDX ’18 Opening Keynote…
Get a Salesforce Developer Job in 5 Steps | For Freshers | For Admins | For Non-SFDC People
In this video, We will be talking about some tips to get your first job as a Salesforce Developer. If you are a recent graduate,…
Salesforce Live Executive Experience: UK and Ireland 2021
At Salesforce Live Executive Experience we welcomed guests in-person and virtually to enjoy enlightening content, much missed networking and a performance from Jools Holland. The…