Salesforce Learning Hub

Salesforce Learning Hub

Share

Welcome to our Salesforce Learning Hub!

Whether you're new to Salesforce or looking to expand your knowledge, you'll find valuable resources and guides here to help you navigate Salesforce technologies effectively.

Photos from Salesforce Learning Hub's post 04/08/2024

Trigger Question -2

Create Contact Record whenever a New Account record is created.

Solution-1,To create the child record which is contact here need to have the IDs of parent record so that we can associate it with parent record.

refer the following code :

Photos from Salesforce Learning Hub's post 02/08/2024

Trigger Question 1- Create Task when Opportunity Stage is Set to Close Won.

Solution :find out the following before writing the Trigger Logic

Since task has to be created whenever the updates happens on Opportunity.

So,Parent is Opportunity and child is Task

now to create the child record,we must know the parent ID so will be storing the parent id and which will be assiged to Child record while insert the TASK.

Find the below codes for the same.

Want your school to be the top-listed School/college in Bangalore?

Click here to claim your Sponsored Listing.

Location

Website

Address


Bangalore
560068