Salesforce Messaging for In-App and Web REST API
Configurations in Salesforce for Messaging for In-App and Web REST API: 1. Create a Messaging Channel of type "Messaging for In-App and Web". 2. Activate the Messaging Channel. 3. Create ....
Configurations in Salesforce for Messaging for In-App and Web REST API: 1. Create a Messaging Channel of type "Messaging for In-App and Web". 2. Activate the Messaging Channel. 3. Create ....
We can handle Opportunity and Opportunity Product creations using the Salesforce Agentforce. In this Blog Post, I have used Apex Agent Action to handle the record creations. To setup Messaging ....
SOQL to find Products without Price Book Entries: SELECT Id, ProductCode FROM Product2 WHERE Id NOT IN ( SELECT Product2Id FROM PricebookEntry WHERE Pricebook2Id = '01sSB000006IC45YAG' ) Sample Apex Code ....
@InvocableMethod annotation helps to invoke apex class and method from the Salesforce Agentforce Apex Action. @InvocableVariable annotation can be used to pass multiple parameters from the Salesforce Agent Action to ....
We can achieve rows selections across multiple pages when using pagination in lightning-datatable, by storing the selected rows in a variable. Note: Since COUNT() is used in the SOQL. This ....
We cannot hide and show the check box in the lightning-datable for the rows. So, for conditional selection, we can validate the selected rows and throw an error if the ....
LightningModal can be used in the Salesforce Lightning Web Component lightning-datatable for Pop Up window or screen. Please check the following to know more about the lightning-modal in the Salesforce ....
lightning-combobox doesn't support multiple selection. So, we can make use of the following reusable Lightning Web Component for multi-select picklist. Sample Code: Reusable multi-select Lightning Web Component: HTML: <template> <template ....
To import/load/upload records using Salesforce Lightning Web Component, lightning-file-upload tag can be used to allow users to upload the file and Apex can be use to insert the records. Sample ....
apex:repeat tag can be used to iterate map data type in Salesforce Visualforce page. Sample Code: Visualfore Page: <apex:page controller="SampleVFPageController"> <apex:repeat value="{!mapAccNameContactList}" var="objAcc"> Account Name: {!objAcc}<br/> <apex:repeat value="{!mapAccNameContactList[objAcc]}" var="objCon"> Contact ....