-
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
Decorators in Salesforce
Salesforce is the best-known CRM in today’s world. It provides many functionalities that make our lives easier. Lightning web components and Apex classes are one…
Unleashing Collective Intelligence: How Salesforce Communities Empower Ideas Management?
Organizations are realizing the immense value of collective intelligence in driving innovation and staying ahead of the competition. Collective intelligence refers to the collective knowledge,…
A Beginners Guide to Salesforce Trailhead and Certification Paths
Salesforce is one of the most widely used customer relationship management (CRM) platforms in the world. Its popularity has led to a growing demand for…
Popular Salesforce Videos
What are APEX Environments? | Learn Salesforce Development
In this video, Shrey explained the Apex Environments. He covered answers for the following questions while explaining: What are the APEX Environments? Different types of…
Salesforce Tutorial - What Is Data Loader
Generally, in the Declarative approach, developer enters data with page-layout, Data Loader is an amazing tool for bulk data processing. I have seen many migration…
Rollup Trigger via Salesforce Record Triggered Flow - Trigger without code
Hello Folks, I created a Rollup trigger via Salesforce Record Triggered Flow (without code cool isn't). I use Record trigger Flow for that scenario. There…