Advanced Salesforce Apex Interview Questions And Answers

38 Advanced Salesforce Apex Interview Questions And Answers For Experienced 2019 from Codingcompiler. Test your Salesforce Apex knowledge by answering these tricky interview questions on Apex. Let’s start learning Salesforce Apex interview questions and prepare for Salesforce interviews. All the best for your future and happy learning.

Continue reading “Advanced Salesforce Apex Interview Questions And Answers”

Demandware – Salesforce Commerce Cloud Interview Questions

Demandware Interview Questions And Answers 2018 – Salesforce Commerce Cloud Interview Questions And Answers. Here Coding compiler sharing a list of 20 Demandware certification questions to crack your next commerce cloud job interview. All the best for your future and happy learning.

Demandware Interview Questions

  1. What is Demandware and Salesforce Commerce Cloud?
  2. What kind of services Demandware can offer?
  3. What is Demandware Open Commerce APIs?
  4. What are the advantages of Demandware or Salesforce Commerce Cloud?
  5. What is Commerce Cloud Digital?
  6. What is Commerce Cloud Order Management?
  7. What is Commerce Cloud Endless Aisle?
  8. What is Commerce Cloud Einstein?
  9. What are the advantages of Commerce Cloud Digital?
  10. What are the Commerce Cloud Digital Key Features?

Demandware Certification Questions

1) What is Demandware?

A) Demandware is a software technology that provides a cloud-based e-commerce platform and related services for retailers and brand manufacturers around the world.

Demandware is now Salesforce Commerce Cloud, Salesforce acquired Demandware in 2016. As part of the acquisition by Salesforce renamed the shop system in Salesforce Commerce Cloud.

2) What kind of services Demandware can offer?

A) The Demandware Shop software was a Software-as-a-Service solution. The necessary hardware resources were provided by Demandware so that customers only had to deal with the further development and adaptation of their shop.

3) What is Demandware Open Commerce APIs?

A) The Demandware Open Commerce APIs give us access to the data that powers our store. Currently, the project only supports the “shop flow” APIs, which deal with categories, products, and product search.

4) What are the advantages of Demandware or Salesforce Commerce Cloud?

A) Demandware or Salesforce Commerce Cloud is the top-rated cloud commerce platform is backed by extensive industry experience and a powerful product strategy built on three fundamental differentiators: faster innovation, predictive intelligence, and unified commerce. Brands using Commerce Cloud move to market faster, engage significantly more customers and deliver seamless shopping experiences across all channels—digital, mobile, social, and store.

  • Commerce Cloud is currently powering more than 2000 websites in 50+ countries
  • Commerce Cloud brands grow 2x faster than the industry rate
  • Commerce Cloud brands enjoy 40-60% higher conversion rates than with legacy platforms
  • Over $16 billion worth of merchandise is sold online annually through Commerce Cloud
  • Commerce Cloud is recognized as market leader by both Gartner and Forrester
  • Commerce Cloud is the only vendor that Forrester recognized as leader in both Digital Commerce and POS

5) What is Commerce Cloud Digital?

A) Connect with customers anytime, anywhere, on any device. Inspire the connected customer with unified, personalized shopping experiences across all digital commerce channels: mobile, social, web, and more.

Demandware Interview Questions And Answers

Demandware Interview Questions # 6) What is Commerce Cloud Order Management?

A) Deliver “buy anywhere, service anywhere, fulfill anywhere” shopping experiences unified across all channels with real-time inventory visibility, order lifecycle management, and allocation logic.

Demandware Interview Questions # 7) What is Commerce Cloud Endless Aisle?

A) Extend the freedom and flexibility of digital commerce to the in-person shopping experience. Offer customers limitless product choice, and arm associates with real-time access to digital inventory and customer history.

Demandware Interview Questions # 8) What is Commerce Cloud Einstein?

A) Harnessing the power of AI is easier than you think! Infused into the very fabric of the platform, Einstein delivers AI-powered merchandising insights and highly personalized shopping experiences—no data scientist required.

Demandware Interview Questions # 9) What are the advantages of Commerce Cloud Digital?

A) Connect with the modern shopper anytime, anywhere! By combining the flexibility of the cloud with a rich set of advanced capabilities, Commerce Cloud Digital gives you the power to deliver unique online shopping experiences that exceed customer expectations and crush sales targets—and all in record time.

  • Deliver strategic, personalized shopping experiences at every touchpoint, on any device
  • Roll out continuous innovations without delays, dependencies, or disruptions
  • Launch new sites in weeks and new promotions in minutes
  • Offload IT operations to a unified cloud that is robust, stable, and scalable
  • Unify digital commerce with store operations, POS, order management, and more
  • Maximize productivity with centralized site management and automated tasks

Salesforce Commerce Cloud Interview Questions

Salesforce Commerce Cloud Interview Questions # 10) What are the Commerce Cloud Digital Key Features?

