-
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
Solidify Customer Base with Case Management in Salesforce Service Cloud
In today’s digitally-driven and customer-centric world, the traditional methods of extending support have taken a backseat as customers expect new and innovative ways. But, even…
Roles, Profile and Sharing Setting in Salesforce
Protect Your Salesforce Data: Roles, Profile and Sharing Setting For admins and developers, picking informational collections to which every client or gathering of clients can…
A Complete Guide to Salesforce Org Migration: Steps, Best Practices, and Common Pitfalls
A Salesforce organization migration is a big task that needs to be planned carefully and carried out expertly. For organizations looking to streamline processes, consolidate…
Popular Salesforce Videos
Salesforce Career Personality Quiz
Which Salesforce career path is right for you? Take this 23 question quiz to learn which Salesforce career is the best match for your personality…
Algoworks All Set To Attend French Touch Dreamin’ 2019!
French Touch Dreamin’ 2019 is right around the corner and Team Algoworks is going to attend this European Salesforce community-led event which is going to…
Build a Discount Calculator | Trailhead - Autolaunched Flow Salesforce Example
In this video, I'm creating a Discount Calculator with the help of Salesforce Flow to Automate Your Business Processes with Lightning Flow. So it's a…