Salesforce Blog - #Salesforce #SFDC #Visualforce #Apex #Lightning
Time 2022-01-01 17:22:46Web Name: Salesforce Blog - #Salesforce #SFDC #Visualforce #Apex #Lightning
WebSite: http://www.sfdcpoint.com
ID:250913
Keywords:
SFDC,Blog,Salesforce,Lightning,Apex,Visualforce,Description:
keywords: description:Salesforce Integration Testing Best practices for Salesforce Integration Testing A robust Salesforce integration testing would entail the collation of test information, selection of the right test tools, following the naming conventions, ensuring total test coverage,
actionPoller visualforce salesforceactionPoller visualforce salesforce Actionpoller acts as a timer in visuaflorce page. It is used to send an AJAX request to the server depending on the timeinterval that we specify in interval attribute (time interval has to be
Lightning Web Component lightning-datatableLightning Web Component lightning-datatable Lightning Web Component lightning-datatable in lwc lightning-datatable component displays tabular data for list of records. lightning-datatable component supports inline editing, which enables you to update a field value without navigating to
All About Salesforce Health CheckHealth is considered very important and is one of the indispensable aspects that need to be taken care of every time. The same applies in the case of Salesforce where the Security Health Check is
Select all checkbox using javascript in visualforce pageSelect all checkbox using javascript in visualforce page Javascript can be used in visualforce pages to select all checkboxes in visualforce table. This example uses javascript to implement this functionality. Click for demo Visualforce Page:
In this post I am going to share Salesforce Lightning Interview Questions
Here is list of all Salesforce Lightning Interview Questions:
What is Salesforce Lightning?What are the tools included in lightning ?What is Aura? Why do I see the aura: namespace in the code?Is Lightning an MVC framework?What is difference between Visualforce Components and Lightning Components?Where we can display lightning component?What are the different Lightning component bundles?What is Lightning Experience?What is Lightning Design System?What happens to my existing Visualforce Pages?What are the type of events into Salesforce Lightning component?What is the basic difference between Application Event and Component Event?Component events vs Application events. Which one I should use?What is aura definition bundle?What is the use of implements in lightning component?Which interface we are supposed to implement so that a lightning component can be used as a Tab?Which interface we are supposed to implement so that a lightning component can be used as quick action?Which interface we are supposed to implement so that a lightning component can be used in Community builder?What is use of @AuraEnabled annotationCan we Include One Lightning component to another ?How can we use Lightning Components with the Salesforce1 Mobile App ?How can we use a lightning component in a VisualForce Page?Can we integrate Lightning components with another framework like Angular?Can we include external JavaScript/CSS libraries like jQuery, bootstrap in components?What is use of aura:method tag in salesforce lightning?How to ensure FLS while working with Lightning Component?How can we display loading spinner in lightning component?How can we conditionally display content in lightning component?What is the use of force:hasRecordId interface?How to get current record id in lightning component?What is a FlexiPage in lightning?How can we deploy lightning components?What Is Lightning Data Service?What is Locker Service in Salesforce Lightning?What are value providers in Salesforce Lightning ?What are List of Global value providers in lightning?How to create popup in lightning component?Here is list of all Salesforce lightning interview questions and answers:
What is Salesforce Lightning?Lightning is the collection of tools and technologies behind a significant upgrade to the Salesforce platform. Lightning includes:
Experience: A set of modern user interfaces optimized for speed. This includes the Lightning Experience, Salesforce1 Mobile app and template-based communities.Lightning Component Framework: A JavaScript framework and set of standard components that allow you to build reusable components to customize the Lightning Experience, Salesforce1 Mobile app and template-based communities and build your own standalone apps.Visual Building Tools: Drag-and-drop technologies for fast and easy app building customizations. Use the Lightning App Builder to customize the Lightning Experience and Salesforce1 Mobile app. Use the Community Builder to customize template-based communities.Lightning Exchange: A section of the AppExchange where you can find 70+ partner components to jumpstart your development.Lightning Design System: Style guides and modern enterprise UX best practices to build pixel perfect apps that match the look and feel of the Lightning Experience and Salesforce1 Mobile app.Aura is the open source technology that powers Lightning Components. The aura: namespace contains all of the basic building blocks for defining components and applications.
Is Lightning an MVC framework?No, it’s a component-based framework.
What is difference between Visualforce Components and Lightning Components?Visualforce components are page-centric and most of the work is done on the server. Lightning is designed from the component up, rather than having the concept of a page as its fundamental unit. Lightning Components are client-side centric, which makes them more dynamic and mobile-friendly.
Where we can display lightning component?There are a number of possibilities for display lightning component..
Lightning Experience: We can display component in the Lightning Experience using the App Builder. We can edit the home page, edit a record detail page or create/edit a new app page to include it. Salesforce1 Mobile app: We can display component in the Salesforce1 Mobile app by creating a custom Lightning tab that references it and adding that tab in mobile navigation.Standalone Lightning app: By create a standalone Lightning app (e.g. myapp.app) and include component in this app. Access Lightning app by URL.Add Apps to the Lightning Experience App Launcher: Your Lightning Components apps and custom tabs are available from the App Launcher.Add Apps to Lightning Experience and Salesforce App Navigation: You can add Lightning components tabs to an app and they display as items in the app’s navigation bar.Lightning App Builder and Community Builder : We can display component in template-based (e.g. Napili) community using the Community Builder. Build custom user interfaces using your own Lightning components, or those you install from AppExchange, for desktop and mobile devices.Add Lightning Components to Lightning Pages: A Lightning Page is a custom layout that lets you design pages for use in the Salesforce mobile app or in Lightning Experience. You can use a Lightning Page to create an app home page and add your favorite Lightning component, such as the Expenses app we’ll be creating in this module, to it.Add Lightning Components to Lightning Experience Record Pages: You can customize Lightning Experience record pages by adding a Lightning Component.Launch a Lightning Component as a Quick Action: Create actions using a Lightning component, and then add the action to an object’s page layout to make it instantly accessible from a record page.Create Stand-Alone Apps: A standalone app comprises components that use your Salesforce data and can be used independently from the standard Salesforce environment.Run Lightning Components Apps Inside Visualforce Pages: Add Lightning components to your Visualforce pages to combine features you’ve built using both solutions. Implement new functionality using Lightning components and then use it with existing Visualforce pages.Run Lightning Components Apps on Other Platforms with Lightning Out: Lightning Out is a feature that extends Lightning apps. It acts as a bridge to surface Lightning components in any remote web container. This means you can use your Lightning components inside of an external site (for example, Sharepoint or SAP), or even elsewhere on the platform such as on Heroku.Customize Flow Screens: Create a flow to guide your users through a business process. By default, you can add simple fields like inputs or radio buttons to a flow screen. But with a custom Lightning component, you can fully customize the look-and-feel and functionality of your screen.What are the different Lightning component bundles?Component :UI for lightning componentController: Contains client-side controller methods to handle events in the component.Helper: JavaScript functions that can be called from any JavaScript code in a component’s bundleStyle: Contains styles for the component.Document: A description, sample code, and one or multiple references to example componentsDesign: File required for components used in Lightning App Builder, Lightning pages, or Community Builder.SVG: Custom iconClick Here for official Salesforce documentation.
What is Lightning Experience?Lightning Experience is the name for the all new Salesforce desktop app, with new features, built with a modern user interface and optimized for speed.
What is Lightning Design System?Style guides and modern enterprise UX best practices to build pixel perfect apps that match the look and feel of the Lightning Experience and Salesforce1 Mobile app. Click Here for official link.
What happens to my existing Visualforce Pages?They’ll continue to be supported in the current UI and Lightning Experience. See the Trailhead module on this topic.
What are the type of events into Salesforce Lightning component?Application Event – Scope of this event is throughout the lightning App and any component which has registered for this event would get a notification.Component Event– Scope of this event is within itself or the parent component of this event, all the components declared within the parent component would get notified of this event.System Event- these are the events fired by Salesforce’s system during the lifecycle of the lightning app.What is the basic difference between Application Event and Component Event?Component events are used to do communication between child and parent. They use bubbling and capture same as used in DOM events. A change in a child component can be communicated to the parent component via component event.
Application events are used to communicate any change in the component to a broader audience. Any component who has registered for this event will get a notified.
Component events vs Application events. Which one I should use?Component events can only be handled by components above them in the containment hierarchy, therefore, their usage is localized to the components that need to know about them.
Application events are best used for something that should be handled at the application level, such as navigating to a specific record. Application events allow communication between components that are in separate parts of the application and have no direct containment relationship.
What is aura definition bundle?A bundle contains an Aura definition and its related resources. The definition can be a component, application, event, interface, or a tokens collection.
An AuraDefinitionBundle component is a folder that contains definition files. Unlike most other metadata components, an AuraDefinitionBundle component isn’t a single file, it’s a collection of files. Each file represents a resource in a bundle, such as markup, applications, code files (including controllers and helpers), events, documentation, and interfaces.
A bundle doesn’t have a suffix. Definition files can have one of these suffixes:
Implements is use to refer platform interfaces which enables a component to be used in different contexts or to grant access to extra context data, a component can implement more than one interfaces.
Here is list of all interfaces that can be implemented in lightning component
Which interface we are supposed to implement so that a lightning component can be used as a Tab?We need to implement the following “force:appHostable” so that we can use the component as a Tab.
Which interface we are supposed to implement so that a lightning component can be used as quick action?We need to implement the following “force: lightningQuickAction” so that we can use the component as a Quick Action.
Which interface we are supposed to implement so that a lightning component can be used in Community builder?We need to implement the following “forceCommunity:availableForAllPageTypes” so that we can use the component in community builder.
What is use of @AuraEnabled annotationHow to call apex class from lightning componentTheThe
For more details, please refer to lightning:datatable example
Can we Include One Lightning component to another ?Yes we can include one Lightning component inside another Lightning component
How can we use Lightning Components with the Salesforce1 Mobile App ?We can create a custom Lightning tab that points to our component and include that tab in our Salesforce1 Mobile navigation.
How can we use a lightning component in a VisualForce Page?A Lightning component can be embed in any webpage using a very powerful and flexible feature, Lighting out. When used with Visualforce some complexity becomes simpler.
Lightning component can be added to Visualforce page in three steps:
For more details, please refer Use Lightning Components in Visualforce Pages
Can we integrate Lightning components with another framework like Angular?Yes, we can integrate lightning with any 3rd party framework.
Can we include external JavaScript/CSS libraries like jQuery, bootstrap in components?Yes, we can use multiple libraries in our lightning component like JQuery, Bootstrap, custom CSS and custom Javascript libraries using static resource.
What is use of aura:method tag in salesforce lightning?We can use aura:method to define a method as part of a components API. This enables you to directly call a method in a component’s client-side controller instead of firing and handling a component event. Using aura:method simplifies the code needed for a parent component to call a method on a child component that it contains.
How to ensure FLS while working with Lightning Component?FLS and CRUD are not automatically enforced in the lightning component whenever any object is referenced in the Apex Controller and the component will display the fields and records for which the users do not have access. Therefore we should manually enforce the FLS and CRUD in the Apex Controller. Also when we use Lightning Data service it takes care of FLS and CRUD for us.
How can we display loading spinner in lightning component?Spinners are CSS loading indicators that should be shown when retrieving data or performing slow computations. lightning:spinner displays an animated spinner image to indicate that a request is loading. This component can be used when retrieving data or performing an operation that takes time to complete.
aura:waiting and aura:donewaiting can be used for controlling the loading spinner.
For more details please refer to below post lightning spinner and Lightning Spinner in LWC (Lightning Web Component)
How can we conditionally display content in lightning component?We can use aura:if to conditionally display content in lightning component. For more details refer to below post aura:if in lightning component
What is the use of force:hasRecordId interface?or
How to get current record id in lightning component?Add the force:hasRecordId interface to a Lightning component to enable the component to be assigned the ID of the current record. The current record ID is useful if the component is used on a Lightning record page, as an object-specific custom action or action override in Lightning Experience or the Salesforce app, and so on. This interface has no effect except when used within Lightning Experience, the Salesforce mobile app, and template-based communities.
For more details refer below link force:hasRecordId
What is a FlexiPage in lightning?FlexiPage represents the metadata associated with a Lightning page. A Lightning page represents a customizable screen made up of regions containing Lightning components.
A Lightning page can contain upto 25 components. Flexi page are stored as xml file and can be deployed using metadata api or any deployment tool.
Lightning pages are referred as FlexiPages in API and referred as Lightning pages elsewhere in SFDC documentation.
How can we deploy lightning components?Lightning components can be deployed similar to any other component using changeset, ant migration tool, eclipse or any other migration tool.
What Is Lightning Data Service?Use Lightning Data Service to load, create, edit, or delete a record in your component without requiring Apex code. Lightning Data Service handles sharing rules and field-level security for you. In addition to not needing Apex, Lightning Data Service improves performance and user interface consistency. Main advantage of using lightning data service is that we can perform basic operations without Apex code.
For more details refer to below link Lightning Data Service
What is Locker Service in Salesforce Lightning?Locker Service is a powerful security architecture for Lightning components.
For more details please refer below link: Locker Services
What are value providers in Salesforce Lightning ?Value Providers in lightning Component encapsulate related values together and used to access data. In Salesforce lightning, we have two value providers for a component they are v (View) and c (Controller).
v is component attribute set which helps to access component attribute values in markupc is component controller helps us to link with event handlers and action for the componentWhat are List of Global value providers in lightning?$globalID$Browser$Label$Locale$ResourceHow to create popup in lightning component?Modals/Popup Box are used to display content in a layer above the app. This paradigm is used in cases such as the creation or editing of a record, as well as various types of messaging and wizards.
For more details, refer to below link Modal/Popup Lightning Component Salesforce
Modal/Popup Lightning Web Component(LWC)
If you have any other useful question answer related to Salesforce Lightning Interview Questions, please add in comment section.
Please refer to below links for more detail about lightning:
Lightning FAQ
Lightning Design System
Lightning Experience Rollout Specialist
Lightning Component Framework Specialist
Lightning Experience Specialist
Lightning Components Developer Guide
I will keep adding more questions to Salesforce Lightning Interview Questions.
For other interview questions please refer to Salesforce interview questions
Salesforce order of execution
When you save a record with an
Before Salesforce executes these events on the server, the browser runs JavaScript validation if the record contains any dependent picklist fields. The validation limits each dependent picklist field to its available values. No other validation occurs on the client side.
Here is an order of execution in salesforce in more detail:
On the salesforce server,Loads the original record from the database or initializes the record for anIf the request came from a standard UI edit page, Salesforce runs system validation to check the record for:
Compliance with layout-specific rulesRequired values at the layout level and field-definition levelValid field formatsMaximum field lengthWhen the request comes from other sources, such as an Apex application or a SOAP API call, Salesforce validates only the foreign keys. Before executing a trigger, Salesforce verifies that any custom foreign keys do not refer to the object itself.
When a process or flow executes a DML operation, the affected record goes through the save procedure.Executes entitlement rules.Executes record-triggered flows that are configured to run after the record is saved.If the record contains a roll-up summary field or is part of a cross-object workflow, performs calculations and updates the roll-up summary field in the parent record. Parent record goes through save procedure.If the parent record is updated, and a grandparent record contains a roll-up summary field or is part of a cross-object workflow, performs calculations and updates the roll-up summary field in the grandparent record. Grandparent record goes through save procedure.Executes Criteria Based Sharing evaluation.Commits all DML operations to the database.Executes post-commit logic, such as sending email.Additional Considerations
Please refer to below official link for salesforce order of execution:
Trigger and Order of Execution
For interview questions related to trigger, refer to the below link:
Salesforce Interview Questions on Triggers
Salesforce admin interview questions and answers.
Here is list of all Salesforce admin interview questions:
What is Salesforce?What is Cloud computing?What is CRM?What are some CRM providerWhat are different types of cloud computing?What is PaaS?What is SaaS?What is IaaS?What are different Salesforce Editions?What is difference between Salesforce.com and Force.com?What is Database.com?What is App in Salesforce?What is an object in Salesforce?Different types of object in Salesforce.com?How many relationship types are in Salesforce?What is Master-detail relationship?What is Many-to-many relationship?What is External lookup?What is Indirect lookup?What is Hierarchical relationship?What is a roll-up summary field?What are different Levels of data access in Salesforce?What is Organization-wide defaults?What is role hierarchy?What are the difference between a Role and Profile?What are Sharing Rules?What is Manual sharing?What is Profile?What are standard profiles?What is Permission Set?What is “View all” and “Modify all” permission?Is it possible to restrict permission for users using permission set?If a user does not have access to a specific record type, will they be able to see the records that have that record type?What are Salesforce Reports?What are the different Report Formats?What is Tabular Report?What is Summary Report?What is Matrix Report?What is Joined Report?What is Conditional Highlighting in Salesforce report?What is Bucket Field?Which field type does Bucketing field support?What are Dashboards?What are the different Dashboard Component?What is Workflow?What are the types of Workflow actions?What is Time-dependent Workflow?What is Approval Process?What is Salesforce Flow?What are Assignment Rules?What are Queues?What are Auto-Response Rules?What is Escalation Rules?What is Chatter in Salesforce?Here is list of all Salesforce admin interview questions and answers:
Salesforce is the world’s #1 customer relationship management (CRM) platform. Salesforce provides cloud-based, CRM applications for sales, service, marketing, and more.
Salesforce has essentially changed how enterprise software is delivered and used. Its software is cloud-based and hence doesnt need IT experts to set up anything. Salesforce has defined the ideal way as how to connect with customers. Building meaningful and lasting bond with the customers, identifying their needs, address problems faster and deploy apps that are customer focused is all possible through Salesforce.
Salesforce Technologies is one of the leading and very hot Technology in IT industry. Through Salesforce.com Technology thousands of Job opportunity are created for Salesforce developers and Salesforce Administration Job Seekers. As per Forbes magazine, nearly 55% of enterprises predict cloud computing will enable new business model in three years. So Salesforce is one of the Cloud Computing Technology which have bright future in the upcoming years. Salesforce provides different enterprise cloud computing applications to all size industries and businesses.
Salesforce applications are provided on subscription basis primarily through direct sales effort and indirectly through partners.
What is Cloud computing?Cloud computing is a kind of outsourcing of computer programs. Using cloud computing, users are able to access software and applications from wherever they are; the computer programs are being hosted by an outside party and reside in the cloud. This means that users do not have to worry about things such as storage and power, they can simply enjoy the end result.
Cloud computing is shared pools of configurable computer system resources and higher-level services that can be rapidly provisioned with minimal management effort, often over the Internet. Cloud computing relies on sharing of resources to achieve coherence and economies of scale, similar to a public utility.
What is CRM?CRM means “Customer Relationship Management “. We can understand from the full form where CRM is an application used to automate Sales and marketing functions by a using a Software called CRM Software. By using CRM Software every Company / Organization plans to increase their revenues and profits. This strategy of increasing revenue is done mainly by attracting Customers, clients, Sales etc.
Platform as a Service (PaaS)
The branch of cloud computing that allows users to develop, run, and manage applications without having to get caught up in code, storage, infrastructure and so on.
There are several types of PaaS. Every PaaS option is either public, private, or a hybrid mix of the two. Public PaaS is hosted in the cloud, and its infrastructure is managed by the provider. Private PaaS, on the other hand, is housed in onsite servers or private networks and is maintained by the user. Hybrid PaaS uses elements from both public and private and is capable of executing applications from multiple cloud infrastructures.
What is SaaS?Software as a Service (SaaS)
Using the cloud, software such as an internet browser or application is able to become a usable tool.
What is IaaS?Infrastructure as a Service (IaaS)
A third party hosts elements of infrastructure, such as hardware, software, servers, and storage, also providing backup, security, and maintenance.
What are different Salesforce Editions?Essentials: Designed for small businesses that want to get started with a CRM system quickly. It includes intuitive walkthroughs and a setup assistant to get started, an easy-to-use UI, and administration tools to customize your deployment as you grow.Professional: Designed for businesses requiring full-featured CRM functionality. It includes straightforward and easy-to-use customization, integration, and administration tools to facilitate any small to midsize deployment.Enterprise: Meets the needs of large and complex businesses. It gives you advanced customization and administration tools, in addition to all the functionality available in Professional Edition, that can support large-scale deployments. Enterprise Edition also includes access to Salesforce APIs, so you can easily integrate with back-office systems.Unlimited: Maximizes your success and extends it across the entire enterprise through the Lightning Platform. It gives you new levels of platform flexibility for managing and sharing all your information on demand. Includes all Enterprise Edition functionality, Premier Support, full mobile access, unlimited custom apps, increased storage limits, and other features.Developer: Provides access to the Lightning Platform and APIs. It lets developers extend Salesforce, integrate with other applications, and develop new tools and applications. Developer Edition also provides access to many of the features available in Enterprise Edition.What is difference between Salesforce.com and Force.com?Salesforce.com and fore.com are relatively same but they are different in their functionality. Salesforce.com is used to develop CRM functionality based application where force.com is used to customize our data model, business logic and User interface.
What is Database.com?Database.com is a type of service provided by Salesforce.com to enhance the power of Salesforce.com CRM applications. Database.com provides “Data as a Service” to subscribers.
What is App in Salesforce?App means an Application. In Salesforce an Application consists a group of tabs which are designed to work as a single function. We have number of applications in Salesforce.com some of them are sales, marketing, chatter, site.com, work.com etc.
We can create new application and also customization for the existing apps in Salesforce.com. To create new app in sfdc go to Setup=Build=Create=App.
Fields and Objects Salesforce Admin Interview questionsWhat is an object in Salesforce?An Objects is represented as a database table which stores organization data . Objects consists of set of fields and we store data against that field. To view data Salesforce provided TABS.
To create custom fields go to Setup=Build=Create=Object.
Different types of object in Salesforce.com?In Salesforce.com we have two types of objects. They are
Standard Objects :- Standard objects are called so because they are created and provided by Salesforce.com.Custom Objects :- Custom objects are those which are created by an User in salesforce.com.How many relationship types are in Salesforce?External lookup
Indirect lookup An indirect lookup relationship links a child external object to a parent standard or custom object. When you create an indirect lookup relationship field on an external object, you specify the parent object field and the child object field to match and associate records in the relationship. Specifically, you select a custom unique, external ID field on the parent object to match against the child’s indirect lookup relationship field, whose values come from an external data source.
What isFor more details, please refer to this link Object Relationships Overview
What is a roll-up summary field?A roll-up summary field calculates values from related records, such as those in a related list. You can create a roll-up summary field to display a value in a master record based on the values of fields in a detail record. The detail record must be related to the master through a master-detail relationship.
For more details refer official link roll-up summary field
Security related Salesforce Admin Interview QuestionsWhat are different Levels of data access in Salesforce?Organization level securityFor your whole org, you can maintain a list of authorized users, set password policies, and limit logins to certain hours and locations.
Object level securityAccess to object-level data is the simplest thing to control. By setting permissions on a particular type of object, you can prevent a group of users from creating, viewing, editing, or deleting any records of that object. For example, you can use object permissions to ensure that interviewers can view positions and job applications but not edit or delete them.
Field level securityYou can restrict access to certain fields, even if a user has access to the object. For example, you can make the salary field in a position object invisible to interviewers but visible to hiring managers and recruiters.
Record level securityYou can allow particular users to view an object, but then restrict the individual object records they’re allowed to see. For example, an interviewer can see and edit her own reviews, but not the reviews of other interviewers. You can manage record-level access in these four ways.
Organization-wide defaultsRole hierarchiesSharing rulesManual sharingWhat is Organization-wide defaults?Organization Wide Defaults(OWD) in salesforce is the baseline level of access that the most restricted user should have. Organizational Wide Defaults are used to restrict access. You grant access through other means like(sharing rules, Role Hierarchy, Sales Teams and Account teams, manual sharing, Apex Sharing ). In simple words Organization Wide Defaults(OWD)
For more details please level to below post Organization Wide Defaults(OWD) in salesforce
What is role hierarchy?It give access for users higher in the hierarchy to all records owned by users below them in the hierarchy. Role hierarchies don’t have to match your organization chart exactly. Instead, each role in the hierarchy should represent a level of data access that a user or group of users needs.
What are the difference between a Role and Profile?In simple words, Roles are one of the ways you can control access to records and Profiles determine what the User can do, view or edit on that record.
What are Sharing Rules?Sharing Rules are automatic exceptions to organization-wide defaults for particular groups of users, so they can get to records they don’t own or can’t normally see. Sharing rules, like role hierarchies, are only used to give additional users access to records. They can’t be stricter than your organization-wide default settings.
What is Manual sharing?It allows owners of particular records to share them with other users. Although manual sharing isn’t automated like org-wide sharing settings, role hierarchies, or sharing rules, it can be useful in some situations, such as when a recruiter going on vacation needs to temporarily assign ownership of a job application to someone else.
What is Profile?Each user has a single profile that controls which data and features that user has access to. A profile is a collection of settings and permissions. Profile settings determine which data the user can see, and permissions determine what the user can do with that data.The settings in a user’s profile determine whether she can see a particular app, tab, field, or record type.The permissions in a user’s profile determine whether she can create or edit records of a given type, run reports, and customize the app.View all and Modify all permissions are usually given to system administrator. When you grant “View All” or “Modify All” for an object on a profile or permission set, you grant any associated users access to all records of that object regardless of the sharing and security settings.
In essence, the “View All” and “Modify All” permissions ignore the sharing model, role hierarchy, and sharing rules that the “Create,” “Read,” “Edit,” and “Delete” permissions respect. Furthermore, “Modify All” also gives a user the ability to mass transfer, mass update, and mass delete records of that specific object, and approve such records even if the user is not a designated approver.
These tasks are typically reserved for administrators, but because “View All” and “Modify All” let us selectively override the system, responsibilities that are usually reserved for the administrator can be delegated to other users in a highly controlled fashion.
Is it possible to restrict permission for users using permission set?No, Permission Set always extends the permission. It does not restrict permission to users.If a user does not have access to a specific record type, will they be able to see the records that have that record type?Yes, Record type controls only visibility of record on UI but not its access to users. If user does not have access to record type then user will not be able to create records for that record type using UI. But user will we able to see records if they have appropriate permission to do so.For more details about security questions for Salesforce admin interview questions, refer to my previous post Salesforce security interview questions
Report and Dashboard related Salesforce Admin Interview QuestionsWhat are Salesforce Reports?A Reports is a set of records displayed in the form of rows and columns.
Reports data can be filtered, grouped, and displayed graphically as a chart. Reports are stored in Folder – which controls who has access.
Tabular Reports, Summary Reports, Matrix Reports, Joined Reports.
What is Tabular Report?It is the simplest and fastest report formats. It displays the rows as records and fields are listed as columns just like a spreadsheet. It supports sorting of records.
What is Summary Report?This report allows the user to group rows of data, summarize the field value which also supports sorting and display subtotals.
What is Matrix Report?In this report, records are summarized in a grid format. It allows the records to be grouped by both columns and rows.
What is Joined Report?In this type of report, User can create multiple report blocks that provide different different views of your data. In this format of report, we organize the data in the form of block. You can add upto 5 blocks in a single report. Each block is defined as a Sub-report(Report Type). It can have its own field, columns, sorting and filtering.
What is Conditional Highlighting in Salesforce report?Conditional Highlighting is a powerful way to show values in report within given
limits. Using Conditional Highlighting, We can specify colours for different ranges of values in reports.
Bucketing lets you quickly categorize report records, without having to create a formula or a custom field.
Which field type does Bucketing field support?It supports the field type of Picklist, Number, Text.
What are Dashboards?Salesforce Dashboard is the visual representation of snapshots that are generated from Salesforce reports data. Using Salesforce Dashboard components, you can convert business requirements in Graphical representation using Sales force reports. Like reports, Dashboard are also stored in Folders.
What are the different Dashboard Component?Scatter Chart, Line Chart, Funnel Chart, Vertical Bar Chart, Donut Chart, Horizontal Bar Chart, Pie Chart, Gauge, Metric, Table, Visual force Pages.
Other Salesforce admin interview questionsWhat is Workflow?Workflow rules are the automated process used in business process to send Email Alerts, Assign a Task, Update a field on rule criteria or action based criteria requirements.
What are the types of Workflow actions?Task – Assign a TaskEmail Alert: Send an Email.Field update: Update a Field.Outbound Message: Send an Outbound Message to External System.What is Time-dependent Workflow?The workflow that are scheduled to happen at a later time.
What is Approval Process?Approval Process are used in the business process to Approve or Reject the record.
It involves Approval or Rejection of records, where one person creates the record and
submits that record for Approval.
In Salesforce, a flow is an application that automates complex business processes. Simply put, it collects data and then does something with that data.
Flow Builder is the declarative interface used to build individual flows. Flow Builder can be used to build code-like logic without using a programming language.
What are Assignment Rules?Assignment Rules automatically assign incoming Leads Cases to specific agents so that the right people work on the right leads and cases.
What are Queues?Queues allow the group of users to manage a shared workload more efficiently It prioritize your support team’s workload by creating lists from which specific agents can jump in to solve certain types of cases.
What are Auto-Response Rules?Auto Response Rules Automatically send personalized email templates for new cases and new leads from your website.
What is Escalation Rules?Escalation Rules , Automatically escalate cases to the right people when the cases aren’t solved by a certain time.
What is Chatter in Salesforce?Chatter is a Salesforce real-time collaboration application that lets your users work together, talk to each other, and share information.
If you have any question related to Salesforce admin interview questions, please add your comments
I will keep adding more questions to Salesforce admin interview questions.
Salesforce developer interview questions and answers
Here is list of all Salesforce developer interview questions:
What is Salesforce?What is Cloud computing?What is CRM?What is PaaS?What is SaaS?What is IaaS?What are different Salesforce Editions?What is Master-detail relationship?What is Many-to-many relationship?What is Organization-wide defaults?What is role hierarchy?What are the difference between a Role and Profile?What are Sharing Rules?What is Manual sharing?What is Profile?What is Apex?What is a Trigger?What are the various event on which a trigger can fire?What are different type of Triggers?What are the considerations while implementing the Triggers?What is batch class in Salesforce?What is Salesforce Lightning?What are the different Lightning component bundles?What is Lightning Experience?What is Lightning Design System?What happens to my existing Visualforce Pages?What are the type of events into Salesforce Lightning component?What is the basic difference between Application Event and Component Event?Component events vs Application events. Which one I should use?Can we Include One Lightning component to another ?How can we use Lightning Components with the Salesforce1 Mobile App ?How can we use a lightning component in a VisualForce Page?Can we integrate Lightning components with another framework like Angular?Can we include external JavaScript/CSS libraries like jQuery, bootstrap in components?How to ensure FLS while working with Lightning Component?How can we display loading spinner in lightning component?How can we conditionally display content in lightning component?What is the use of force:hasRecordId interface?How to get current record id in lightning component?What is a FlexiPage in lightning?How can we deploy lightning components?What Is Lightning Data Service?What are List of Global value providers in lightning?How to create popup in lightning component?Here is list of all Salesforce developer interview questions and answers:
What is Salesforce?Salesforce is the world’s #1 customer relationship management (CRM) platform. Salesforce provides cloud-based, CRM applications for sales, service, marketing, and more.
Salesforce has essentially changed how enterprise software is delivered and used. Its software is cloud-based and hence doesn’t need IT experts to set up anything. Salesforce has defined the ideal way as how to connect with customers. Building a meaningful and lasting bond with the customers, identifying their needs, address problems faster and deploy apps that are customer-focused is all possible through Salesforce.
Salesforce Technologies is one of the leading and very hot Technology in IT industry. Through Salesforce.com Technology thousands of Job opportunity are created for Salesforce developers and Salesforce Administration Job Seekers. As per Forbes magazine, nearly 55% of enterprises predict cloud computing will enable new business model in three years. So Salesforce is one of the Cloud Computing Technologies which have bright future in the upcoming years. Salesforce provides different enterprise cloud computing applications to all size industries and businesses.
Salesforce applications are provided on a subscription basis primarily through direct sales effort and indirectly through partners.
What is Cloud computing?Cloud computing is a kind of outsourcing of computer programs. Using cloud computing, users are able to access software and applications from wherever they are; the computer programs are being hosted by an outside party and reside in the cloud. This means that users do not have to worry about things such as storage and power, they can simply enjoy the end result.
Cloud computing is shared pools of configurable computer system resources and higher-level services that can be rapidly provisioned with minimal management effort, often over the Internet. Cloud computing relies on sharing of resources to achieve coherence and economies of scale, similar to a public utility.
What is CRM?CRM means “Customer Relationship Management “. We can understand from the full form where CRM is an application used to automate Sales and marketing functions by a using a Software called CRM Software. By using CRM Software every Company / Organization plans to increase their revenues and profits. This strategy of increasing revenue is done mainly by attracting Customers, clients, Sales etc.
What is PaaS?Platform as a Service (PaaS)
The branch of cloud computing that allows users to develop, run, and manage applications without having to get caught up in code, storage, infrastructure and so on.
There are several types of PaaS. Every PaaS option is either public, private, or a hybrid mix of the two. Public PaaS is hosted in the cloud, and its infrastructure is managed by the provider. Private PaaS, on the other hand, is housed in onsite servers or private networks and is maintained by the user. Hybrid PaaS uses elements from both public and private and is capable of executing applications from multiple cloud infrastructures.
What is SaaS?Software as a Service (SaaS)
Using the cloud, software such as an internet browser or application is able to become a usable tool.
What is IaaS?Infrastructure as a Service (IaaS)
A third party hosts elements of infrastructure, such as hardware, software, servers, and storage, also providing backup, security, and maintenance.
What are different Salesforce Editions?Essentials: Designed for small businesses that want to get started with a CRM system quickly. It includes intuitive walkthroughs and a setup assistant to get started, an easy-to-use UI, and administration tools to customize your deployment as you grow.Professional: Designed for businesses requiring full-featured CRM functionality. It includes straightforward and easy-to-use customization, integration, and administration tools to facilitate any small to midsize deployment.Enterprise: Meets the needs of large and complex businesses. It gives you advanced customization and administration tools, in addition to all the functionality available in Professional Edition, that can support large-scale deployments. Enterprise Edition also includes access to Salesforce APIs, so you can easily integrate with back-office systems.Unlimited: Maximizes your success and extends it across the entire enterprise through the Lightning Platform. It gives you new levels of platform flexibility for managing and sharing all your information on demand. Includes all Enterprise Edition functionality, Premier Support, full mobile access, unlimited custom apps, increased storage limits, and other features.Developer: Provides access to the Lightning Platform and APIs. It lets developers extend Salesforce, integrate with other applications, and develop new tools and applications. Developer Edition also provides access to many of the features available in Enterprise Edition.What isOrganization Wide Defaults(OWD) in salesforce is the baseline level of access that the most restricted user should have. Organizational Wide Defaults are used to restrict access. You grant access through other means like(sharing rules, Role Hierarchy, Sales Teams and Account teams, manual sharing, Apex Sharing ). In simple words Organization Wide Defaults(OWD)
For more details please level to below post Organization Wide Defaults(OWD) in salesforce
What is role hierarchy?It give access for users higher in the hierarchy to all records owned by users below them in the hierarchy. Role hierarchies don’t have to match your organization chart exactly. Instead, each role in the hierarchy should represent a level of data access that a user or group of users needs.
What are the difference between a Role and Profile?In simple words, Roles are one of the ways you can control access to records and Profiles determine what the User can do, view or edit on that record.
What are Sharing Rules?Sharing Rules are automatic exceptions to organization-wide defaults for particular groups of users, so they can get to records they don’t own or can’t normally see. Sharing rules, like role hierarchies, are only used to give additional users access to records. They can’t be stricter than your organization-wide default settings.
What is Manual sharing?It allows owners of particular records to share them with other users. Although manual sharing isn’t automated like org-wide sharing settings, role hierarchies, or sharing rules, it can be useful in some situations, such as when a recruiter going on vacation needs to temporarily assign ownership of a job application to someone else.
What is Profile?Each user has a single profile that controls which data and features that user has access to. A profile is a collection of settings and permissions. Profile settings determine which data the user can see, and permissions determine what the user can do with that data.The settings in a user’s profile determine whether she can see a particular app, tab, field, or record type.The permissions in a user’s profile determine whether she can create or edit records of a given type, run reports, and customize the app.Apex is a strongly typed, object-oriented programming language that allows developers to extend the Salesforce platform by writing their own business logic into the platform. Apex looks similar to Java and can be launched through a variety of user-initiated events such as record updates, button clicks, triggers on objects, or external web service requests.
What is a Trigger?Apex triggers enable you to perform custom actions before or after events to records in Salesforce, such as insertions, updates, or deletions. Just like database systems support triggers, Apex provides trigger support for managing records.
Use triggers to perform tasks that can’t be done by using the point-and-click tools in the Salesforce user interface. For example, if validating a field value or updating a field on a record, use validation rules and workflow rules instead.
What is Trigger Syntax?trigger TriggerName on ObjectName (trigger_events) { code_block}What are the various event on which a trigger can fire?
A trigger is a set of statement which can be executed on the following events. In above trigger events one or more of below events can be used with comma separated.
before insertbefore updatebefore deleteafter insertafter updateafter deleteafter undeleteWhat are different type of Triggers?There are two types of triggers:
Before triggers are used to perform a task before a record is inserted or updated or deleted. These are used to update or validate record values before they are saved to the database.After triggers are used if we want to use the information set by Salesforce system and to make changes in the other records. are used to access field values that are set by the system (such as a records Id or LastModifiedDate field), and to affect changes in other records. The records that fire theConsider the following before implementing the triggers.
Upsert trigger fires on 4 different events :- before(insert, update), after (insert, update)Merge trigger are fired on both events on deleteField history is updated after the trigger has successfully finished processing data.Any callout should be asynchronous so that trigger does not have to wait for the response.A trigger cannot have a static keyword in its code.If a trigger completes successfully the changes are committed to the database and if it fails the transaction is rolled back.Read the Apex Developer Guide for more detailed considerations.
For more details about triggers in salsforce refer to below links
Salesforce Interview Questions on Triggers
Triggers in Salesforce
What is batch class in Salesforce?Batch class in salesforce is used to run large jobs (think thousands or millions of records!) that would exceed normal processing limits. Using Batch Apex, you can process records asynchronously in batches (hence the name, “Batch Apex”) to stay within platform limits. If you have a lot of records to process, for example, data cleansing or archiving, Batch Apex is probably your best solution.
Here’s how Batch Apex works under the hood. Let’s say you want to process 1 million records using Batch Apex. The execution logic of the batch class is called once for each batch of records you are processing. Each time you invoke a batch class, the job is placed on the Apex job queue and is executed as a discrete transaction.
For more details please refer batch Apex example in salesforce
What is Salesforce Lightning?Lightning is the collection of tools and technologies behind a significant upgrade to the Salesforce platform. Lightning includes:
Experience: A set of modern user interfaces optimized for speed. This includes the Lightning Experience, Salesforce1 Mobile app and template-based communities.Lightning Component Framework: A JavaScript framework and set of standard components that allow you to build reusable components to customize the Lightning Experience, Salesforce1 Mobile app and template-based communities and build your own standalone apps.Visual Building Tools: Drag-and-drop technologies for fast and easy app building customizations. Use the Lightning App Builder to customize the Lightning Experience and Salesforce1 Mobile app. Use the Community Builder to customize template-based communities.Lightning Exchange: A section of the AppExchange where you can find 70+ partner components to jumpstart your development.Lightning Design System: Style guides and modern enterprise UX best practices to build pixel perfect apps that match the look and feel of the Lightning Experience and Salesforce1 Mobile app.What are the different Lightning component bundles?Component :UI for lightning componentController: Contains client-side controller methods to handle events in the component.Helper: JavaScript functions that can be called from any JavaScript code in a component’s bundleStyle: Contains styles for the component.Document: A description, sample code, and one or multiple references to example componentsDesign: File required for components used in Lightning App Builder, Lightning pages, or Community Builder.SVG: Custom iconClick Here for official Salesforce documentation.
What is Lightning Experience?Lightning Experience is the name for the all new Salesforce desktop app, with new features, built with a modern user interface and optimized for speed.
What is Lightning Design System?Style guides and modern enterprise UX best practices to build pixel perfect apps that match the look and feel of the Lightning Experience and Salesforce1 Mobile app. Click Here for official link.
What happens to my existing Visualforce Pages?They’ll continue to be supported in the current UI and Lightning Experience. See the Trailhead module on this topic.
What are the type of events into Salesforce Lightning component?Application Event – Scope of this event is throughout the lightning App and any component which has registered for this event would get a notification.Component Event– Scope of this event is within itself or the parent component of this event, all the components declared within the parent component would get notified of this event.System Event- these are the events fired by Salesforce’s system during the lifecycle of the lightning app.What is the basic difference between Application Event and Component Event?Component events are used to do communication between child and parent. They use bubbling and capture same as used in DOM events. A change in a child component can be communicated to the parent component via component event.
Application events are used to communicate any change in the component to a broader audience. Any component who has registered for this event will get a notified.
Component events vs Application events. Which one I should use?Component events can only be handled by components above them in the containment hierarchy, therefore, their usage is localized to the components that need to know about them.
Application events are best used for something that should be handled at the application level, such as navigating to a specific record. Application events allow communication between components that are in separate parts of the application and have no direct containment relationship.
Can we Include One Lightning component to another ?Yes we can include one Lightning component inside another Lightning component
How can we use Lightning Components with the Salesforce1 Mobile App ?We can create a custom Lightning tab that points to our component and include that tab in our Salesforce1 Mobile navigation.
How can we use a lightning component in a VisualForce Page?A Lightning component can be embed in any webpage using a very powerful and flexible feature, Lighting out. When used with Visualforce some complexity becomes simpler.
Lightning component can be added to Visualforce page in three steps:
For more details, please refer Use Lightning Components in Visualforce Pages
Can we integrate Lightning components with another framework like Angular?Yes, we can integrate lightning with any 3rd party framework.
Can we include external JavaScript/CSS libraries like jQuery, bootstrap in components?Yes, we can use multiple libraries in our lightning component like JQuery, Bootstrap, custom CSS and custom Javascript libraries using static resource.
What is use of aura:method tag in salesforce lightning?We can use aura:method to define a method as part of a component’s API. This enables you to directly call a method in a component’s client-side controller instead of firing and handling a component event. Using aura:method simplifies the code needed for a parent component to call a method on a child component that it contains.
How to ensure FLS while working with Lightning Component?FLS and CRUD are not automatically enforced in the lightning component whenever any object is referenced in the Apex Controller and the component will display the fields and records for which the users do not have access. Therefore we should manually enforce the FLS and CRUD in the Apex Controller. Also when we use Lightning Data service it takes care of FLS and CRUD for us.
How can we display loading spinner in lightning component?Spinners are CSS loading indicators that should be shown when retrieving data or performing slow computations. lightning:spinner displays an animated spinner image to indicate that a request is loading. This component can be used when retrieving data or performing an operation that takes time to complete.
aura:waiting and aura:donewaiting can be used for controlling the loading spinner.
For more details please refer to below post lightning spinner
How can we conditionally display content in lightning component?We can use aura:if to conditionally display content in lightning component. For more details refer to below post aura:if in lightning component
What is the use of force:hasRecordId interface?or
How to get current record id in lightning component?Add the force:hasRecordId interface to a Lightning component to enable the component to be assigned the ID of the current record. The current record ID is useful if the component is used on a Lightning record page, as an object-specific custom action or action override in Lightning Experience or the Salesforce app, and so on. This interface has no effect except when used within Lightning Experience, the Salesforce mobile app, and template-based communities.
For more details refer below link force:hasRecordId
What is a FlexiPage in lightning?FlexiPage represents the metadata associated with a Lightning page. A Lightning page represents a customizable screen made up of regions containing Lightning components.
A Lightning page can contain upto 25 components. Flexi page are stored as xml file and can be deployed using metadata api or any deployment tool.
Lightning pages are referred as FlexiPages in API and referred as Lightning pages elsewhere in SFDC documentation.
How can we deploy lightning components?Lightning components can be deployed similar to any other component using changeset, ant migration tool, eclipse or any other migration tool.
What Is Lightning Data Service?Use Lightning Data Service to load, create, edit, or delete a record in your component without requiring Apex code. Lightning Data Service handles sharing rules and field-level security for you. In addition to not needing Apex, Lightning Data Service improves performance and user interface consistency. Main advantage of using lightning data service is that we can perform basic operations without Apex code.
For more details refer to below link Lightning Data Service
What are List of Global value providers in lightning?$globalID$Browser$Label$Locale$ResourceHow to create popup in lightning component?Modals/Popup Box are used to display content in a layer above the app. This paradigm is used in cases such as the creation or editing of a record, as well as various types of messaging and wizards.
For more details, refer to below link Modal/Popup Lightning Component Salesforce
For more details about lightning, refer to Salesforce Lightning Interview Questions
For more salesforce developer interview questions refer to below links
Salesforce Lightning Interview Questions
Salesforce admin interview questions
Salesforce interview questions
Good luck for interview
TAGS:SFDC Blog Salesforce Lightning Apex Visualforce
<<< Thank you for your visit >>>
Websites to related : ScentsAbility | Artisan Candles
keywords:
description:
AOL Featured ScentsAbility as Their Holiday Heroes! LEARN MORE MenuHomeAbout UsOur ArtisansOur CandlesDonationsWholesal
keywords:
description:GET YOUR BUSINESS ON STREET VIEW TODAY! Increase Visibility and Trust for your Business with Google Maps and Local SEO Services
keywords:electronic suppliers,electric components,electronic distributors,electronic supplier,components suppliers,components distributor
description:
keywords:
description:
[Névtelen]Get startedYour First DaysWeek 1 and BeyondTop FAQsTraining VideosLearn moreTips and TricksMobile UsersAdmin Assist
keywords:credit,card,number,generator,credit card,credit cards,credit card number,credit card numbers,valid credit card number, credit card number gen
Home - 350 Marin keywords:
description:
Facebook Twitter RSS HomeEventsC
keywords:electronic components distributor parts suppliers power supplies tools relays industrial Oshkosh Wisconsin
description:Electronic Industries
keywords:
description:Get set up with a new domain name right away. Affordable payment plans to fit any budget. Friendly customer support.
Questions?+
keywords:
description:A Google háza táján
Web Analysis for Googleground - googleground.hu
keywords:ted, theodore, pavlic, ted pavlic, theodore pavlic, controls, engineering, robotics, programming, text editors, LaTeX, UNIX, forgaging theory
adsHot Websites