A) Digital Commerce Capabilities – Create unique ecommerce experiences right out of the box.

  • Merchandising and Marketing – Create limitless opportunities for personalized consumer engagement and digital commerce growth.
  • Digital Experience Management – Create highly innovative and relevant brand experiences.
  • Multisite Management and Localization – Launch new sites and explore new regions quickly and easily.
  • Digital Commerce Extensions – Extend commerce to an unlimited number of new channels, including social networks and branded mobile apps.
  • Order Management – Deliver the “buy anywhere, service anywhere, fulfill anywhere” experience.
  • AI-Powered Commerce – Leverage the power of Artificial Intelligence—no data scientist or machine learning expert required.

Salesforce Commerce Cloud Interview Questions # 11) What are B2B Digital Commerce Capabilities?

A) Deliver engaging B2B shopping experiences and provide corporate customers with essential B2B2C ecommerce functionality:

  • Create intuitive order and checkout processes that support large order sizes and follow a business-to-consumer model
  • Provide a differentiated experience, specific price books, and tiered pricing per account group
  • Share data and site functionality between business-to-consumer and business-to-business sites
  • Take orders on behalf of business clients

Salesforce Commerce Cloud Interview Questions # 12) What are Commerce Cloud Order Management Key Features?

A) Distributed Order Management Engine – Simplify processes, maximize efficiencies, and deliver the best possible order fulfillment experience to customers.

  • Extensible Customization and Integration – Save time and effort integrating order management with critical retail operations thanks to restful APIs.
  • Simple Role-Based Interfaces – Empower customer-facing users with order management tools tailored to their specific needs.
  • Unified Commerce Cloud Platform – Unify order management across all channels with seamless, out-of-the-box integration with both Commerce Cloud Digital and Commerce Cloud Store.

Salesforce Commerce Cloud Interview Questions # 13) What are the advantages of Commerce Cloud Endless Aisle?

A) Breathe new life into your store and meet shopper demands with Endless Aisle. This revolutionary solution enables retailers to extend digital capabilities to their physical locations—permanent and pop-up—without having to rip and replace current store solutions.

  • Delight shoppers with natural transitions between online and in-store experiences
  • Offer in-store shoppers the same freedom and flexibility they enjoy online
    Enable a single view of each customer journey by uniting digital and store channels
  • Optimize merchandising, promotions, and services with cross-channel customer insights
  • Arm associates with easy-to-use mobile applications

Salesforce Commerce Cloud Interview Questions # 14) What are Commerce Cloud Endless Aisle Key Features?

A) Inventory Integration – Offer in-store shoppers the same product choices they enjoy online.

  • Order Management Integration – Offer in-store shoppers multiple fulfillment options through Endless Aisle’s integration with Commerce Cloud Order Management.
  • Digital Commerce Integration – Align in-person and online experiences through Endless Aisle’s integration with Commerce Cloud Digital.
  • Empower Store Associates – Arm associates with mobile apps that are familiar, fun, and easy to learn.

Salesforce Commerce Cloud Interview Questions # 15) What is Artificial Intelligence (AI) in Demandware?

A) Artificial Intelligence (AI) is everywhere. People have intelligence-driven experiences every day through favorite apps, product recommendations, face and voice recognition, and more. The connected customer now expects these highly personalized, smart experiences across every brand they interact with—including yours.

AI still remains out of reach for most retailers. Why? Because it’s hard. Beyond the technology itself, the cost and complexity of gathering, analyzing, and interpreting the vast amounts of data produced by customers requires an army of data scientists and machine learning experts.

Demandware Certification Questions # 16) What are the advantages of AI in commerce cloud?

A) Commerce Cloud makes AI easy for everyone—no data scientist or expert required. Commerce Cloud is the only commerce solution with machine learning embedded into the very fabric of the platform, enabling powerful AI capabilities that drive delightful, personalized shopping experiences across digital, store, and mobile channels:

Recommend the best products across all commerce channels
Generate 1:1 predictions for every single shopper in real time
Get smart and boost conversions with data-driven commerce insights
Save time and effort with automated merchandising tasks

Demandware Certification Questions # 17) What are Einstein Key Features?

A) Einstein Product Recommendations – Power 1:1 personalized product recommendations across all channels—both online and in the store.

  • Einstein Commerce Insights – Interpret purchasing behavior with a powerful shopping basket analysis dashboard.
  • Einstein Predictive Sort – Connect customers to products with tailored product sorting.
  • Einstein Search Dictionaries – Eliminate lost sales due to bad search results.

Demandware Certification Questions # 18) What are your roles and responsibilities of Salesforce Certified Commerce Cloud Digital Developer?

A) Troubleshoot file synchronization issues between UX Studio and the sandbox environment

  • Work with the product data model to manage products, their categorization, and associated inventory
  • Modify site search preferences and settings to enable searching for a specified product attribute
  • Create a custom object type to store a custom data type
  • Configure OCAPI permissions for Data and Shop APIs
  • Create a JavaScript controller that leverages a script and renders a template/JSON

Demandware Certification Questions # 19) Hybris vs. Demandware? Difference between Demandware and Hybris?

A) The core main difference:

