Sumit kumar
IndividualForum Replies Created
-
You can set up an email relay for Salesforce-generated email by configuring Salesforce to automatically route email through your company's Simple Mail Transfer Protocol (SMTP) server. If your company sends email from more than one email domain, you can configure an email relay for each domain.
-
Sumit
MemberJune 15, 2020 at 6:48 am in reply to: Define Recursive Trigger and how to avoid it in Salesforce?Recursive Trigger: If a trigger is called again and again than it is called a recursive trigger.
To avoid recursive triggers we can create a class with a static Boolean variable with default value true. e.g.
public Class checkRecursive{
private static boolean run = true;
public static boolean runOnce(){
if(run){
run=false;
return true;
}else{
return run;
}
} -
A batch apex can be called from a trigger. But, we have to be very very careful while calling a batch apex from the trigger.
-
Sumit
MemberJune 12, 2020 at 6:49 am in reply to: How do we remove an action column from a related list in Salesforce?How do we remove an action column from a related list in Salesforce?
-
List buttons can be used on list pages, search results and any related list for an object. They allow us to take actions on a group of selected records
-
Sumit
MemberJune 11, 2020 at 6:55 am in reply to: What is the use of setTargetObjectIds while sending mails in Salesforce?setTargetObjectId(targetObjectId) is used while sending email from Apex code using SingleEmailMessage.
Required if using a template, optional otherwise. The ID of the contact, lead, or user to which the email will be sent. The ID you specify sets the context and ensures that merge fields in the template contain the correct data. -
Sumit
MemberJune 11, 2020 at 6:54 am in reply to: What is the limit of mail sent through batch apex in Salesforce?There is a default value for each organization the limit is not related to license count. Using the API or Apex, you can send single emails to a maximum of 5,000 external email addresses per day based on Greenwich Mean Time (GMT).
-
Sumit
MemberJune 11, 2020 at 6:51 am in reply to: What is the use of final keyword in Apex in Salesforce?We can use the final keyword to modify variables. Final variables can only be assigned a value once, either when you declare a variable or inside a constructor. You must assign a value to it in one of these two places.
-
Sumit
MemberJune 10, 2020 at 6:32 am in reply to: What is the difference between custom app and console app in Salesforce?A custom application is a collection of tabs, objects etc that function together to solve a particular problem. A console application uses a specific Salesforce UI - the console. Console applications are intended to enhance productivity by allowing everything to be done from a single, tabbed, screen.
-
Salesforce Console apps are a tab-based workspace suited for fast-paced work environments. Manage multiple records on a single screen and reduce time spent clicking and scrolling to quickly find, update, and create records.
-
Salesforce.com's customer-relationship management (CRM) service comprises several broad categories: Commerce Cloud, Sales Cloud, Service Cloud, Data Cloud (including Jigsaw), Marketing Cloud, Community Cloud (including Chatter), Analytics Cloud, App Cloud, and IoT with over 100,000 customers.
-
CronTrigger contains schedule information for a scheduled job.
CronTrigger is similar to a cron job on UNIX systems. -
batch Apex, write an Apex class that implements the Salesforce-provided interface Database. Batchable and then invoke the class programmatically. To monitor or stop the execution of the batch Apex job, from Setup, enter Apex Jobs in the Quick Find box, then select Apex Jobs.
-
ne way to validate empty text fields in Apex: Use String. isBlank() method. This will return true if the text field is empty.
-
newMap = a map of all records in your trigger. The key used in the map is the record ID, and the value is the record itself. More info: http://www.sfdc99.com/2014/01/12/introduction-maps/ . keySet() is a method used on maps that returns all the keys of the map
-
Sumit
MemberJune 5, 2020 at 6:48 am in reply to: What is the difference between action function and @remote action?Remote Action can call the apex methods from any apex class. Remote Action allows you to call the method from javascript yourself and retrieve the result as a javascript object for manipulation. ... Remote Action methods have to update the DOM manually using explicit JavaScript
-
With Change Data Capture, you can receive changes of Salesforce records in real time and synchronize corresponding records in an external data store. Change Data Capture publishes events for changes in Salesforce records corresponding to create, update, delete, and undelete operations.
-
Sumit
MemberJune 4, 2020 at 7:04 am in reply to: How would you put one lightning component to another in Salesforce?you can include one lightning component to another as a parent and child component
-
Sumit
MemberJune 4, 2020 at 7:03 am in reply to: What are value providers in Salesforce lightning in Salesforce?Salesforce Lightning Value Providers. Value providers are a way to access data. Value providers encapsulate related values together, similar to how an object encapsulates properties and methods. The value providers for a component are v (view) and c (controller)
-
Sumit
MemberJune 4, 2020 at 6:59 am in reply to: How do you call server side method in lightning component in Salesforce?To call the server side method we need to create the instance of server side method in client side controller. We have two methods to set the parameter of server side method and get the response : 1). setParams() : To set the parameter of server side controller method.
-
Sumit
MemberJune 1, 2020 at 12:32 pm in reply to: What is the use of interface Lightning:actionOverride in Salesforce?The lightning:actionOverride doesn’t add or require any attributes on components that implement it. Components that implement this interface don’t automatically override any action. You need to manually override relevant actions in Setup.
-
The Web Services Description Language (WSDL /ˈwɪz dəl/) is an XML-based interface description language that is used for describing the functionality offered by a web service.
-
Sumit
MemberJune 1, 2020 at 12:30 pm in reply to: How do I call apex rest resource from workbench in salesforce ?Enter your login credentials and then click Log in to Salesforce. After logging in, select utilities | REST Explorer. In Workbench, select GET. Enter the URI /services/apexrest/test (This would be RestResource Name)
-
Sumit
MemberMay 29, 2020 at 6:54 am in reply to: What happens when you deactivate a user in Salesforce?Deactivating a user in Salesforce means that user will not be deleted from the system but will no longer be able to log in to Salesforce and their records can be transferred to another user. They cannot be part of workflows or part of any automated processes
-
Sumit
MemberMay 29, 2020 at 6:52 am in reply to: What is the difference between queue and public group in Salesforce?Public Group is kind of team or group of related users, this will help to share the data. Queues are typically used when you want to assign a record to a bunch of users. Using Queues you can assign a record to multiple users, so that any member of the queue can work on the record.