-
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

Meet Einstein GPT, the first generative AI for CRM
Since its release in November 2022, Chat GPT has become a buzzword - over a million people signed up to use it in just five…

Salesforce Integration with LendFoundry: Fueling the Digital Lending Revolution
Are you still using manual and paper-based processes for managing loan operations? The traditional ways of lending resulted in longer decision times and opacity for…

How to Create AM Chart Using Salesforce Lightning Component?
Hi Friends, When I was learning AM Chart creation in salesforce lighting, I was facing lots of difficulties to implement this and for every AM…
Popular Salesforce Videos
Explain Data Management in Salesforce?
Data loader is a tool to process bulk records and we can process a maximum of five million records with the data loader. Watch this…
Can I Get a Job by Just Learning Salesforce Admin?
In this Video Shrey covered the following questions: 1. Can I get a job by just learning Salesforce Admin? 2. Can you start a career…
Salesforce Development Tutorial - sObjects
It is very easy to learn Salesforce with the world class training tutorial. Training is key for the right knowledge. Those who work as an…