Demandware is SaaS and you write your code with old JS dialect (Rhino version) on top of DW core just with limited access to API.
Hybris is Framework and you write your code with Java together with full access to Java language features.

Demandware Certification Questions # 20) I am working on Demandware business manager where i need to change the site settings.

Going to Manage Sites> Selecting a site and going to settings,

there is a field called Cartridges where i put up a list of cartridges to be deployed for this site.

I want to add these cartridges to a different hierarchy like inside a folder. Is there a way to define this in the Cartridges field under settings?

A) No, you cannot add cartridges into subfolders. Cartridges need to reside directly in the version directory on the server.

OTHER INTERVIEW QUESTIONS

  1. Visual Studio Interview Questions
  2. Vagrant Interview Questions
  3. 60 Java Multiple Choice Questions
  4. 40 Core Java MCQ Questions
  5. Anaplan Interview Questions And Answers
  6. Tableau Multiple Choice Questions
  7. Python Coding Interview Questions
  8. CSS3 Interview Questions
  9. Linux Administrator Interview Questions
  10. SQL Interview Questions
  11. Hibernate Interview Questions
  12. Kubernetes Interview Questions
  13. Kibana Interview Questions
  14. Nagios Interview Questions
  15. Jenkins Interview Questions
  16. Chef Interview Questions
  17. Puppet Interview Questions
  18. RPA Interview Questions And Answers
  19. Android Interview Questions
  20. Mulesoft Interview Questions
  21. JSON Interview Questions
  22. PeopleSoft HRMS Interview Questions
  23. PeopleSoft Functional Interview Questions
  24. PeopleTools Interview Questions
  25. Peoplesoft Technical Interview Questions
  26. 199 Peoplesoft Interview Questions
  27. 200 Blue Prism Interview Questions
  28. Visualforce Interview Questions
  29. Salesforce Interview Questions
  30. 300 SSIS Interview Questions

Visualforce Interview Questions And Answers 2018

Visualforce Interview Questions And Answers 2018. Here Coding compiler presenting a list of 45 Visualforce Interview Questions. We hope that these Salesforce Visualforce interview questions will help you to crack your nex Visualforce job interview. All the best for your future and happy learning.

Visualforce Interview Questions

  1. What is Visualforce?
  2. What is visualforce controller in salesforce? What are they?
  3. What is Standard Controller?
  4. What is Standard List Controller?
  5. What is Custom Controller?
  6. Can we use standardController & controller attributes at a time?
  7. What are the tasks of standard controller?
  8. How can you create visualforce page in Salesforce?
  9. What is <apex:page> tag in visualforce markup?
  10. How can we enable visualforce editor?
  11. What are expressions used in pages to bind in controllers?
  12. What is the purpose of controllers?

Visualforce Interview Questions And Answers

Question # 1. What is Visualforce?

Answer # Visualforce is tag based markup language to develop customized user interface in salesforce.

Question # 2. What is visualforce controller in salesforce? What are they?

Answer # Visualforce controller is a set of instructions that specify what happens, when user interacts with components on visualforce pages, such buttons & links.

There are three types of controllers. They are.

Standard Controller, Custom controller & Controller extensions.

Question # 3. What is Standard Controller?

Answer # Standard controller provides the salesforce in built functionality to interact with visualforce pages. You can use the standard actions like Save, Edit, Cancel & delete by using standard controllers.

Syntax : <apex:page standardController=”Account”>

Question # 4. What is Standard List Controller?

Answer # Standard List Controller allows to display list of records in visualvalfoce page. Standard list controller provides additional pagination actions (First, Lat, Next & Previous) compared to standard controller.

Syntax: <apex:page standardController=”Account” recordSetVar=”accounts”>

defining this controller is similar to standard controller. But need to add one more attribute recordSetVar

Question # 5. What is Custom Controller?

Answer # Custom controller is an apex class that implements customized logic to visualfore pages.

We can override or create new functionality by using custom controllers.

Syntax: <apex:page controller=”Account” >

Question # 6. Can we use standardController & controller attributes at a time?

Answer # No, We cannot reference both attributes at a time.

See below syntax to under stand

<apex:page standardController=”ControllerName” extensions=”Class1, Class2,..”> Correct

<apex:page Controller=”MYControllerName” extensions=”Class1, Class2,..”> Correct syntax

<apex:page standardController=”MYControllerName” Controller=”MyController”> Wrong

Visualforce Interview Questions And Answers

Question # 7. What are the tasks of standard controller?

Answer # Standard controllers provides ability to access and interact with structured business data contained in records displays in the proper user interface.

Standard controller tasks: controlling data, controlling actions and controlling navigation.

8. How can you create visualforce page in salesforce?

We can create visualforce pages in two ways.

1. From the setup menu go to Setup-> develop -> Build->Pages-> click on new button to create a page & enter name & code for visualforce page.

2. From the vsualforce editor. Enter /apex/pagename at the url & create new page in visualforce editor.

Question # 9. What is <apex:page> tag in visualforce markup?

