Shweta
IndividualForum Replies Created
-
Company settings: It is a collection of global attributes to describe the organization using Salesforce. It consists of company, currency, fiscal year, support, and locale settings.
-
Shweta
MemberJune 15, 2020 at 1:03 pm in reply to: How do I turn off email deliverability in Salesforce?1. From SetUp -> Click Email Administration -> Click Deliverability
2. Set Access to Send Email (All Email Services) Access Level to No Access
3. Click Save. -
Shweta
MemberJune 15, 2020 at 1:00 pm in reply to: How do I check email deliverability in Salesforce?1. From Setup -> Enter Test Deliverability in the Quick Find box -> select Test Deliverability.
2. Enter your business email address.
3. Click Send. Salesforce sends a test message from all IP addresses to your business email address. Each test message specifies the IP address from which it was sent.
4. To make sure that you received all test messages, check your business email account. -
Email deliverability is the likelihood of a company’s or individual’s email reaching its intended recipient. Just keep in mind the below points when setting email deliverability:
No access: Prevents all outbound emails to and from users.
System email only: Allows only automatically generated emails, such as new user and password reset emails.
All email: Allows all types of outbound email. The default for new, non-sandbox organizations. -
Content Version: Represents a specific version of a document in Salesforce CRM Content or Salesforce Files. In other words, this object stores document information similar to Attachment.
-
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.
-
Shweta
MemberJune 12, 2020 at 4:25 pm 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;
}
} -
Shweta
MemberJune 11, 2020 at 6:50 am in reply to: What is the difference between Force.com and Salesforce.com?Force.com is a platform where you can develop your own application.
Salesforce.com is Sales(CRM) and Service applications which were developed and running on the Force.com Platform. -
Shweta
MemberJune 11, 2020 at 6:47 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.
-
Shweta
MemberJune 11, 2020 at 6:33 am in reply to: How to convert Date/Time to a Date in Salesforce?We can create a date newInstance() and pass the year, month, day from the DateTime to convert DateTime to date. e.g:
DateTime dTime= System.now();
Date newDate = date.newinstance(dTime.year(), dTime.month(), dTime.day());
OR, we can also use Date() method to convert DateTime to date. E.g.:
DateTime dTime= System.now();
Date newDate = dTime.date(); -
Shweta
MemberJune 10, 2020 at 11:28 am in reply to: What is the difference between custom app and console app in Salesforce?Custom App: It is a public-facing website and customized to solve a specific business problem. It requires Visual Force, Apex, and Javascript skills.It solves complex business problems
Console App: It is built from the Salesforce Panel and sits on top of the Salesforce Panel and uses Salesforce UI. it is a collection of tabs, objects. This will be a fairly simple application that will help to support Sales, Support, etc functionality. -
Shweta
MemberJune 10, 2020 at 11:25 am in reply to: What are the different types of Salesforce objects?Salesforce supports several different types of objects: standard objects, custom objects, external objects.
Standard objects: The objects provided by Salesforce. Example: Account, Contact, Lead, etc.
Custom objects: The objects created by us is called a custom object.
External object: The objects which you create a map to the data stored outside your organization. -
lightning:layout: It is a flexible grid system for arranging containers within a page or inside another container. The default layout is mobile-first and can be easily configured to work on different devices. This component inherits styling from the grid utility classes in the Lightning Design System.
-
Shweta
MemberJune 9, 2020 at 2:02 pm in reply to: What are Local and Global ids with respect to lightning component in salesforce?The component has two types of IDs: a local ID and a global ID:
Local ID: It is an ID that is only scoped to the component. It is often unique but it’s not required to be unique. Local ID is created by using the aura:id attribute. E.g.: To find the local ID for a component in JavaScript, use cmp.getLocalId()
Global IDs: Every component has a unique global Id, which is the generated run=me-‐unique ID of the component instance. -
Data is stored for up to six months.
-
treeGrid: It displays structured data in a table with expandable rows. lightning:treeGrid component displays hierarchical data in a table.
-
CronTrigger: It is similar to a cron job on UNIX systems. It is the parent job that will be run, it can have many runs attached to it.
List<CronTrigger> listCronTrigger = [select Id, OwnerId, CronExpression from CronTrigger
where CronExpression like '% MyJobName']; -
Shweta
MemberJune 8, 2020 at 2:45 pm in reply to: How do I check if a field is empty in Salesforce?There are a few options to validate empty text fields in Apex: We can use String.isBlank() method, this will return true if the text field is empty.
-
Shweta
MemberJune 8, 2020 at 2:40 pm in reply to: How to use CRON expression in Batch Class in Salesforce?In Scheduler class, we can execute at a specified time. What we are trying to do is Schedule a Batch. E.g.:
SendEmailToAccountAndContactBatch schedulable = new SendEmailToAccountAndContactBatch();
String sch = '0 0 13 ? MON,TUE,WED,THU,FRI ';
system.schedule('SendEmailToAccountAndContactBatch', sch, schedulable);
database.executebatch(schedulable); -
View state error: It holds the state/size of the visual force page that includes the components, field values, and controller state. This is important in the light that salesforce provides only a standard size of 135kb for any individual page. If the size of a particular page exceeds 135kb, the page will throw a view state error.
-
Shweta
MemberJune 5, 2020 at 2:01 pm in reply to: How many objects can be members of a campaign in Salesforce?We can add members to a campaign one at a time from contact or lead detail pages. With the Data Import Wizard, we can add up to 50,000 leads, contacts, or person accounts at a time to a campaign.
-
Go to the Record Type (Setup -> Customize -> (object) -> Record Types). Click on the record type. Find the Record Type ID in the URL between id= and &type.
-
Shweta
MemberJune 4, 2020 at 11:39 am in reply to: What is meant by pagination in Visualforce page in Salesforce?Pagination is the process of displaying a large number of records and displaying the records on multiple pages within Salesforce. In order to control the number of records displayed on each page, we use pagination.
-
Shweta
MemberJune 4, 2020 at 11:18 am in reply to: Difference b/w ApexMessage and ApexMessages in visualforce page in salesforce?<apex:message>: A message for a specific component, such as a warning or error. If an or component is not included in a page, most warning and error messages are only shown in the debug log.
<apex:messages>: All messages that were generated for all components on the current page. -
Shweta
MemberJune 4, 2020 at 11:05 am in reply to: What is Component IDs in Salesforce lightning components?A component has two types of IDs: a local ID and a global ID.
Local ID: It is an ID that is only scoped to the component. A local ID is often unique but it’s not required to be unique.
global ID: Every component has a unique global id, which is the generated runtime-unique ID of the component instance.