-
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
The IT Leader's Guide to a Better Salesforce: An Introduction
Salesforce is fantastic. Sure, it has quirks. Yes, some people complain about it…but when you consider its power…an out of the box fully functioning CRM…
Learn Salesforce Einstein - Chapter 1 (Salesforce Einstein Introduction)
Salesforce Einstein Introduction The Einstein API allows you to go into the power of AI and train deep learning models to recognize and classify images…
Reducing The Technical Debt in Salesforce
Many organizations have been incredibly productive over the last few years with their Salesforce Instance. However, that also means that these entities have accumulated baggage…
Popular Salesforce Videos
What are Roll-up Summary Fields in Salesforce? | How to create them?
In this video, Shrey is not only teaching but also demonstrating to you "What are Roll-up Summary Fields in Salesforce?". You will be learning: 1.…
What is Salesforce? Why Salesforce? Salary Expectation | Certification Required
Watch this video and learn all about Salesforce and how to make a career in Salesforce. What is Salesforce? Why Salesforce? Salary Expectation | Certification…
What is Vlocity (Salesforce Industries) and How It Can Help You Save Millions?
Know What is Vlocity (Salesforce Industries) & How It Can Help You Save Millions with Salesforce Hulk i.e Shrey Sharma in this live webinar. Discover…