Answer # This tag represents a single visualforce page. Every page must start & end with this tag.

<apex:page>

<!– Body of the page –>

</apex:page>

Visualforce Interview Questions And Answers

Question # 10. How can we enable visualforce editor?

Answer # We need to check the “development mode” check box at user level to enable visualforce editor.

To enable this, go to user details page check the development mode check box.

 

Salesforce Visualforce Interview Questions And Answers

Question # 11. What are expressions used in pages to bind in controllers?

Answer # Using methods we can bind.
Getter:Will return value from controller to vf page
Setter:Will pass value from vf page to controller
Action:Will redirect to another page.

Visualforce Interview Questions And Answers
Question # 12. What is the purpose of controllers?

Answer # Controllers provide the data and actions that are available to a Visualforce page.

Question # 13. Which objects have associated standard controllers?

Answer # All standard and custom objects that can be accessed via the API have associated controllers

Question # 14. What is included with each standard controller?

Answer # Data: the fields for the associated object record that are API accessible, including the related records (5 up/1 down). Actions: save, delete, view, edit, cancel.

Visualforce Interview Questions And Answers
Question # 15. When do you need to go beyond a standard controller and code custom Apex?

Answer # If you need data beyond the limits of what is available in the standard controller or actions that go beyond the provided standard actions.

Question # 16. Compare and contrast custom controllers and controller extensions. How are they the same? How are they different?

Answer # Both allow for custom code to be used, allowing for custom data sets and custom actions. Extensions leverage the existing data and actions within a standard or custom controller.

Custom controllers must contain all data and actions that need to be executed by the page. Extensions that extend standard controller allow for the pages which use those extensions to be used in custom buttons, standard button overrides, and over declarative features.

Visualforce Interview Questions And Answers
Question # 17. What identifies a controller as being an extension?

Answer # The controller must declare a constructor which takes another controller explicitly. For example: public myControllerExtension(ApexPages.StandardController stdController) {this.acct = (Account)stdController.getRecord(); }

Question # 18. Why are properties helpful in controllers?

Answer # Properties can automatically create standard getters and setters while still allowing for their customizations. They save you from both writing the tedious code and reading the clutter when reviewing code.

Question # 19. In what order do methods fire within a controller?

Answer # The only rule is that setters fire before action methods. Aside from that, there is no guaranteed order.

Visualforce Interview Questions And Answers
Question # 20. What are some Apex classes that are commonly used within controllers?

Answer # StandardController, SelectOption, PageReference, Message, etc.

 

Visualforce Interview Questions And Answers For Experienced

Question # 21. How are wizard controllers different from other controllers?

Answer # The two main issues is that they must handle multiple pages and they must maintain the state across those pages.

Question # 22. What are the effects of using the transient key word?

Answer # The transient key word prevents the data from being saved into the view state. This should be used for very temporary variables.

Question # 23. When is a component controller required for custom components?

Answer # A component controller is required when business logic is required to decide how to render the component.

Visualforce Interview Questions And Answers
Question # 24. What kind of content can be included in a Visualforce page?

Answer # Any content that can be rendered in a browser (HTML, JavaScript, etc.).

Question # 25. What do {!expressions} refer to when used in Visualforce components?

Answer # Expressions refer to either data or actions that are made available to the page from the controller

Question # 26. What are the ways that Visualpages can be incorporated into the rest of your user interface?

Answer # Basically, via links, buttons, tabs, and inline frames.

Question # 27. Is it always necessary to know Apex to create Visualforce pages? When does it become necessary?

Answer # No, it is not always necessary. You can use standard controllers and VF component tags to accomplish quite a bit. Apex becomes necessary when you need either a custom set of data or custom actions to be available from the page.

Visualforce Interview Questions And Answers
Question # 28. What are attributes? What is the syntax for including them?

Answer # Attributes are modifiers to the main tag that belong after the tag name in the start tag. The syntax is attributeName=“attributeValue”

Question # 29. What are three types of bindings used in Visualforce? What does each refer to?

Answer # Data bindings refer to the data set in the controller.
Action bindings refer to action methods in the controller.
Component bindings refer to other Visualforce components

Visualforce Interview Questions And Answers
Question # 30. What is the main difference between using dataTable vs. pageBlockTable tags?

Answer # PageBlock: For default salesforce standard format.
dataTable:To design customformats

Visualforce Developer Interview Questions And Answers

Question # 31. Which tag is used with both radio buttons and picklists to create the selectable values?

Answer # <Apex:selectoption> tag

Question # 32. How many controllers can a page have? Where is the controller for a page assigned?

Answer # One main controller (of course, it could have extensions or custom components could have controllers, etc.). The controller is assigned in the <apex:page> tag.

Visualforce Interview Questions And Answers
Question # 33. There are a series of layout components that all help recreate the traditional Salesforce page layout style very easily. What name do they share?

Answer # pageBlock.

Question # 34. Which tags should be used to automatically bring in the Salesforce label and default widget for a field?

Answer # pageblock

Question # 35. What are static resources?

