-
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

Getting Started With Salesforce Einstein Discovery
What Is Einstein Discovery? Einstein Discovery expands your information examination with the force of AI, man-made brainpower (AI), and factual investigation. Einstein Discovery rapidly dissects…

How Can the Real Estate Sector Use Salesforce to Standardize Its Sales Funnel?
The pandemic has changed how businesses conduct their daily operations. Before the pandemic, the real estate industry was going strong, but its activities slowed down…

Achieving Your Business Goals through Salesforce Customization: A Step-by-Step Guide
Are you wondering how you can achieve your business goals? Look no further than Salesforce customization! Let’s share a step-by-step process of harnessing the power…
Popular Salesforce Videos
Marketing Automation with Salesforce Journey Builder
Marketing Automation which is future of marketing can be simply understood as automating your marketing communication programs. we are going to talk about Salesforce Journey…
Segments of Salesforce Data Cloud
In this extract, Shrey and Vishwajeet break down the different segments of the Salesforce Data Cloud and explain how they can help businesses of all…
Configuration Attribute In Salesforce CPQ | Salesforce Development Tutorial | Learn Salesforce Series by Algoworks
Configuration attributes can be used in setting up the value of multiple shared product option fields simultaneously in Salesforce CPQ. In this Salesforce tutorial, you…