-
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
Roles and Profiles in Salesforce: The Ultimate 2024 Guide
In Salesforce, ensuring that users have the right level of access to data is a cornerstone of both security and efficiency. Roles and Profiles are…
How To Make Dynamic Search Using Salesforce Lightning and Regular Expression?
Hello guys, Today, I am sharing the code, that, how you can implement Dynamic Search using Lightning Component, the output is similar to the previous…
Do You Have Skills to Become a Salesforce Developer in 2024?
What is a Salesforce Developer? Salesforce developers are professionals who build functionalities in a sandbox with Visualforce or Apex before handing them over to the…
Popular Salesforce Videos
Salesforce Tower San Francisco Virtual Community Tour
Wherever you are around the world, join us for a virtual tour of Salesforce Tower San Francisco, our global headquarters. Together, we’ll take a walk…
How to Crack Salesforce Platform Developer I Exam in 2021?
Salesforce Platform Developer I Certification Training ensures that you master the concepts and components of application development on the Salesforce platform. Watch this video and…
Dynamic Action in Salesforce | Salesforce Tutorial
In this video, we are going to talk all about dynamic actions in Salesforce. 00:00 Introduction 00:57 Work with Dynamic Action 05:05 Dynamic Actions in…