Answer # Static resources are a new type of storage in Salesforce specifically designed for use in Visualforce pages. They are ways to store images, flash files, stylesheets, and other web resources on the Salesforce servers that can be cached for better page performance.

Visualforce Interview Questions And Answers
Question # 36. What are some examples of JavaScript Events?

Answer # Onmouseover, onclieck etc.

Question # 37. What is AJAX typically used for in Visualforce

Answer # AJAX is primarily used for partial page updates in Visualforce. In s-controls, the AJAX toolkit was the soap (XML over HTTP) client that gave you access to the force.com Web Services API.

Question # 38. What is the purpose of <script> tags?

Answer # Script tags allow you to create JavaScript (or other types) functions that can be used within your pages

Question # 39. What are the different AJAX action tags? What does each do?

Answer #

actionStatus: used to display start and stop statuses of AJAX requests.
actionSupport: used to call a second component when an event happens to the first component.

actionPoller: similar to actionSupport, but the event is based on a timer instead of a user action.

actionFunction: provides support for invoking a controller action from JavaScript code using an AJAX request by defining a new JavaScript function.
actionRegion: used to demarcate which parts of the page the server should reprocess.

Visualforce Interview Questions And Answers
Question # 40. How can you create partial page refreshes?

Answer # Basically, you need to define the section of the page that is going to refresh (typically with a panel of sorts), and then define the event that will cause the refresh. The method changes depending on if the area being refreshed is the same as the one handling the event. It also depends on if you are just processing something on the server, or if you need the UI to change.

Visualforce Technical Interview Questions And Answers

Question # 41. Which tag is used with both radio buttons and picklists to create the selectable values?

Answer # <apex:selectOption>

Question # 42. What is the purpose of creating attributes on components?

Answer # By allowing the component to take parameters via an attribute, you can make the component more flexible and reusable

Question # 43.What are the Global Key words?

Answer # We have global keywords like component,User,url,current page etc., to access various values from components on page, from user object or from url or from current page fields. To access value from each source, we have different global keywords. One such keyword is explained in above question(!$component)

Various global keywords are:
i. URL
ii. USER
iii. PROFILE
iv. Resource
v. Component
vi. Current page
vii. Page reference etc.

Visualforce Interview Questions And Answers
Question # 44.How can you access visualforce components values into a JavaScript?

Answer # Using Component global variable, we can access visualforce components in javascript. Let us suppose, we want to use id of an apex field with id=”afield”.

So, we can use the {!$Component.afield} syntax to use properties of the field in javascript.
Let us suppose, we want to store the field’s value in java script, then we can use like below:

<script>
Var a =’ document.getElementById(‘{!$component.afield}’).value’;
</script>

Question # 45.What are the Gov Limits in Salesforce.com?

Answer # Because Apex runs in a multitenant environment, the Apex runtime engine strictly enforces a number of limits to ensure that runaway scripts do not monopolize shared resources.

These limits, or governors, track and enforce the statistics outlined in the following table. If a script ever exceeds a limit, the associated governor issues a runtime exception that cannot be handled.

Sources: Salesforce Tutorial  |  Salesforce Blogspot

RELATED INTERVIEW QUESTIONS

  1. Salesforce Interview Questions
  2. 300 SSIS Interview Questions
  3. PHP Interview Questions And Answers
  4. Alteryx Interview Questions
  5. AWS Cloud Support Interview Questions
  6. Google Kubernetes Engine Interview Questions
  7. AWS Devops Interview Questions
  8. Apigee Interview Questions
  9. Actimize Interview Questions
  10. Kibana Interview Questions
  11. Nagios Interview Questions
  12. Jenkins Interview Questions
  13. Chef Interview Questions
  14. Puppet Interview Questions
  15. DB2 Interview Questions
  16. AnthillPro Interview Questions
  17. Angular 2 Interview Questions
  18. Hibernate Interview Questions
  19. ASP.NET Interview Questions
  20. Kubernetes Interview Questions
  21. Docker Interview Questions
  22. CEH Interview Questions
  23. CyberArk Interview Questions
  24. Appian Interview Questions
  25. Drools Interview Questions
  26. Talend Interview Questions
  27. Selenium Interview Questions
  28. Ab Initio Interview Questions
  29. AB Testing Interview Questions
  30. Mobile Application Testing Interview Questions

Salesforce Developer Interview Questions And Answers For Experienced

Salesforce Developer Interview Questions And Answers For Experienced 2018. Here in this blog post Coding compiler presenting a list of 54 Salesforce interview questions for developers. We hope that these Salesforce technical questions will help you to know what kind of questions will be asked during Salesforce interview. Let’s read Salesforce scenario based interview questions to crack your next Salesforce job interview. All the best and happy learning.

