How to use platform events in salesforce

Platform events are special kinds of entity similar to custom object You can publish and consume platform events by using Apex or a REST API or SOAP API. Platform events integrate with the Salesforce platform through Apex triggers. … Unlike custom objects, you can’t update or delete event records. … More items… Full Answer What … Read more

How to use picklist value in formula field salesforce

Three functions take picklist values as arguments in all formula fields: ISPICKVAL (), CASE (), and TEXT (). ISPICKVAL (picklist_field, text_value) returns true if the value of picklist_field matches text_value, and false otherwise. You can combine ISPICKVAL () with PRIORVALUE (). Full Answer How to create custom formula in Salesforce? creating Formula field in Salesforce … Read more

How to use mapanything in salesforce

Locate the Salesforce Maps record that was created during the migration, and use the Salesforce Maps record in the new lookup field. In order to determine the new Salesforce Maps record created during migration for a MapAnything record, you can use the mmu__MigratedRecordMap__c object. Full Answer How to install Salesforce maps? Required Editions and User … Read more

How to use map in trigger salesforce

Use: Map<Id, Account> mapIdAccount = new Map<Id, Account> ([YOUR SOQL QUERY]); When you pass a list of sObjects as a parameter to the map constructor, it creates a map of Id and the sObject. Full Answer What is oldmap trigger in Salesforce? Trigger.OldMap : Trigger.oldMap returns map of old records which are updated with new … Read more

How to use mailchimp for salesforce

Step 1: Authenticate Log into your Salesforce account. Click the App Launcher drop-down menu and choose Mailchimp for Salesforce. Click the MC Setup tab. Click Login. In the pop-up window, click OK. Input your Mailchimp username and password and click Log In. How does Mailchimp integrate with Salesforce? Mailchimp Salesforce integration. Mailchimp’s native integration with … Read more

How to use javascript in salesforce

Use JavaScript for client-side code. The $Anamespace is the entry point for using the framework in JavaScript code. For all the methods available in $A, see the JavaScript API at https://MyDomainName.lightning.force.com/auradocs/reference.app.. Full Answer Are JavaScript frameworks the next big thing in salesforce development? If you have been following web development over the past few years, … Read more

How to use installed packages in salesforce

If you’re working with the Salesforce CLI, you can use the force:package:install command to install packages in a scratch org or target subscriber org. Before you install a package to a scratch org, run this command to list all the packages and locate the ID or package alias. sfdx force:package:version:list To access the package detail … Read more

How to use if else in formula field salesforce

Else isn’t a defined operator in Salesforce, but it’s accomplished using the “value if false” portion of the IF syntax: You can string IF statements together, so your else value is simply another IF statement: IF (ISPICKVAL (Quantity, “500”),”true value 1″, IF (ISPICKVAL (Quantity,”400″), “true value 2″,”final else value”)) Hope that helps! Full Answer How … Read more