InterviewSolution
This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
Can you give an example of a Salesforce API and its usage? |
|
Answer» Salesforce provides a variety of APIs that allows the developers to interact with the system in many ways. They are: REST:
Bulk: The Bulk API provides programmatic access that lets you quickly load and query a huge amount of data into your Salesforce organization. Streaming: The Streaming API can be used to trigger and receive notifications, whenever CHANGES into Salesforce data are made according to the defined SOQL query criteria. It is useful when you want notifications to be pushed from the server to the client based on your defined criteria. ConclusionSalesforce is playing a vital role in any company’s SALES and marketing automation activities. The demand for qualified Salesforce professionals has seen its peak in recent days. Moreover, competition is also becoming tough for Salesforce-related positions, so preparation is inevitable if you want yourself to shine out of the crowd. Salesforce is INCREASINGLY used as a term synonymous with CRM. Organizations can utilize Salesforce for varied applications like Contact Management, Workflow Creation, Customer Engagement, Opportunity Tracking, Task Management, and many more. In addition, you can also collaborate with your colleagues, run analytics, and access Salesforce from a mobile dashboard. |
|
| 2. |
What is Salesforce lightning? |
|
Answer» Salesforce lightning is a component-based framework for application development, which has a collection of TOOLS and technologies that aim to effectively increment the performance of the Salesforce platform. These tools include an entirely new version of a framework, visual UPGRADES, new and optimized interfaces, and more. It is designed to simplify processes for business users, who do not have any programming experience. Using the lightning platform we can easily create apps that solve business problems and provide engaging experiences. Few lightning features are:
|
|
| 3. |
What are the different types of email templates available in Salesforce? |
|
Answer» The list of different types of email templates that can be created in Salesforce is given below:
|
|
| 4. |
Explain the types of SOQL statements in Salesforce. |
|
Answer» Salesforce Object Query Language(SOQL) is useful in querying the records from database.com depending on the requirement. There are 2 types of SOQL statements: Static SOQL and Dynamic SOQL. Static SOQL:
EXAMPLE for Static SOQL query: Contact[] contacts = [SELECT testfield__C, FirstName, LastName FROM Contact WHERE LastName = 'Dhanya'];Dynamic SOQL:
Example for Dynamic SOQL query: String myTestString = 'TestName';List<sObject> sobjList = Database.query('SELECT Id FROM MyCustomObject__c WHERE Name = :myTestString'); |
|
| 5. |
What are the differences between SOQL and SOSL in salesforce? |
||||||||||||
Answer»
|
|||||||||||||
| 6. |
What is Future annotation(@future)? |
Answer»
Syntax: global CLASS class_name{ @future Static void methodname(parameters) { //body of the method }}` |
|
| 7. |
What is a wrapper class in Salesforce? |
|
Answer» A wrapper class is a type of container class, which contains a GROUP of objects as its MEMBERS. It is of an abstract data type. We use a wrapper class for ENCLOSING the collected data. A wrapper class is defined by a programmer, that acts as custom objects, along with wrapper class properties. The instances of a wrapper class are helpful in displaying various objects in the corresponding table on a Visualforce page. Some of the main advantages of using wrapper class by developers in Salesforce are given below:
|
|
| 8. |
How many ways we can share a record? |
|
Answer» With the help of the given below methods we can share records in Salesforce: Role hierarchy:
OWD:
Manual sharing:
Criteria based sharing rules:
Apex sharing:
|
|
| 9. |
Explain the various types of object relationships in Salesforce. |
|
Answer» An object relationship in Salesforce can be defined as a two-way link or association between two or more objects. Relationships are created by generating custom relationship fields on an object. Due to this, whenever a user views the records, they are also able to see and access related data. The various types of object relationships in Salesforce are: Master-Detail relationship (1:n):
Lookup relationship (1:n):
Junction relationship (Many-To-Many):
Hierarchical relationship:
External lookup relationship:
Indirect lookup relationship:
|
|
| 10. |
What do you mean by a sandbox in Salesforce? |
|
Answer» A sandbox is a copy of the production environment/ organization and it is used for the purpose of testing and development. It’s very useful because sandboxes are completely isolated from your Salesforce production organization, so it allows you to test out new ideas on the duplicate database without disturbing the original production environment. You can use the sandbox whenever you want to test a newly formed Force.com application or Visualforce PAGE. INSTEAD of testing it directly in production, you can develop and test it in the sandbox organization. Using this, you can develop the application without any difficulty and then migrate the metadata and data to the production environment. Doing this in a non-production environment permits developers to freely test and experiment with the newly created applications. There are four types of sandboxes in Salesforce: Developer sandbox:
Developer pro sandbox:
Partial data sandbox:
Full sandbox:
|
|