Salesforce Interview Questions

  1. What is App in Salesforce?
  2. What is the object in Salesforce?
  3. How many relationships included in SFDC & What are they?
  4. What is a “Lookup Relationship”?
  5. What is “Master-Detail Relationship”?
  6. How can I create Many – to – Many relationships?
  7. List examples of custom field types?
  8. What is TAB in Salesforce?
  9. Can a user create insert their own custom logo, while creating their own custom applications?
  10. List things that can be customized for page layouts?
  11. What is a “Self Relationship”?
  12. What are the main things need to consider in the “Master-Detail Relationship”?
  13. What is the difference between trigger and workflow?
  14. What is Wrapper class?
  15. What is Difference between SOQL and SOSL?
  16. What is difference insert() and database .insert() ?
  17. What are Static Resources?
  18. How to call javascript using Static Resource in Visual Force page?
  19. What is sharing rule?
  20. How many ways can we share a record?

Salesforce Interview Questions and Answers

Question # 1. What is App in Salesforce?

Answer # An app is a group of tabs that work as a unit to provide functionality. Users can switch between apps using the Force.com app drop-down menu at the top-right corner of every page.

You can customize existing apps to match the way you work or build new apps by grouping standard and custom tabs.

Navigation to create an app in Salesforce: Setup ->Build ->Create->App-> Click on new and create your application according to your requirements.

Question # 2. What is the object in Salesforce?

Answer # Custom objects are database tables that allow you to store data specific to your organization in salesforce.com. You can use custom objects to extend salesforce.com functionality or to build new application functionality.

Once you have created a custom object, you can create a custom tab, custom related lists, reports, and dashboards for users to interact with the custom object data. You can also access custom object data through the Force.com API.

Navigation to create the object in sales force: Setup->Build->Create->Object-> Click on the new object and create object according to your requirement.

Question # 3. How many relationships included in SFDC & What are they?

Answer # We are having four types of relationships, they are

Lookup Relationship

Master-Detail Relationship

Many To Many

Hierarchy Relationship

Question # 4. What is a “Lookup Relationship”?

Answer # This type of relationship links two objects together,

Up to 25 allowed for object

  • Parent is not a required field.
  • No impact on a security and access.
  • No impact on deletion.
  • Can be multiple layers deep.
  • The lookup field is not required.

Salesforce Interview Questions and Answers

Question # 5. What is “Master-Detail Relationship”?

Answer # Master Detail relationship is the Parent child relationship. In which Master represents Parent and detail represents Child. If Parent is deleted then Child also gets deleted. Rollup summary fields can only be created on Master records which will calculate the SUM, AVG, MIN of the Child records.

Up to 2 allowed to object.

  • Parent field on the child is required.
  • Access to parent determines access to children.
  • Deleting parent automatically deletes child.
  • A child of one master-detail relationship cannot be the parent of another.
  • Lookup field on page layout is required.

Question # 6. How can I create Many – to – Many relationships?

Answer # Lookup and Master detail relationships are one to many relationships. We can create many – to – Many relationship by using junction object. Junction object is a custom object with two master detail relationships.

Question # 7. A custom object contains some records, now my requirement is to create the field in this object with the master-detail relationship. Can we create master-detail relationship in this case?

Answer # No, directly we cannot create master details relationship if custom object contains existing records.
Following are the steps to create to create master-detail relationship when records are available in custom object.

First create field with lookup relationship.

And then associate look field with parent record for every record.

Next change the data type of the field from look up to Master detail.

 

Question # 8. List examples of custom field types?

A) Text, Pick list, Pick list (multi select), Date, Email, Date/Time, Date, Currency, Checkbox, Number, Percent, Phone, URL, Text Area, Geolocation, lookup relationship, master detail relationship etc…..

Question # 9. What is TAB in Salesforce?

Answer # Tab is a user interface component to user creates to display custom object data.

There are three type of tabs.

  1. Custom Tabs
  2. Visual force Tabs
  3. Web Tabs

Question # 10. Can a user create insert their own custom logo, while creating their own custom applications?

Answer # Yes user can upload their custom logo in documents and then they choose that logo for organization.

Salesforce Interview Questions and Answers

Question # 11. List things that can be customized on page layouts?

Answer # We can customize different things on page layout like, Fields, Buttons, Custom Links and Related Lists. We can also create sections.

Salesforce Developer Interview Questions and Answers PDF

Question # 12. What is a “Self Relationship”?

Answer # Self Relationship is a lookup relationship to the same object. Suppose let’s take an object “Merchandise”. Here we can create relationship in between the Account to Account (same object) object. That is called “Self Relationship”.

Question # 13. What are the main things need to consider in the “Master-Detail Relationship”?

Answer # Record level access is determined by the parent, Mandatory on child for reference of parent, cascade delete (if you delete the parent, it can cascade delete the child).

Question # 14. What is the difference between trigger and workflow?

Answer # Workflow – Workflow is automated process that fired an action based on Evaluation criteria and rule criteria.

We can access a workflow across the object.

We cannot perform DML operation on workflow

We cannot query from database

Trigger – Trigger is a piece of code that executes before or after a record is inserted or updated.

We can access the trigger across the object and related to that objects

We can use 20 DML operations in one trigger.

We can use 20 SOQL’s from data base in one trigger.

Question # 15. What is Wrapper class?

