Technical Interview Nesibe
Technical Interview Nesibe
Cevap verirken
zorlandigimda kullangim
cumleler:
I am not quite familiar with the Let me see, If I understand correctly,
topic, Based on what I know… you’d like to know …
but I am sure my senior That’s a little complex That’s a question I really I’d like to make sure I
developer xxx will help me to question for me, let me need to think about. Can I understand correctly, you are
learn it. He is my first address collect my thoughts on take some time with this asking……
whenever I have a problem. that for a moment. and come back to it later
in the interview?
ANASAYFA
AGILE METHODOLOGY
ANASAYFA
ANASAYFA
Security
A permission set is a
collection of settings and
Profile & Role Freeze & Deactivate permissions that give users
Profiles are required, but Freezing a user in Salesforce access to various tools and
roles are not. Profiles means that only stops the user functions. Permission sets
determine which objects, from being able to login. In some extend users' functional
fields, etc. a user can access, cases, you can't immediately access without changing their
and roles determine what deactivate a user (such as when profiles.
records a user can see a user is selected in a custom
relative to others in the hierarchy field or a user that's Sharing rules extend sharing access
organization's hierarchy. assigned as the sole recipient of to the users in roles, public groups,
a workflow email alert) or territories. It gives greater access
Typically, a user's profile is to the users by making automatic
set to something such as If you deactivate a user, you may exceptions to the sharing settings for
Sales or HR or System assign his/her license to other the entire org.This can be based on
Administrator user but you cannot do this for record ownership or other criteria. It
freeze user. selects the records to share with the
users and the level of access to be
given to these users or groups.
Records can be shared in 5
different way: Role Hierarchy
-OWD (Organization Wide
1) Role hierarchy Salesforce uses role hierarchy
Defaults define baseline level
2) OWD (Organization to automatically to grant
of access to data records for
Wide Defaults) access to users by default. We
all users in an organization.
3) Manuel Sharing cannot edit Grant Access using
-OWD are used to restrict 4) Apex Sharing Hierarchies for standard
access to data(records) 5) Criteria Based objects and can edit Grant
sharing rules Access using Hierarchies check
-OWD can be defined for box for Standard objects.
Standard Objects and Custom
objects
ANASAYFA
ANASAYFA
Master: Delete parent, child will be deleted automatically. The object relations in Salesforce include Many
to many, Master-Detail, Lookup, Hierarchical,
Indirect Lookup, External Lookup
ANASAYFA
ANASAYFA
ANASAYFA
I have also worked Case Management as ANASAYFA
a sales cloud function. According to our
Page Layout and Record Type: Lead management
company’s business process, I have
Page Layouts control the layout and In my company, I have done the
differentiate the case management processes
organization of fields, buttons, visualforce, lead management. My marketing
via creating record types and assigning them to
custom links, s-controls, and related lists on team users have been
different layouts. For example, the requests or
any object record pages. They determine dealing with the prospects then
problems related to Payment plans are
which all fields are visible, read-only, and they can convert them into the
entered in the respective record type and page
mandatory. You can customize the content of opportunity, also Account and
layout of Case. In the record type I have also
record pages for users with a Page Layout. contact object has been created as
customized the picklist value of ‘Case Type’
Record Types help to define different a functionality of lead conversion. I
field.
business processes, page layouts, and picklist have mapped the
Salesforce Queues are a collection of records
values that are meant for different users. lead custom fields to opportunity, I
that doesn't have any owner. Users who have
access to the queue can check every record have also a validation rule on
I have created two record types on conversion for center and space
that is in it and claim ownership of the one's
opportunity to differentiate the business field record. In lead, I have defined
they want. Queues in Salesforce help to
process ,,,,,,,, a validation rule to be entered a
prioritize, distribute, and assign records to
I have created two page layouts on data on center and space look up
teams who share workloads.
opportunity to be assigned to two record fields.
I have created separated queues for different
types. ...... Also, I have created the web to lead
case types, assigned different users into those
queues.Our Leasing Team officers has shared form. Whenever the costumers fill
the case solving according to the subject of out the form, the record save our
request or problem. But same officers can be system as a new lead and the lead
assigned to different case managements. source will auto populated as a
web. I added this code to the html
page as well.
FLOW-giris: FLOW-My project: I created a record trigger Flow example: For one of my
Flow is a very powerful business automation flow for ……………. user stories, I have built an auto
that we can collect, create, update, edit, and launch flow then called it from a
delete Salesforce Data. It will execute logic, call process builder................
Apex classes while interacting with the
Salesforce database, and guiding users through
screens for collecting and updating data as per
business requirements
Auto launched Flow-Doesn’t require user
interaction. This flow type doesn’t support I have created a scheduled trigger flow for What is difference between screen
screens and local actions. ……. flow and auto launched flow?
We use flow for complex business processes. ….. Screen Flow-Requires user
We can collect data and then do something ….. interaction because it includes
with that data. Flow Builder is the declarative screens, local actions, steps,
interface used to build individual flows. Flow choices, or dynamic choices. Screen
Builder can be used to build code-like logic flows don’t support Pause elements
without using a programming language.
FLOW VS TRIGGER. TODAYS TASK
ANASAYFA
ANASAYFA
ANASAYFA
ANASAYFA
Bulkification
Bulkified Code or Bulkification
means combining the related tasks in the
APEX. The code properly handles more
than one records at a time. It is the only
way to get around Governor Limits
ANASAYFA
ANASAYFA
Maps
A map is a collection of key-value pairs where each unique key
What are the ways to call an Apex maps to a single value. Keys and values can be any data type—
Class in Salesforce? primitive types, collections, sObjects, user-defined types, and
Answer: The various ways to call an built-in Apex types.
Apex class in Salesforce are as follows:
1) From a Developer Console
2) Using Triggers If you store the school data student numbers are example of
3) From Visualforce Page sets. It must be unique and no repeating, and students’ names
4) With JavaScript Links are examples of the list, there can be some students who have
5) From Home Page Components the same name. maps are like student number and students
6) From Another Class name collection pairs.
ANASAYFA
ANASAYFA
EXTERNAL ID There are three types of bindings used in
It is custom field which can be used as Salesforce as shown below.1) Data Bindings: It
a unique identifier in a record. They are refers to the data set in the controller.
basically just IDs which are mainly
used while importing records/data. So,
when importing records, one among the 2)Action Bindings: It refers to the action methods
in the controller
many fields in those records need to be
marked as an INTERNAL id. The fields
can be marked as external IDs are text, 3) Component Bindings: It refers to some other
number, e-mail, and auto number. Visualforce components.
These fields should be unique each
other in the record.
ANASAYFA
ANASAYFA
SINGLE AND BULK DML
order of execution.
ANASAYFA
ANASAYFA
workflow, process builder and flow comparisons
ANASAYFA
ANASAYFA
How to set property from parent to child What are OOPs? Lightning component framework
component: To communicate down the Object-Oriented Programming is a is a UI framework for developing
hold/containment hierarchy, an owner can methodology or way of designing a
set a property on a child component. An program using classes and objects. It
web apps for mobile and desktop
attribute in HTML turns into a property simplifies software development and devices. It is a modern framework
assignment in JavaScript. maintenance. that for building single page
How to pass data from parent to child Classes, Objects, Encapsulation applications with dynamic,
component: LWC support one way data Polymorphism, Inheritance, Abstraction.
transfer from parent to child. A non-
responsive user interface for
What is Encapsulation in Apex?
primitive value (like an object or array) It sets limits on how much of the data,
lightning platform apps.
passed to a component is read-only. So, the classes and methods can be viewed and
component cannot change the content of modified by the user. Button overriding is overriding
the object or array. As a result, if the What is Inheritance in Apex? the behavior of standard buttons
component tries to change the content, we Inheritance is a mechanism that enables to like new, view, or edit in salesforce
will get errors in console. We can pass create a parent-child relationship between classic, lightning and mobile
primitive data types as most of the one class while providing another class and independently. For example, you
components supports this. to use common methods and properties on can also override the tab home
these classes page that displays when user clicks
How to call controller method a standard, custom, or external
from java script: we need to use object.
action-function. It is used to call a
Exceptions in Apex
controller method from JS. Errors that disrupt the flow when the
code is run. Each exception
contains the error message and the
error type information. The most
LIGHTNING COMPONENTS common types are:
LIGTHTNING WEB COMPONENT VS
Are updated web standard-based framework Are user interface framework that is used to • DML Exception
method for creating lightning components on create applications for desktop and mobile • List Exception
the salesforce platform. technologies on salesforce. • Null Pointer Exception
• Query Exception.
ANASAYFA
ANASAYFA
simple Trigger examples
ANASAYFA
ANASAYFA
DML STATEMENTS.
ANASAYFA
ANASAYFA
ANASAYFA
SLDC (Salesforce Lightning Design System) I’ve created a Lightning Web Component for
for HTML in a website. ……………………………………………………………………………………………….
…………………………….
(https://www.lightningdesignsystem.com/) .
for Component blueprints (we can choose
the buttons or cards, accordions, Alerts,
avatars, checkbox labels, combo box (like
piklist) etc.
Everything is in this website.
We can also choose the platforms from the
same website such as Lightning (LWC and
aura), visual force, Android, iOS etc.
ANASAYFA
ANASAYFA Private: This access modifier is the default and
means that the method or variable is accessible
Trigger vs FLOW: Undelete is not only within the Apex class in which it’s defined. If
available in flow, we always try to you don’t specify an access modifier, the method
complete the task by using or variable is private.
declarative tools like flow. But if it is Protected: This means that the method or
not possible, we use trigger. If you’re variable is visible to any inner classes in the
working on a Flow that feels like it’s defining Apex class, and to the classes that
getting out of hand, consider using a extend the defining Apex class. You can only use
Trigger instead. this access modifier for instance methods and
member variables. This setting is strictly more
permissive than the default (private) setting, just
like Java
Public: This means that the method or variable is
accessible by all Apex within a specific package.
For accessibility by all second-generation (2GP)
managed packages that share a namespace,
Queues and public group: use public with
Salesforce Queues prioritize, the @NamespaceAccessible annotation. Using
distribute, and assign the records the public access modifier in no-namespace
used by teams sharing workloads. packages implicitly renders the Apex code as
Queues act like holding areas in @NamespaceAccessible.
your CRM, where records wait for Global: this means the method or variable can
someone to pick them up, and be used by any Apex code that has access to the
assign the record owner either as class, not just the Apex code in the same
themselves or another user. application. This access modifier must be used for
Queues bring together a group of any method that must be referenced outside of
users. the application, either in SOAP API or by other
Public Group is kind of team or Apex code. If you declare a method or variable
group of related users, this will as global, you must also declare the class that
help to share the data. Queues contains it as global.
are typically used when you
want to assign a record to a
bunch of users. Using Queues
you can assign a record to
multiple users, so that any
member of the queue can work
on the record
ANASAYFA
ANASAYFA
ANASAYFA
ANASAYFA
ANASAYFA
ANASAYFA
ANASAYFA