Answer # A Wrapper class is a class whose instances are collection of other objects.

It is used to display different objects on a Visual Force page in same table.

Salesforce Interview Questions on Triggers

Question # 16. What is Difference between SOQL and SOSL?

Answer # SOQL(Salesforce Object Query Language)

Using SOQL we can Search only on one object at a time.

We can query on all fields of any datatype

We can use SOQL in Triggers and classes.

We can perform DML operation on query results.

SOSL(Salesforce object Search Language)

Using SOSL we can search on many objects at a time.

We can query only on fields whose data type is text,phone and Email.

We can use in calsses but not in Triggers.

We cannot perform DML operation on search result

 

Question # 17. What is difference insert() and database .insert() ?

Answer # Using insert method we can insert the records but if any error occurs in any record system will throw an error insertion fail and none of the records are inserted.

If we want to execute partially success of bulk insert operation we will use database .insert.

Question # 18. What are Static Resources?

Answer # Using Static Resources we can upload images, zip files, jar files, java script and CSS files that can be referred in a visual force page.

The maximum size of Static Resources for an organization is 250mB.

Salesforce Interview Questions and Answers

Question # 19. How to call javascript using Static Resource in Visual Force page?

Answer # Add java script file in Static Resource setup -> develop -> Static Resources -> click on ‘New’ -> Name: filename and add file from local desktop and save.

We can use that file as follows in Visual Force page

<apex: includescript values=” {! $Resource.fileName}”/>

Question # 20. What is sharing rule?

Answer # If we want to give the access to other users we use sharing rules.

Salesforce Developer Interview Questions and Answers For Experienced

Question # 21. How many ways we can share a record?

Answer # Role Hierarchy:

If we add a user to a role, the user is above in the role hierarchy will have read access.

Setup -> manage users -> roles -> setup roles -> click on ‘add role’ -> provide name and save.

OWD: Defines the base line setting for the organization.

Defines the level of access to the user can see the other user’s record

OWD can be Private, Public Read Only, Public Read and Write.

Setup -> Security Controls -> sharing settings -> Click on ‘Edit’

Manual Sharing: Manual Sharing is sharing a single record to single user or group of users.

We can see this button detail page of the record and this is visible only when OWD setting is private.

Criteria Based Sharing rules: If we want to share records based on condition like share records to group of users

Whose criteria are country is India.

Setup -> security controls -> sharing settings -> select the object and provide name and

Conditions and save

Apex sharing:

Share object is available for every object(For Account object share object is AccountShare ). If we want to share the records using apex we have to create a record to the share object.

Salesforce Interview Questions and Answers

Question # 22. What are the actions in workflow?

Answer #

1. Email Alert

2. Task

3. Field Update

4. Outbound Message

Question # 23. How many ways we can made field is required?

Answer #
1. While creation of field

2. Validation rules

3. Page Layout level

Question # 24. What is difference between Role and Profile?

Answer #

Role is Record level access and it is not mandatory for all users.

Profile is object level and field level access and it is mandatory for all users.

Question # 25. What is the maximum size of the PDF generated on visualforce attribute renderAs?

Answer # 15MB

Question # 26. How many controllers can be used in a visual force page?

Answer # Salesforce comes under SAAS so, we can use one controller and as many extension controllers.

Salesforce Interview Questions and Answers

Question # 27. What is difference between Action support and Action function?

Answer #

Action function: Invoke the controller method from java script using AJAX and we can use action function from different places on visual force page.

Action support: Invoke the controller method using AJAX when even occurs on page like onMouseOver, onClick, ect… and we can use action support for particular single apex component.

Question # 28. How many ways we can call the Apex class?

Answer #

  1. Visual force page
  2. Web Service
  3. Triggers
  4. Email services

Question # 29. How to create Master Details relationship between existing records?

Answer # Directly we can’t create Master Detail relationship between existing records, first we have to create Lookup relationship and provide valid lookup fields and it shouldn’t null.

Salesforce Interview Questions and Answers

Question # 30. What is permission set?

Answer # Permission sets extend user’s functional access without changing user’s profile.

Ex: A user has only read access through profile on custom object, administrator want to give access Edit and create operations to him without changing the profile. Administrator creates the permission set having edit and creates operation on custom object and assign to that user.

Salesforce Scenario Based Interview Questions and Answers

Question # 31. What is manual sharing?

Answer # Manual sharing is to share a record to a particular user manually.

Go to detail page of record and click on manual sharing button and assign that record to other user with Read or Read/Write access.

Manual Sharing button enables only when OWD is private to that object.

Question # 32. How we can change the Grant access using role hierarchy for standard objects?

Answer # Not possible.

Salesforce Interview Questions and Answers

Question # 33. What is the use of “Transfer Record” in profile?

Answer # If user have only Read access on particular record but he wants to change the owner name of that record, then in profile level Transfer Record enables he can able to change the owner.

Question # 34. What is Field dependency?

Answer # According to the field selection on one field filter the pick list values on other field.

Question # 35. Is check box performs like controlling field?

Answer # Yes possible. Controlling field should be Check box or pick list.

Question # 36. How many field dependencies we can use in Visual Force page?

Answer # Maximum we can use 10 field dependencies in VF page.

Question # 37. What is Roll-up summary?

Answer # Roll-up displays the count of child records and calculate the sum, min and max of fields of the child records.

Salesforce Interview Questions and Answers

Question # 38. How to create Roll-up summary field on lookup relation?

Answer # Not possible. Roll-up summary is enabled for only Master –Detail relationship.

Question # 39. What are the Record Types?

Answer # Record Types are restrict the pick list values and assign to the different page layouts for different Record Types.

Question # 40. What is Audit Trail?

Answer # Audit Trail provides the information or track all the recent setup changes that an administrator done to the organization.

This can store the last 6 months data.

Salesforce Interview Questions and Answers

Question # 41. What are the Report Types?

Answer # 4 Types of report in Salesforce

Tabular Reports: We can only displays the grand total in the table form.

Summary Reports: It is a detail form of report in which the grouping done based on Columns.

Matrix Reports: It is a detail form of report in which the grouping done based on both Rows and Columns.

Joined Reports: We can join the two or more reports in the single report displayed in the form of blocks.

Question # 42. What is Dashboard?

Answer # Dashboard is a pictorial representation of report. We can add up to 20 reports in single dashboard.

Question # 43. What is the default timeout period while calling webservice from Apex.

Annswer # 10Sec

Salesforce Developer Technical Interview Questions and Answers

Question # 44. We have a “Time Based Workflow” and there is Action scheduled to be executed. If we Deactivate the workflow, Scheduled actions will be removed from queue or not?

Answer # Action will be performed even if we are deactivated the workflow.

Salesforce Interview Questions and Answers

Question # 45. How to delete “Time based workflow” if there is already an action scheduled?

Answer # We can’t delete the “Time based workflow” if any pending actions in the queue.

Question # 46. How to update the record using After Trigger context?

Answer # Not possible. You will get error like “Record is Read only”.

Question # 47. What is the difference between “Export” and “Export All” in Data Loader in Salesforce?

Answer # Export is export all the data from Salesforce.com excluding the recycle bin’s data.

Export All is export all the data from Salesforce including the recycle bin’s data.

Question # 48. What is the use of “ALL ROWS” in SOQL?

Answer # ALL ROWS is used for retrieving the records from recycle bin.

Ex: SELECT Id from Campaign ALL ROWS

-> “ALL ROWS” is not work in developer console.

Salesforce Interview Questions and Answers

Question # 49. What is the use of “FOR UPDATE” in SOQL?

Answer # FOR UPDATE is used to lock the records.

Ex: Campaign cam = [SELECT id FROM Campaign LIMIT 1 FOR UPDATE];

Question # 50. What is the use of “savepoint” in apex?

Answer # This is will use for to roll back the changes.

Question # 51. How to call Apex class using java script?

Answer # Check the below code.

Apex Class:

global class ClassName{

webService static String methodName(String camName) {

Campaign cam = new Campaign(name = camName);

return cam.name;

}

}

Java Script:

var Campaign = sforce.sObject(“Campaign”);

var String = sforce.apex.exceute(“ClassName”,”methodName”,{name=”ABC”});

Salesforce Interview Questions and Answers

Question # 52. How to run trigger in asynchronously?

Answer # If you use @FUTURE annotation trigger run asynchronously.

Question # 53. We are not providing some of fields in .csv file which are required in page layout level. What happens if we try to insert records into Salesforce through data loader?

Answer # All records are inserted in Salesforce successfully.

Salesforce Interview Questions and Answers

Question # 54. We are not providing some of fields in .csv file which are required in Filed level. What happens if we try to insert records into Salesforce through data loader?

Answer # Except those records remaining records will be inserted in to Salesforce. Source: Salesforce Tutorial

RELATED INTERVIEW QUESTIONS

  1. 300 SSIS Interview Questions
  2. PHP Interview Questions And Answers
  3. Alteryx Interview Questions
  4. AWS Cloud Support Interview Questions
  5. Google Kubernetes Engine Interview Questions
  6. AWS Devops Interview Questions
  7. Apigee Interview Questions
  8. Actimize Interview Questions
  9. Kibana Interview Questions
  10. Nagios Interview Questions
  11. Jenkins Interview Questions
  12. Chef Interview Questions
  13. Puppet Interview Questions
  14. DB2 Interview Questions
  15. AnthillPro Interview Questions
  16. Angular 2 Interview Questions
  17. Hibernate Interview Questions
  18. ASP.NET Interview Questions
  19. Kubernetes Interview Questions
  20. Docker Interview Questions
  21. CEH Interview Questions
  22. CyberArk Interview Questions
  23. Appian Interview Questions
  24. Drools Interview Questions
  25. Talend Interview Questions
  26. Selenium Interview Questions
  27. Ab Initio Interview Questions
  28. AB Testing Interview Questions
  29. Mobile Application Testing Interview Questions
  30. Pega Interview Questions