Download as pdf or txt
Download as pdf or txt
You are on page 1of 37

Sal

esf
orceI
nter
viewQues
tionsandAns
wer
s

1
.WhatdoesSal
esf
orcedo?

Sales
forceprovidesCRMs of
twar
eandcl oud-
basedsol
uti
onst
hathel
penterpr
isest
o
connectbett
erwi ththeircust
omers.I
tsuppor
tsbusi
ness
estomanagethei
rcustomer'
sdat
a
andtracktheiracti
vit
ieseffi
ci
ent
ly.

2.
Whatar
etheSal
esf
orces
ubs
idi
ari
es?

Thef
oll
owi
ngar
ethemaj
ors
ubs
idi
ari
esofSal
esf
orce:

Tabl
eau

Par
dot

Her
oku

Mul
esof
t

Demandwar
eInc

Sal
esf
orceI
Q

3.
Whati
smeantbyanObj
ecti
nSal
esf
orce?

Object
sinSal
esf
orcear
eusedasdat abasetabl
esthatar
eusedtos
tor
einf
ormat
ionofan
or
ganizati
on.
Wehavet wotypesofobject
sinsal
esfor
ce,t
heyar
e.

Standar
dObject:Thesearetheobject
sprovi
dedbythesal
esfor
ce,whichi
ncludecontact
s,
account
s,oppor
tuniti
es,
leads,cas
es,campai
gns,pr
oducts
,contr
acts
,dashboards,
etc.

Custom Obj ect


:Thisi
ncl
udesthemodif
icationsmadet otheSal
esforcebyusers.
Its
toresthe
essentialanduniqueinf
ormati
onofanor ganizati
on.Cust
om Obj
ecti ncl
udespagelayout
s,
rel
ationshiptootherobj
ects
,cust
om userinterf
acetab,cust
om f
ields,et
c.

4.
Whati
smeantbyAppi
nSal
esf
orce?

AnAppinSalesf
orce.
com isacontainert
hathol
dsvari
oust
hingssuchasalogo,name,and
asetofr
equir
edtabs.Itisalsocal
ledagroupoftabst
hatworktoget
hert
opr ovethe
f
uncti
onal
it
ythatyouar elookingf
or.

I
nSales
force,
youcancust
omi
zeappstomatchyourr
equi
rement
s,oryoucanbui
l
dnew
appl
i
cati
onsbycombini
ngcus
tom ands
tandar
dtabs.

Thepr
oces
stocr
eat
eanappi
nSal
esf
orce:

Set
up-
--
>bui
l
d--
->Cr
eat
e--
->App-
--
>Cl
i
ckonnew.
Byf
oll
owi
ngt
hispr
ocedur
e,youcanbui
l
danappl
i
cat
ion.
However
,youwant
.

Fori
n-dept
hunder
standi
ngr
eadourSal
esf
orceTut
ori
albl
og

5.
Whatt
ypeofappswecancr
eat
einSF?

Wecancr
eat
etwot
ypesofAppsi
nSal
esf
orce

Cus
tom app:
Thi
stypeofappscanbeus
edi
never
ybus
ines
sscenar
io.
Iti
swi
del
yus
edi
nthe
market
.

Consoleapp:Thi
stypeofappcanbeus edonl
yint
hecli
ents
ervicebus
iness,
wherewe
focusonsolvi
ngthecl
ient
’si
ssues
.Iti
snotcompar
ati
vel
y,wi
delyusedinthemarket
.

6.
Whati
sSal
esf
orceSt
andar
dFi
elds
?

Bel
owment
ionedar
etheSal
esf
orceSt
andar
dFi
elds

Owner
,

Name,

Las
tmodi
fi
edby,

Cr
eat
edby.

7.
Whatar
eAudi
tFi
elds
?

St
andar
dfi
eldsar
enot
hingbutaudi
tfi
elds
.

8.
Whi
chi
sthel
ates
tfi
eldyouhavewor
kedi
nSF?


Time’
ist
hel
ates
tfi
eldi
nSal
esf
orce.

9.
Whatar
ethedef
aul
tfi
l
ter
sins
ales
for
ce?

Theyar
e“Dat
efi
l
ter
s.”

1
0.Howt
ogetr
idofDat
eFi
l
ter
?

Bys
elect
ingt
he“
All
Time”i
nthe“
Range”ont
hepage.

1
1.Whatar
ethei
ssuesyouf
acedonj
oinedr
epor
ts?

Wecannotexpor
t.

1
2.Whatar
ethet
ypesofr
epor
tst
hatwehavei
nSal
esf
orce?
Ther
ear
efourt
ypesofr
epor
tst
hatar
eavai
l
abl
einSal
esf
orce,
whi
char
easf
oll
ows
.

Thet
abul
arr
epor
tist
hos
ethatgi
veust
het
otal
inat
abul
arf
ormat
.

Mat
ri
xrepor
tthef
ormatwher
egr
oupi
ngi
sdonebas
edoncol
umnsandr
ows
.

Thes
ummar
yrepor
tgi
vesusdet
ail
edr
epor
tsbas
edoncol
umns
.

J
oinedr
epor
tswhi
char
ecapabl
eofal
l
owi
ngt
woormor
erepor
tsi
noner
epor
t.

1
3.Whati
sanAudi
ttr
ail
?

TheAudittr
aili
nSalesf
orceisauni quefeatur
ethathelpsintr
acki
ngthechangesthathave
beenmadei ntheorganizat
ionbyyouandot heradminist
rat
ors.
Itwoul
dbehel pf
ulf
orthe
organi
zati
onwithmor eadmi ni
str
ators.
Thisauditt
rail
showsyout hei
nfor
mationofthe
twentymostrecent
lymadechangesi nyourorganizat
ion.

Bel
owar
ethet
hingst
hatyoucoul
dcomet
oknow:

Thedat
eandt
ime.

Us
ernameofwhomadet
hechanges
.

Whatt
hechangewas
.

1
4.Whatar
ethebenef
it
sofus
ingSal
esf
orceCRM?

Wegett
hef
oll
owi
ngbenef
it
sbyus
ingSal
esf
orceCRM.

I
mpr
ovedor
gani
zat
ional
under
standi
ng.

Enhancedcommuni
cat
ion.

Wecanunder
standt
hecus
tomerbet
terandcanf
aci
l
itat
ebet
ters
ervi
ces
.

Sal
esf
orceaut
omat
est
her
epeat
edr
ule-
bas
edt
asks
.

I
mpr
ovedanal
yti
csanddas
hboar
dst
oanal
yzet
hedat
a.

Reduct
ioni
ncos
tandcycl
eti
me.

I
mpr
ovest
heef
fi
ci
encyoft
eams
.

1
5.Whati
sapr
ofi
l
e?Cant
wous
ershavet
hes
amepr
ofi
l
e?

Theprofi
l
ei sdef
inedasacoll
ect
ionofrul
esandpr ocedur
esapersonneedst ofol
lowto
acces
spar t
icul
arrecor
ds.
Therearemulti
pleprof
il
esavail
abl
einSales
force.Forexampl
e,a
sal
esprofi
lecanhaveaccesstol
eads,opport
unit
ies,cont
act
s,campaigns,etc.
Asfarast
hesecondquest
ionisconsidered,t
heanswerwoul
dbeyes.Thepeopl
ewhowor
k
i
nonedepart
menthavethes amepr ofi
le.Sothepeopl
ewhoworkunderaparti
cul
ar
depart
mentwouldbeass
ignedwi t
ht hes ameprof
il
es.

Aswehaves eeni
nthesalespr
ofi
l
e,manypeopleworkunderi
tandever
ypersonwho
worksunderi
sass
ignedthesameprof
il
e.Henceanynumberofpeopl
ecanhavethes
ame
pr
ofil
e.

1
6.Expl
aint
hedi
ff
erencebet
weenr
oleandpr
ofi
l
e?

Rol
e:I
nSales
forceRol
eismeantt
oincr
eas
et hedatavi
si
bil
it
ytoaparti
cul
arus
er.
Itcanbe
donet
hroughshari
ngrul
esorbybui
ldi
ngarolehi
erar
chy.Usi
ngr
oles
,youcancontr
oltheac

Prof
il
e:Unl
i
ketherolesprofi
l
eismandator
yf oral
l
,andi
tst
aysatt
heobj
ectl
evel
.I
tis
tr
eatedasabuil
dingpil
larofanor
ganizat
ion.

1
7.Howmanyr
elat
ions
hipsdowehavei
nSal
esf
orce?

Wehavet
hreet
ypesofr
elat
ions
hipsi
nSal
esf
orce,
whi
char
e:

Mas
ter
-det
ail
rel
ati
ons
hip

Lookupr
elat
ions
hip

Ext
ernal
Lookup

1
8.Whati
stheMas
ter
-Det
ail
rel
ati
ons
hip?

ThisMaster-
Det ail
relationshi
pisthesameast her el
ati
ons hi
pbetweenapar ent&chil
d.In
thi
saspect,themas teristr
eatedasPar ent,andt heDet aili
sachild.Themas t
erObject
takescontr
ol ofthebehavi oroftheDetailobject.Thes urvi
valofthechil
disdependenton
theparentbecaus eift heMas t
ergetsdeletedt heDetai l
willal
soautomat i
cal
lygetdelet
ed.
Youcancr eateRol l
-ups ummar yfi
eldsi
nmas terrecordswhi chhelpsincal
culati
ngtheMin,
Avg,Sum oft hechildrecords.

1
9.Whati
sa“
LookupRel
ati
ons
hip”
?

Therelat
ionshi
pbetweenthetwoobject
siscall
edalookupr
elat
ions
hip.
Lookup
rel
ati
onshipsconnectt
woobjectl
i
nkstogethersot
hatyoucanlookupfrom r
elat
edi
temst
o
otheri
tems .
Itcanbeone-
to-
oneoronet omany.

20.
Whati
sanExt
ernal
lookup?

Theexternall
ookupr el
ati
onshipisusedtoconnectthechil
dobj ecttothepar
entobject
.The
chi
ldobjectmaybeei t
heracustom, st
andard,orext
ernalobject.I
tusestoi
denti
fyt
he
corr
ectmapoft hechil
dobjectwiththeparentexter
nalobject.Theexter
nall
ookup
rel
ati
onshipvaluesfi
eldsaremat chedagai
ns tt
heExternalIdvalues.
21
.Whati
sas
elf
-rel
ati
ons
hip?

I
tisapersonall
ookuptothesameobject.
Thes el
f-
rel
ati
onshipcreatesat
reediagram oft
he
obj
ects.
Let'
stakeanexampleasanobject“merchandi
se”.I
nthis
, wecancreat
er el
ati
onshi
p
merchandis
ebetweentwoaccount
s.Thisiscal
l
edas elf
-rel
ati
onship.

22.
Whati
sthewor
kfl
owi
nSal
esf
orce?

Workfl
owisanexcell
entwaytoaut omatespeci
fi
cbusinessprocess
esi
nSal
esf
orce.
Todo
t
his
,youarerequi
redtodef
inecertainr
ulesandregul
ationst
oaut omat
etas
kssuchas
s
endinganemail,
updati
ngaf i
eld,
createatask

Wecanhaveacces
stowor
kfl
owacr
osst
heobj
ect
.

I
tisnotpos
sibl
etoquer
yfr
om t
hedat
abas
e.

23.
Whati
smeantby“
Trans
ferr
ecor
d”i
npr
ofi
l
e?

Transf
errecor
disatypeoff
unct
ionus
edtograntpermis
sion.I
fauserhasper
missi
onto
sharearecordwit
hother
s,t
henhecanshar
etherecordsthathaveread-
onl
yaccess.

24.
Expl
aint
heSal
esf
orcedas
hboar
d?

I
nSales
for
ceweus edashboardstor
epres
entthedat
ainapi
ctor
ial
for
mat
.Sal
esf
orce
das
hboardiscapabl
eofdi
splayi
ng20report
satati
me.

25.
Whati
sSOAP?

Aprot
ocol
thatdefi
nesaunifor
m wayofpas
singXML-
encodeddat
a.SOAPSt
andsf
or
Si
mpleObj
ectAccessPr
otocol.

26.
Whati
saTi
meTr
igger
?

Thecomputersyst
em execut
esoneormor
etas
ksaccor
dingt
othes
etofr
ulesand
schedul
edt
as ks
.

27.
Whati
sTr
iggeri
nSal
esf
orce?

Thetr
iggerisdefinedasanApexcodet hatexecut
esbef
oreoraft
ert
hefollowi
ngfunct
ions
suchasinsert,
update,del
ete,etc.
tri
ggerenabl
estoper
for
m cus
tom act
ionsbefor
eand
aft
ermodificati
onstotherecordsofSal
esfor
ce.

Formor
edet
ail
svi
si
t-Tr
iggerScenar
iosi
nSal
esf
orce

28.
Whatar
etheact
ionsi
nthewor
kfl
ow?

Bel
owment
ionedar
etheact
ionsi
nthewor
kfl
ow
Fi
eldupdat
e

Tas
k

Out
boundmes
sage

Emai
lal
ert

29.
Whatar
ethemai
nthi
ngst
hatneedt
ocons
ideri
nthe“
Mas
ter
-Det
ail
Rel
ati
ons
hip”
?

Recordlevelacces
sisdeter
minedbyt
hepar
ent
,Mandat oryonthechil
dforr
eferenceoft
he
parent,
cas cadedel
ete(i
fyoudel
etet
hepar
ent
,itcancascadedelet
ethechil
d).

30.
Howmanyr
ecor
dscanbes
howni
nmat
ri
x,t
abul
ar&s
ummar
yrepor
ts?

Wecancr
eat
eupt
o2kr
ecor
dsi
nMat
ri
x,Tabul
ar&Summar
yRepor
ts.

31
.Ist
heRol
l
-UpSummar
yfi
eldi
sonl
ypos
sibl
eint
heMas
ter
-det
ail
rel
ati
ons
hip?

Yes
,iti
spos
sibl
einamas
ter
-det
ail
rel
ati
ons
hip.

32.
HowmanyMas
ter
-det
ail
rel
ati
ons
hipf
iel
dscanbecr
eat
edi
nanobj
ect
?

Maxi
mum t
woMDRf
iel
dscanbecr
eat
edi
nanobj
ect
.

33.
HowmanyLR(
lookupr
elat
ions
hip)f
iel
dscanbecr
eat
edi
nanobj
ect
?

Maxi
mum 40Lookupr
elat
ions
hipf
iel
dscanbecr
eat
edi
nanobj
ect
.

34.
Ifwedel
etepar
entr
ecor
dsi
nMDR,
whathappenst
othechi
l
d?

I
fyoudel
etet
hepar
entr
ecor
dint
heMDR,
thechi
l
drecor
dal
soget
sdel
etedi
nMDR.

35.
Whataboutt
heundel
eteopt
ion?

I
twi
l
lres
tor
ether
ecor
dwi
tht
hedat
aint
heobj
ect
.

36.
HowmanyRol
l
-UpSummar
yfi
eldscanbecr
eat
edi
nanObj
ect
?

Upt o40canbecreated.(
befor
e2010i
tis1
0af
ter201
6iti
supt
o40andi
twi
l
lchange
accordi
ngl
ytosal
esforceupdat
es)
.

37.
Ifwer
epar
enti
ntheobj
ectwi
l
lthepar
entupdat
e?

Yes
,thepar
entwi
l
lupdat
etheobj
ect
.

38.
Howwecancr
eat
eanMDRont
hos
eobj
ect
swher
eweal
readyhaver
ecor
ds?

Fi
rst
,wecr
eat
eLRbet
weent
het
woobj
ect
s.
Connectal
lchi
l
drecor
dst
opar
ent
s.

Conver
tthef
iel
dtypef
rom LRt
oMDR.

39.
Howt
olookatt
heus
erl
i
cens
einf
ormat
ioni
nSal
esf
orceOr
g?

St
epst
ofi
ndoutt
heus
erl
i
cens
e:

Sal
esf
orceOr
g→ Set
up→ Admi
nis
ter→ CompanyPr
ofi
l
e→ CompanyI
nfor
mat
ion.

40.
Canwedel
eteaus
eri
nSal
esf
orce?

No,
wecannotdel
etet
heus
eri
nthes
ales
for
ce.

41
.Canwechanget
hel
i
cens
ewhenwecr
eat
eapr
ofi
l
e?

No,
wecannotchanget
hel
i
cens
ewhenwear
ecr
eat
ingt
hepr
ofi
l
e.

42.
Expl
ainaboutobj
ectr
elat
ions
hipover
view?

I
tcreat
esalinkbetweenthecustom objectandt
hes
tandar
dobj
ectr
ecor
dedi
nar
elat
edl
i
st.
Thi
sishel
pfult
ofindtheproduct
'sdefects.

43.
Howt
ocr
eat
emanyt
omanyr
elat
ions
hipsi
nSal
esf
orce?

I
thel
psincreati
ngamany- to-manyrel
ati
ons
hipbetweentwoobject
sinSal
esfor
ce.Usi
ng
many-
to-manyrelat
ionshipsyoucanconnecteachrecordofanobj
ecttobel
inkedwith
mul
ti
plerecor
dsofot herobjectsandvi
ceversa.
Thejuncti
onobj
ecthel
psusinconnect
ing
t
hetwos el
ectedobj
ect switheachother.

s
ales
for
cemanyt
omany

44.
Whatar
etheper
mis
sions
ets
?

APermis
sionsseti
sacol l
ecti
onofs ett
ingsorpermi
ssionsandisusedtoext endtheuser
f
unct
ionalaccesswithoutchangingact ual
prof
il
es.
Youcanus epermiss
ions et
stovarious
t
ypesofus er
stoextendthef unct
ionali
tyacces
sregardlessoft
heirr
oles.I
tisti
met aki
ng
t
asktocreateaprofil
e;i
nsteadoft hi
s,youcoul
deas i
l
ycr eateapermiss
ions et
.

45.
Whati
sshar
ingr
ule?

I
fwewantt
ogi
veacces
stoot
herus
ersweus
eshar
ingr
ules
.

46.
Whatar
ethedef
aul
tindexedf
iel
dsi
nSal
esf
orce?

Wehaves
omef
iel
dswhi
char
eindexedbydef
aul
tinSal
esf
orce,
whi
char
e

Name
I
D

Ownerf
iel
ds

Mas
ter
-det
ail
rel
ati
ons
hipf
iel
ds

Lookupf
iel
ds

Las
tmodi
fi
eddat
es

Audi
tdat
es

47.
Whati
stheFi
scal
yeari
nSal
esf
orce?

TheFi
scal
yeari
sknownast hestar
ti
ngandendi
ngdat
eofacompanyf
inanci
alyear
.We
havet
wotypesoff
inanci
alyear
sinSales
for
cewhi
char
easfol
l
ows.

St
andar
dfi
scal
year

Cus
tom f
iscal
year

s
ales
for
cewor
kfl
ow

48.
Lis
tsomeexampl
esofcus
tom f
iel
ds?

Therearemanycus tom fi
eldsavail
abletheyarePickl
i
st,
Curr
ency,Dat
e,Text,
Pickl
i
st(
mul
ti
-
sel
ect)
,Email
,Percent,Number ,Phone,Textar
ea,Lookuprel
ati
ons
hip,
Geolocati
on,
Checkbox,
Mas t
er-Detail
relati
onship,et
c..

49.
Whatar
ethedi
ff
erentwayst
ost
orevar
ioust
ypesofr
ecor
dsi
nSal
esf
orce?

Wehavefi
vedif
fer
entwaysi
nSal
esf
orcet
ost
orevar
ioust
ypesofr
ecor
dss
uchasi
mages
,
f
il
es,
anddocuments.

Theyar
e

At
tachment
s

Googl
edr
ive

Chat
terFi
l
es

Li
brar
ies

At
tachment
s.

50.
Whati
sthemai
ndi
ff
erencebet
weendat
atabl
evspagebl
ockt
abl
etags
?

Thedi
ff
erencesbet
weent
heDat
atabl
eandPagebl
ock
Pagebl
ock:

I
tdef
inesi
nsi
det
hepagebl
ocks
tat
ionorpagebl
ock

Todes
ignt
hevi
sual
pagesus
ess
tyl
esheet
s

Ther
equi
redat
tri
but
eis“
val
ue”

Aut
omat
ical
l
yitwi
l
ldi
spl
ayCol
umnHeader
s

Dat
aTabl
e:

Noneedt
oment
ioni
nsi
det
hepagebl
ocks
tat
ionorpagebl
ock

Nor
equi
redval
ue.

Thedat
awi
l
lbedi
spl
ayedus
ingcus
tom s
tyl
esheet
s.

weneedt
ospeci
fycol
umnheader
sexpl
i
cit
ly.

51
.Whatcancaus
edat
alos
sinSal
esf
orce?

Ther
ear
emanyt
hingst
hatcancont
ri
but
etot
hedat
alos
sinSal
esf
orce.
Whi
chi
ncl
udes:

Mi
grat
ingt
onumber
,percent
,andmoney,
from ot
herdat
atypes
.

Whenyouchanget
hedat
eandt
ime

Mi
grat
ingt
omul
ti
-sel
ectpi
ckl
i
stf
rom anyot
hert
ypebutexceptpi
ckl
i
st.

Movi
ngf
rom Checkbox,
aut
onumber
,mul
ti
-sel
ectpi
ckl
i
stt
oanyot
hert
ypes
.

Changi
ngt
extar
eat
ophone,
URL,
emai
l
,ort
ext
.

52.
Whati
sthej
unct
ionobj
ectandwhati
situs
edf
or?

Junct
ionobj
ectsaremainl
yusedtocr
eateamany-to-
manyrel
ati
onshipi
nSalesf
orce.I
fyou
consi
derarecr
uit
ingappli
cat
ionasanexample,
youcanf
indapositi
onthati
sli
nkedto
manycandidates
,andinthesamefashi
on,acandi
dat
ecanapplyformanyposit
ions.

53.
HowdoesSal
esf
orcet
racks
alesdet
ail
s?

Sal
esf
orcegi
vest
heaccur
ater
esul
tsoff
oll
owi
ngt
hingss
uchas

Numberofcus
tomer
sser
vedonadai
l
ybas
is

Regul
ars
alesnumber
s

Compl
eter
epor
tsf
rom t
heSal
esManager
.
Gener
atess
alesr
epor
tsonat
imel
ybas
is

I
tpr
ovi
dest
hedet
ail
sofr
epeatcus
tomeract
ivi
ty.

54.
Isi
tpos
sibl
etor
est
ri
ctacces
stodat
aus
ings
har
ingr
ules
?

Thes
har
ingr
ulesar
eus
edonl
yforal
l
owi
nggr
eat
eracces
stor
ecor
dsnotf
orr
est
ri
cti
ng.

55.
Canwes
chedul
eadynami
cdas
hboar
dinSal
esf
orce?

No,
wecannotdot
hati
nSal
esf
orce.

56.
Howmanywayswecans
har
ear
ecor
d?

Rol
eHi
erar
chy:

I
fweaddaus
ert
oar
ole,
theus
erwhoi
sabovei
nther
olehi
erar
chywi
l
lhaver
eadacces
s.

Setup→ manageus
ers→ r
oles→ s
etupr
oles→ cl
i
ckon‘
addr
ole’
→ pr
ovi
denameand
save.

OWD:

Def
inest
hebas
eli
nes
ett
ingf
ort
heor
gani
zat
ion.

Def
inest
hel
evel
ofacces
stot
heus
ercans
eet
heot
herus
er’
srecor
d

OWDcanbePr
ivat
e,Publ
i
cReadOnl
y,Publ
i
cReadandWr
it
e.

Set
up→ Secur
it
yCont
rol
s→ s
har
ings
ett
ings→ Cl
i
ckon‘
Edi
t’

Manual
Shar
ing:

Manual
Shar
ingi
sshar
ingas
ingl
erecor
dtoas
ingl
eus
erorgr
oupofus
ers
.

Wecanseethi
sbutt
ondet
ail
pageoft
her
ecor
dandt
hisi
svi
si
bleonl
ywhent
heOWD
s
ett
ingi
spri
vate.

57.
Whati
sthedi
ff
erencebet
weeni
nser
t()anddat
abas
e.i
nser
t()
?

Usingtheinser
tmethodwecani nsertt
her ecor
dsbuti
fanyer r
oroccursi
nanyr ecor
d
system wi
llt
hrowaner rori
nsert
ionfail
andnoneoft herecor
dsareinsert
ed.Ifwewantt
o
executeparti
all
ythesuccessofbulkinser
toperati
onwewi l
lusedatabase.i
nsert
.

58.Doestheusercancr
eat
eins
ertt
hei
rowncus
tom l
ogowhi
l
ecr
eat
ingt
hei
rowncus
tom
appli
cat
ions?

Yes,user
scanuploadt
hei
rcus
tom l
ogoi
ndocument
s,andt
hent
heychoos
ethatl
ogof
or
theorgani
zat
ion.
59.
Lis
tthi
ngst
hatcanbecus
tomi
zedon-
page?

Wecancustomi
zedi
ff
erentt
hingsonpagelayout
sli
keFi
elds
,But
tons
,Cus
tom Li
nks
,and
Rel
atedLi
sts
.Wecanals
ocreatesect
ions
.

60.
Canwecr
eat
eaRol
l
-UpSummar
y(RUS)f
iel
dont
hemas
terobj
ect
?

Yes
.wecancr
eat
eaRol
l
-UpSummar
yfi
eldont
hemas
terobj
ect
.

61
.Canthegovernorl
imi
tper
for
m part
ial
DMLact i
vit
y?Eg:wear
einsert
ing200recor
dsina
l
oop,t
heGovernorli
miti
shi
tatthe1
51strecor
d,t
henwill
thos
e150recordsbecr
eated?

Noei
theral
lornone.

62.
Whati
sApexI
nter
face?

Theint
erf
aceisacol
l
ecti
onofuni
mplement
edmethods
.Thi
swil
lspeci
fythesi
gnat
ureofthe
method,t
ypesofi
nputst
hatwepassthemethods
peci
fywhatt
ypeisgivenasanoutput
.

Not
e:Gener
all
ythei
nter
facemet
hodswegi
vei
tasgl
obal
.

63.
Wher
ecanI
useApex?

Wecanus
eApexi
nthef
oll
owi
ngways

Tocr
eat
eEmai
lser
vices

Cr
eat
ewebs
ervi
ces

Per
for
m compl
exval
i
dat
ionovermul
ti
pleobj
ect
s

Tocr
eat
ecompl
exbus
ines
spr
oces
sest
hatar
enots
uppor
tedbyawor
kfl
ow.

Cr
eat
ecus
tom t
rans
act
ionl
ogi
c

At
tachcus
tom l
ogi
ctoanot
heroper
ati
on

64.
HowDoesApexWor
k?

Al
lApexpr
ogr
amsr
unent
ir
elyOn-
Demandont
heFor
ce.
com Pl
atf
orm.

Fir
st,t
hepl
atf
orm appl
icat
ionser
vercompil
esthecodeintoanabs
tracts
etofi
nst
ruct
ions
thatcanbeunder
stoodbyt heApexrunt
imeint
erpr
eter
s .

Thecompi
l
edcodei
sst
oredi
nmet
adat
a.

Whent
heend-
user
str
igger
stheexecut
ionofApexbycl
i
cki
ngabut
tonort
heVi
sual
For
ce
pagetheappli
cati
onserver
sr et
ri
evethecompil
edinst
ruct
ionsf
rom t
hemet
adat
aands
end
them t
otherunti
meinterpr
eterbefor
eret
urni
ngt her
esult
.

65.
Whati
sApexi
nSal
esf
orce?

Apexi
sas
trongl
ytypedobj
ect
-or
ient
edpr
ogr
ammi
ngl
anguage.

I
tal
l
owst
hedevel
opert
oexecut
efl
owsandt
rans
act
ioncont
rol
stat
ement
s.

Apexenabl
esdevel
operst
oaddbusi
nessl
ogi
ctomos
tsys
tem event
sli
kebut
toncl
i
cks
rel
atedt
orecor
dupdatesandVi
sual
For
cepages.

66.
Whatar
ethewayst
ocal
ltheApexcl
ass
?

Bel
owment
ionedar
ethewaysi
nSal
esf
orcet
ocal
lApexcl
ass
.

Fr
om anot
hercl
ass

Fr
om devel
opercons
ole

Fr
om J
avaScr
iptl
i
nks

Fr
om homepagecomponent
s

Byus
ingt
ri
gger

Fr
om Vi
sual
For
cepage

67.
Expl
ainvar
iousmet
hodsofbat
chApexcl
ass
?

Thebat
chapexcl
assdepl
oyst
hedat
abas
ebat
chabl
eint
erf
acewi
tht
het
hreemet
hodsas
fol
l
ows:

St
art

Fi
nis
h

Execut
e

Start
:Weus ethestartmet hodatthebeginni
ngofthebatchapexjob.Weus eitfor
coll
ecti
ngtheobjectsorrecords
,forpass
ingthem tothei
nter
faceforexecut
ing.I
tretur
nsa
DatabaseQueryLocatorobjectt
hatcomprisesobj
ectsort
herecordssenttothejob.

Fi
nis
h:Wecallthi
smethodoncewefini
shthebat
chproces
sing.Weus
ethi
smet
hodt
osend
conf
irmat
ionemail
sortoexecut
ethepost
-pr
ocess
ingoper
ations
.

Execut
e:Weusethi
smethodforeverybat
choft
herecordsthatares
entt
othemet
hod.
We
usethi
smethodf
ordat
apr oces
sing.
Thismet
hoddoesthefoll
owing:
s
Obj
ect
srecor
dsl
i
st

Ref
erencet
otheDat
abas
eBat
cheabl
econt
ext
.

68.
Whati
sApexEmai
lSer
vice?

Email
servi
cesareanautomatedproces
sthatus
esApexcl
ass
est
opr
oces
sthecont
ent
s,
Headers
,Attachment
sofInboundEmail
.

Not
e:

Vi
sual
for
ceemai
ltempl
atescannotbeus
edf
ormas
semai
l
s.

Wecanass
oci
ateeachemails
ervi
cewi
thoneormoresal
esf
orce-
gener
atedemai
l
addr
ess
est
owhichtheuser
scansendmessagesf
orpr
ocess
ing.

69.
Expl
ainaboutApexPr
ogr
ammi
ngLanguage?

I
ntegr
ated:I
tpr
ovi
desbui
l
t-i
nsuppor
tforDMLCal
l
s

I
nli
neSal
esf
orceObj
ectQuer
yLanguage

Eas
ytoUs
e

Eas
ytoTes
t

Ver
sion

Mul
ti
-TenantAwar
eAppl
i
cat
ion

[
Rel
atedPage:Sal
esFor
ceI
ntegr
ati
on]

70.
Whati
sMapCl
assi
nApexSal
esf
orce?

MapCl
assi
nApex
:

MapCl
assCont
ainsmet
hodsf
ort
heMapcol
l
ect
iont
ype.

AMapi
sacol
l
ect
ionofkey-
val
uepai
rswher
eeachuni
quekeymapt
oas
ingl
eval
ue.

Mapkeysandvaluescanbeanydat
atypepr
imi
ti
vet
ypes
,col
l
ect
ions
,obj
ect
s,us
er-
def
ined
t
ypes
,andbuil
t-
inApextypes
.

ForExampl
e,t
hef
oll
owi
ngt
abl
erepr
esent
samapofcount
ri
esandcur
renci
es

Count
ry(
Key)‘
Uni
tedSt
ates‘
Japan’ Fr
ance’ ‘
Engl
and’ ‘
I
ndi
a’

Cur
rency(
Val
ue) ‘
Dol
l
ar’
Yen’ ‘
Eur
o’‘
Pound’ ‘
Rupee’

71
.Whati
sBat
chApexi
nSal
esf
orce?
Bat
chApex:Bat
chApexal
lowsyoutodefi
neasingl
ejobthatcanbebrokenupi
nto
manageabl
echunks
,wher
easeverychunkcanbeproces
seds epar
atel
y.

I
nt heBatchApexitwil
lfet
challt
her ecor
dsonwhichyouwanttoper
formthef
iel
dupdat
e
anddivi
det hem i
ntoali
stof200recordsandonevery200r
ecor
dsoperati
oni
sperfor
med
separat
ely.

Thi
swouldhelpustoexecuteonmor ethan10,000recordsasi
twon’tper
for
m anoperat
ion
onall
therecor
dsinasingl
etransacti
onins
teadi tdi
vidi
ngthem i
ntoaNumberofsubt
asks
whereeachsubtas
kmaycont ainrecor
dsupt o4000.

Exampl
e:

I
fyouneedt
omakeaf i
eldupdateofever
yrecor
dofaccountobj
ecti
nyourorganizat
ion,
t
henwehavegover
ningli
mitst
hatwouldrest
ri
ctusf
rom achi
evi
ngtheabovetask.

Reason:I
nas
ingl
etr
ansact
ionwecanprocessonly10,
000recor
ds.
Nowintheabovecasei
f
wehavemorethan10,
000recor
dsi
ntheorganizati
onthenwecannotper
for
mthisfi
eld
update.

Wantt
oenhanceyours
kil
l
sindeal
i
ngwi
tht
hewor
ld'
sbes
tCRM,
enr
oll
inourSal
esf
orce
Admi
nTrai
ning

Sal
esf
orceApexI
nter
medi
ateI
nter
viewQues
tions

72.
Whati
sApexSchedul
er?

I
twi
l
linvoket
heApexcl
ass
est
orunatas
peci
fi
cti
me.

Anybodywhowant
stos
chedul
ethei
rcl
asst
heyhavet
oimpl
ementt
hes
chedul
abl
e
i
nter
face.

Schedul
eInterf
ace:Theclas
sthati
mplementst
hisint
erfacecanbes
chedul
edt
orunat
dif
fer
enti
ntervals
.Thisi
nter
facehass
everal
met hodsthatare

Publ
i
cvoi
dexecut
e(s
chedul
abl
econt
exts
c)

Publ
i
ccl
assmySchedul
eimpl
ement
sschedul
abl
e

Publ
i
cvoi
dexecut
e(s
chedul
abl
econt
exts
c)

Accounta=newAccount
(Name=‘
Far
az’
)

I
nser
ta;
}

73.
Whati
stheApexTr
iggeri
nSal
esf
orce?

Thet
riggeri
sanApexCodet
hatexecut
esbef
oreoraf
ter
.Thef
oll
owi
ngt
ypesofDML
Oper
at i
ons:

I
nser
t

Updat
e

Del
ete

Mer
ge

Ups
ert

Undel
ete

74.
Whati
smeantbyApext
rans
act
ion?

AnApext ransacti
onrepresent
sagr oupofoperat
ionsthatareneededt obeexecutedat
once.Iti
ncludestheDataMani pul
ationLanguage(DML)andi sresponsi
bleforqueryi
ng
recor
ds.TheDMLoper at
ionsinatransact
ionei
thersuccessorifanythi
nggoeswr ongor
occursevenwi t
has i
nglerecordcouldres
ulti
nar ol
lbackoftheentir
etransacti
on.

75.
Whatar
eTheTypesofApexTr
igger
sinSal
esf
orce?

Tr
igger
sar
edi
videdi
nto2t
ypes

Bef
oreTr
igger
s

Af
terTr
igger
s

Befor
eTri
gger
s:Befor
eTr
igger
scanbeus
edt
oupdat
eorval
i
dat
eval
uesofar
ecor
dbef
ore
theyares
avedtothedat
abase.

AfterTri
ggers:Af
terTr
iggersBef
oreTri
gger
scanbeusedtoacces
sfi
eldval
uesofthe
recordsthatarest
oredinthedatabas
eandusethi
svaluet
omakechangesinotherrecor
ds.

Synt
ax:

Tri
ggert
ri
gger
_nameonObject
_Name(tr
igger
_event
s){Code_
block}WHEREt
ri
gger
_event
s
canbecommas epar
atedl
i
stofevent
s.

76.
Whati
sApexManagedShar
ing?
ApexManagedShari
ngpr
ovi
desdevel
oper
swi
tht
heabi
l
ityt
osuppor
tanappl
i
cat
iont
o
shar
erequi
rement
s.

Thistypeofs
har i
ngisavai
l
ableonlywi
thuserst
omodi
fyal
ldat
aper
mis
sions
.Onl
ythes
e
userscanadd/changeapex-managedshar
ing.

ApexManagedShar
ingus
esaShar
ingr
eas
on(
ApexShar
ingReas
on)

Mul
tiTenantAr
chi
tect
ure

77.
Whati
stheUs
ageoft
heapexpr
ogr
am wi
thi
ntheVi
sual
For
cepage?

Whenyouwantt
ocal
ltheapexcl
assont
heVi
sual
For
cepagewehavet
odecl
arei
nthe
f
oll
owi
ngfor
mat.

<Apex:pagecont
rol
l
er=“
clas
sname“>

WheneverwecallaVi
s ual
Forcepageinwhicht
hecontrol
l
erat
tri
but
eisdef
inedi
twil
lfi
rst
cr
eat
eanobj ectf
ort
heapexcl asswhichi
sdefi
nedint
hecontr
oll
er.
Whenanobjecti
s
cr
eat
edf ort
heapexclassfi
rsti
tinvol
vest
heconst
ruct
or.

78.
Whati
sSandboxi
nSal
esf
orce?

ASandboxisdef
inedasatesti
ngenvi
ronmentthati
susedtot
estthecodeortoconduct
exper
iment
sinanisol
atedenvi
ronmentwit
houtharmingt
heproduct
ionenvi
ronment.

79.
Whendoweus
eSandbox?

ASandboxhel psyouwhenyouwantt otestthenewl ydevel


opedappli
cati
ononforce.com
orVisualForcepage.Iti
snotpos si
bletochecksomet hingi
ntheproducti
onenvi
ronmenti fdo,
soitcreatesapr obl
em fort
her egularf
unctioni
ng.So, t
ogetoutofthi
sprobl
em developers
useSandboxt otestt
heapplicati
on.

Typesofs
andboxesavai
l
abl
ear
e:

Devel
oper

Devel
operpr
o

Par
ti
alcopy

Ful
l

Sal
esf
orceApexAdvancedI
nter
viewQues
tions

80.
Whati
sMul
ti
tenantAr
chi
tect
urei
nSal
esf
orce?

I
tist
hecl
oud'
sfundament
alt
echnol
ogyt
oshar
eITr
esour
cess
ecur
elyandcos
t-ef
fi
ci
ent
ly.
81
.Whatar
est
ati
cres
our
ces
?

Ans:Stat
icresour
cesall
owyout oaddthecont
entthatyouwanttorefer
encei
tonthe
Vi
sualForcepage,whichincl
udesthingsl
i
keimages,Javas
cri
pt,
archi
ves,CSSf
il
es,
etc.
The
maximum s i
zeofastati
cr es
ourceofanorgani
zat
ionis250MB.

82.
Lis
tthedat
atypest
hataSetcans
tor
e

TheSet
scans
tor
eanyoft
hef
oll
owi
ngdat
atypes

Col
l
ect
ions

Us
er-
def
inedt
ypes

s
ubj
ect
s

Pr
imi
ti
vet
ypes

Bui
l
t-i
nApext
ypes

83.
Whati
saVi
sual
for
cecomponent
?

Vi
sualf
orcecomponentsaresmall
reusabl
ecomponentsoffuncti
onalit
ysuchaswi
dget
s ,
us
erinterf
aceelements
,panel
s,et
c.Wehavet wotypesofVisualFor
cecomponent
swhich
ar
estandar dandcust
om andareusedtodefi
netheuseri
nterfacebehavior
.

84.
Whati
sSOQL?

Aquerylanguagethatall
owsyoutoconst
ructsi
mplebutpowerful
queryst
ringsandto
speci
fyt
hecriter
iathats
houldbeusedtosel
ectthedat
afrom t
heplat
form databas
e.SOQL
Standsf
orSalesf
orceObjectQuer
yLanguage.

85.
Whati
stheBul
ki
fi
cat
ionbes
tpr
act
ice?

Wemustavoi
dusingi
ndexvaluesl
i
keTr
igger
.New[
0]asweneverknowhowmanyr
ecor
ds
wegeti
nTri
gger
.Newatrunti
me.

Weneedt
ous
eitf
oreachl
oopwhet
herwehave1r
ecor
dormany.

Wemus
tnotus
eSOQLi
nsi
def
orl
oop.

Wemus
tnotus
eSOSLi
nsi
def
orl
oop.

Wemus
tnotus
eDMLi
nsi
def
orl
oop.

Weneedtos
tor
edat
aincol
l
ect
ions
,soourcodewi
l
lwor
kfors
ingl
easwel
lasmul
ti
ple
r
ecor
ds.
Sal
esf
orceApexTechni
cal
Int
ervi
ewQues
tions

86.
dat
abas
e.i
nser
t(Li
stFor
Bul
kDML,
True)meanswhat
?

I
nser
tLi
stFor
Bul
kDML;

87.
Howcanweper
for
m DMLpar
ti
all
y?

I
fwewantpar
ti
all
ytohappen,
useadat
abas
e.i
nser
t(l
i
st,
fal
se)
;

88.
WhatAr
eTheTypesofSOQLSt
atement
sinSal
esFor
ce?

Sal
esf
orceObj
ectQuer
yLanguagei
sus
edt
oquer
ythatr
ecor
dsf
rom t
hedat
abas
e.com
bas
edont her
equi
rement
.

Ther
ear
e2t
ypesofSOQLSt
atement
s:

St
ati
cSOQL

Dynami
cSOQL

St
ati
cSOQL:

TheSt
ati
cSOQLSt
atementi
swr
it
teni
n[](
Arr
ayBr
acket
s)

Thes
est
atement
sar
esi
mil
art
oII
NQ(
IonI
ntegr
atedQuer
y)

Exampl
e:

St
ri
ngs
ear
chf
or=’
Jones
’;

Cont
act
[]contact
s=[
sel
ectt
est
fi
eld_
_c,
Fir
stName,
Las
tNamef
rom Cont
actWher
eLas
t
Name=:
searchfor
];

Dynami
cSOQL:

I
tisus
edt
oref
ert
othecr
eat
ionofaSOQLs
tri
ngatr
unt
imewi
thApexcode.

Dynami
cSOQLenabl
esyout
ocr
eat
eamor
efl
exi
bleappl
i
cat
ion.

Tocreat
eaDynami
cSOQLquer
yatr
unt
imeus
eaDat
abas
e.Quer
y()met
hod,
inoneoft
he
fol
l
owingways
.

Ret
urnas
ingl
esObj
ect
swhent
hequer
yret
urnsas
ingl
erecor
d.

s
Obj
ect
ss=Dat
abas
e.Quer
y(St
ri
ng_
li
mit
_l
);

Ret
urnal
i
stofs
Obj
ect
swhent
hequer
yret
urnsmor
ethanas
ingl
erecor
d.

Exampl
e1:
-Quer
ies
St
ri
ngmyTes
tSt
ri
ng=‘
Tes
tName’
;

Li
stLi
st=Database.
Quer
y(SELECTI
dFROMMyCus
tomObj
ect
__
cWHEREName=
:myTestSt
ri
ng);

Exampl
e2:
-Quer
ies

St
ri
ngr
esol
vedf
iel
dL=myvar
iabl
e.f
iel
d__
c;

Li
stL=Databas e.
Quer
y(‘
SELECTI
dFROMmyCus
tomObj
ect
__
cWHEREf
iel
d__
c=

+res
olvedf
iel
d_L);

89.
Whati
stheSynt
axofSOQLSt
atement
?

Synt
ax-

SELECTf
iel
d1,
fiel
d2,
.
..
.FROMObj
ect
_Type[
WHEREcondi
ti
on]

Exampl
e:-
Quer
ies

Li
staccount
Lis
t=[
SELECTI
D,Name,
FROMAccount
];

Li
staccount
Lis
t=[
SELECTI
D,Name,
FROMAccountWHEREannual
revenue<1
0000]
;

90.
Expl
ainbr
ief
lyaboutGROUPBYwi
tht
hes
ynt
ax?

WithAPI vers
ion18.0andl at
er/
youcanusegroupbywi t
haggr
egat
efuncti
ons,suchas
sum()ormax()tosummar izethedataandenableyoutorol
l
upquer
yresul
tsrat
herthan
havi
ngt oprocesstheindi
vidualr
ecordsi
nyourcode.

Synt
ax:[GROUPBYf
iel
dGROUPBYLI
ST]

91
.SOSLSt
atement
sInSal
esf
orceApex?

SOSLs t
atementeval uatestheli
stofsObjects
, whereeachlistcontai
nst
hesearchresult
sfor
aparti
cularsobjecttype,Theresul
tli
stsarealwaysr et
urnedint hesameor
derast heywere
speci
fi
edint hequery.I
faSOSLquer ydoesnotr et
urnanyr ecordsforas
peci
fi
eds Object
type,
thes earchresult
sincl
udeanempt yli
stforthatsObject.

Example:Youcanr
etur
nal
i
stofaccount
s,cont
act
s,oppor
tuni
ti
es,
andl
eadst
hatbegi
nwi
th
thephasemap.

Li
st<li
st<subject>>sear
chli
st=[f
ind'
map*'
InALLFI
ELDSRETURNI
NGAccount(
ID,
Name)
,
cont
act,oppor
tunit
y,l
ead];

Not
e:

Thes
ynt
axoft
hecl
assonApexdi
ff
ersf
rom t
hes
ynt
axoft
heFI
NDcl
aus
eint
heSOAPAPI
.
I
nApex,
theval
ueoft
heFI
NDcaus
eisdemar
cat
edwi
ths
ingl
equot
es.

Exampl
e:1

FIND'map*'I
NALLFI ELDSRETURNI
NGaccount(
Id,
Name],
Contact,
Opportuni
ty,
Lead.
In
theForce.
com API
,thevalueoft
heFI
NDClausei
sdemar
catedwithbraces
.

FI
ND{
map*}I
NALLFI
ELDSRETURNI
NGaccount[
Id,
name]
,cont
act,
oppor
tuni
ty,
l
ead;

Fr
om s
ear
chl
i
st,
youcancr
eat
ear
raysf
oreachobj
ectr
etur
ned.

Account[]account
s=(
(li
st<account
s>)s
ear
chl
i
st[
0])
;

Cont
act[]cont
act
s=[
(li
st)s
ear
chl
i
st[
0]);

Oppor
tuni
ty[]oppor
tuni
ti
es=(
(l
is
t<oppor
tuni
ty>)s
ear
chl
i
st[
2]);

Lead[]l
eads=(
(li
st<l
ead>)s
ear
chl
i
st[
3])
;

92.
Expl
ainJ
avas
cri
ptr
emot
ingf
orapexcont
rol
l
ers
?

Us
ejavas
cri
ptr
emot
ingi
nVi
sual
For
cet
ocal
lmet
hodsi
napexcont
rol
l
ersf
rom j
avas
cri
pt.

J
avas
cri
ptr
emot
inghas3par
ts.

Ther
emot
emet
hodi
nvocat
ionyouaddt
otheVi
sual
For
cepage,
wri
tt
eni
njavas
cri
pt.

Ther
emot
emet
hoddef
ini
ti
oni
nyourApexcont
rol
l
ercl
ass
.

Thi
smethoddef
ini
ti
oni
swr
it
teni
napex
,butt
her
ear
efewdi
ff
erencesf
rom nor
mal
act
ion
methods
.

Ther
esponsehandl
escal
l
backf
unct
ionyouaddt
oori
ncl
udei
nyourVFpage,
wri
tt
eni
n
j
avas
cri
pt.

93.
Howt
oaddj
avas
cri
ptr
emot
ingt
oaVi
sual
for
cepage?

Tousej
avascr
iptr
emoti
ngi
naVi
sual
for
cepage,
addt
her
eques
tasaj
avas
cri
pti
nvocat
ion
wit
hthefol
l
owingfor
m:

Synt
ax-

[
names
pace.
]cont
rol
l
er.
met
hod([
par
amet
ers.
.
.]Cal
lbackFunct
ion,
[conf
igur
ati
on])
;

94.
Gives
omeofConf
igur
ingj
avas
cri
ptr
emot
ingr
eques
ts?

Conf
igur
earemot
ingr
equestbypr
ovi
nganobj
ectwi
thconf
igur
ati
ons
ett
ingswhenyou
decl
aret
her
emoti
ngreques
t.
J
avaScr
iptr
emot
ings
uppor
tst
hef
oll
owi
ngconf
igur
ati
onpar
amet
ers
.

NameDat
atype Des
cri
pti
on

Buff
erBool
ean Whethertogroupr
eques
tsex
ecut
edcl
oset
oeachot
heri
nti
mei
ntoa
si
ngler
eques
t.Thedefaul
tist
rue.

Es
cap Bool
ean Whet
hert
oes
capet
heapexmet
hodsr
espons
e.Thedef
aul
tist
rue.

Ti
meout I
nteger
Thet
imeoutf
ort
heSt
ati
cRes
our
cer
eques
tinmi
l
li
Seconds
.Def
aul
tis
30000(
30s
econds)

95.
Whati
saDecl
arat
iveAppr
oach?

Wor
kingonapr
ojectwi
thoutcode.

96.
Whati
stheCus
tomi
sat
ion/nonDecl
arat
iveappr
oach?

Wor
kingonapr
ojectwi
thcode.

97.I
fonewant
stoact
ual
l
ycompar
ethevar
iabl
enamei
naquer
ywhatoper
ators
houl
dbe
used?

=:i
stheoper
atorus
edt
ocompar
e.

98.Whenonewantst
opas
sthecol
l
ect
iont
othequer
yins
teadofpas
singoneval
uewhi
ch
keywor
dhelpsus
?

I
N-keywor
d.

99.
What2ar
ebenef
it
swegetbywr
it
ingcont
rol
l
ers
?

WegetLogi
c&Dat
a.

1
00.
Ment
ion2r
eas
onswhywepr
eferVFPi
nst
eadofus
ingconf
igur
ati
on(
nocodi
ng)t
hings
?

Mul
ti
pleedi
ts,
ins
ert
,javas
cri
pt,
angul
arj
scanbei
ncl
uded.

1
01.
Dif
fer
encebet
ween<apex
:i
nput
Text/>Vs<apex:
i
nput
Fiel
d/>?

i
nput
Fiel
d-copyt
hef
iel
dfr
om anyobj
ectanddi
spl
ayonaVFpage|l
i
kecopypas
tewor
k.

i
nput
Text-i
twi
l
lhel
ptocr
eat
eaf
iel
dfr
om s
crat
ch|newcr
eat
ion

1
02.
Howt
ocal
lj
avas
cri
ptus
ingi
nVi
sual
For
cepage?

Addj
avascr
iptf
il
einSt
ati
cResour
ces etup->devel
op->Stat
icRes
our
ces-
>cl
i
ckon‘
New’
->
Name:f
il
enameandaddfil
efr
om localdeskt
opands ave.
1
03.
Dif
fer
encebet
weenSOQLVsSOSLi
nsal
esf
orce?

SOQL-(
Sal
esf
orceObj
ectQuer
yLanguage) SOSL(
Sal
esf
orceObj
ectSear
chLanguage)

Us
ingSOQLwecanSear
chonl
yononeobj
ectonet
ime.Us
ingSOSLwecans
ear
chon
manyobj
ect
satonet
ime.

Wecanqueryonal
lfi
eldsofanydat
atypeWecanquer
yonl
yonf
iel
dswhos
edat
atypei
s
t
ext
,phone,
andEmail
.

Wecanus
eSOQLi
ntheTr
igger
sandt
hecl
ass
es.Wecannotus
eTr
igger
sbutcani
ncl
ass
es.

Wecanperfor
m aDMLoperat
iononSQLquer
yres
ult
s. Wecannotper
for
m DML
oper
ati
onsonsear
chr
esul
ts.

1
04.
Whati
sFut
ureAnnot
ati
on(
@Fut
ure)
?

Us
ethef
utur
eannot
ati
ont
ospeci
fyt
hatt
hes
emet
hodsar
eexecut
edas
ynchr
onous
ly.

Met
hodswi
thf
utur
eannot
ati
onmus
tbes
tat
icmet
hods

Met
hodswi
thf
utur
eannot
ati
onscanonl
yret
urnavoi
dtype.

Synt
ax:

gl
obal
clas
scl
ass
_name

@f
utur
e

St
ati
cvoi
dmet
hodname(
par
amet
ers
)

/
/bodyoft
hemet
hod

1
05.
Whati
stheAppExchangedi
rect
ory?

Awebdi r
ectorywherehundredsofappexchangeappsareavailabletoSal
esfor
ce
cust
omerstor evi
ew,demo,commentupon,and/ori
nstall
.Developerscansubmitt
hei
rapps
forl
i
sti
ngont heappexchangedir
ector
yift
heywanttos harethem withthecommunit
y.

1
06.
Whi
cht
agi
sus
edwi
thbot
hradi
obut
tonsandpi
ckl
i
stst
ocr
eat
ethes
elect
abl
eval
ues
?
Weus
e<Apex:
sel
ect
opt
ion>

1
07.
Whi
chf
iel
dcannotbeaddedt
oacus
tom i
ndex
?

Wecannotaddf
ormul
afi
eldst
othecus
tom i
ndexi
nSal
esf
orce.

1
08.
Whati
sthedi
ff
erencebet
weent
ri
ggerandwor
kfl
ow?

Wor
kfl
ow:

Workf
lowi
sanaut
omat
edpr
oces
sthatf
ir
edanact
ionbas
edonEval
uat
ioncr
it
eri
aandr
ule
cr
it
eri
a.

Wecanacces
sawor
kfl
owacr
osst
heobj
ect
.

Wecannotper
for
m DMLoper
ati
ononwor
kfl
ow

Wecannotquer
yfr
om dat
abas
e

Tr
igger
:

At
ri
ggeri
sapi
eceofcodet
hatexecut
esbef
oreoraf
terar
ecor
disi
nser
tedorupdat
ed.

Wecanacces
sthet
ri
ggeracr
osst
heobj
ectandr
elat
edt
othatobj
ect
s

Wecanus
e20DMLoper
ati
onsi
nonet
ri
gger
.

Wecanus
e20SOQLf
rom t
hedat
abas
einonet
ri
gger
.

1
09.
Whatar
esomeapexcl
ass
est
hatar
ecommonl
yus
edwi
thi
n?

St
andar
dcont
rol
l
er,
sel
ectopt
ion,
pager
efer
ence,
mes
sage,
etc.

1
10.
Whatar
etheef
fect
sofus
ingt
het
rans
ientkeywor
d?

Thetr
ansi
entkeywor
dpreventsthedat
afr
om bei
ngs
avedi
ntovi
ews
tat
e.Thi
sshoul
dbe
usedf
orverytempor
aryvar
iables.

1
11.
Whati
sthemaxi
mum numberoff
iel
ddependenci
eswecanus
eint
heVi
sual
For
cepage?

Themaxi
mum numberoff
iel
ddependenci
eswecanus
eisaVi
sual
For
cepagei
s10.

1
12.
Whati
sthepr
ocedur
etogett
heSecur
it
ytokeni
nSal
esf
orce?

Cl
i
ckonyourNamet
ab,
thencl
i
ckonPer
sonal
andyouwi
l
lfi
ndRes
etmys
ecur
it
ytoken.

1
13.
Whati
saMet
adat
a-dr
ivendevel
opmentmodel
?

Anappdevel
opmentmodelt
hatal
lowsappstobedefi
nedasdecl
arat
ive“
bluepr
int
s,”Wit
h
nocoder
equi
red.
Datamodel
,obj
ects
,for
ms,workf
lows,andmor
earedefi
nedbymet adata.
1
14.
Whati
sS-
Cont
rol
?

S-Contr
olsarethepredominants
alesf
orce.
com wi
dgetst
hatarecompletel
ybasedon
JavaScri
pt.Thesearehostedbysal
esfor
cebutexecut
edatthecl
ient
-si
de.S-Cont
rol
sar
e
supers
ededbyVi sualFor
cenow.

1
15.
Whati
swr
appercl
assi
nSal
esf
orce?

Awrapperorcontai
neri
sadat ast
ructure,
acl asst
ype,
oranabs t
ractdatatypet
hat
cont
ainsmul
ti
plecoll
ect
ionsofobj
ects
. I
thelpsindi
spl
ayingvar
iousobject
sonaVisual
For
ce
pageinasi
ngletabl
e.

1
16.
Whatar
efor
cepl
atf
orms
ites
?

Publi
cwebsit
esandappl
i
cationst
hataredi
rect
lyint
egratedwi
thyourSal
esfor
ce
organi
zat
ionwit
houtr
equir
inguserst
ologi
nwi t
haus ernameandpassword.

1
17.
Whati
sTabi
nSal
esf
orce?

ATabisaus
eri
nterf
acetodis
playcus
tom obj
ectdat
aorotherembeddedwebcont
entt
oa
us
er.
Wehavethreetypesoft
absinSales
for
cewhichar
e:

Cus
tom Tabs
.

Vi
sual
for
ceTabs
.

WebTabs
.

1
18.
Whatar
ethet
ypesofemai
ltempl
atest
hatcanbecr
eat
edi
nSal
esf
orce?

Bel
owment
ionedi
sthel
i
stoft
empl
atesavai
l
abl
einSal
esf
orce:

TextTempl
ate:Thi
stempl
atecanbemodi
fi
edorchangedbyanyus
er.

HTMLwit
hlet
ter
head:Peopl
elikeadmi
nis
trat
orsandus
erswi
thEdi
tHTMLper
mis
sioncan
cr
eat
ethi
semailt
emplatebasedonlet
ter
head.

Custom HTML:Peopleli
keadmi ni
str
atorsandus er
swithEditHTMLpermiss
ioncancr
eate
thi
semai l
templatewithoutusi
ngal ett
erhead.I
trequi
resknowledgeofHTMLorgetsthe
HTMLcodet oinserti
tintotheemailtemplate.

Vis
ualf
orceEmail
Templ
ate:Thistemplat
ecanonl
ybecreat
edbyadmi ni
str
atorsand
devel
opersus
ingVis
ual
Force.
Itiscapabl
eofmergi
ngt
hedat af
rom vari
ousrecor
ds.

1
19.
Ifwewanttosharerecor
dsbasedoncondi
ti
onsli
kes
harerecor
dst
oagr
oupofus
ers
.
Whosecount
rycr
it
eri
aisIndi
a,Whataret
hestepst
obefoll
owed?

Set
up→ Secur
it
yCont
rol
s→ s
har
ings
ett
ings→ Cl
i
ckon‘
Edi
t’
Apexshari
ng:Shareobj
ecti
savai
l
abl
eforeveryobject
(ForAccountobj
ectshar
eobj ecti
s
Account
Share).I
fwewanttosharet
herecor
dsusingapexwehavet ocreat
ear ecordto
theshar
edobject.

1
20.
Isi
tpos
sibl
etoedi
ttheVi
sual
For
cepagei
napr
oduct
ionenvi
ronment
?

Yes,ofcour
se!Wecancr eat
eandeditt
heVi sual
Forcepagesinbot
ht heproduct
ion
envir
onmentandi nasandbox.
Theonlythingyoucannotdoi naproducti
onenvironment
withaVisual
Forcepageisaddi
ngtheuniquevaluesforwhichyouneedtodot hi
sinthe
sandbox.

1
21.
Isi
tpos
sibl
etomakechangest
otheapext
ri
gger
/apexcl
assi
nthepr
oduct
ionf
unct
ion?

No,youcannotdot
hatifyouwanttomakeanyedi
tst
otheapext
ri
gger
/apexcl
asst
hat
shoul
dbedoneinasandboxenvi
ronment
.

1
22.
Whatar
ethet
hingst
hatcanbecus
tomi
zedonpagel
ayout
s?

Pagelayoutsallowyoutoper sonal
izeorcust
omizet hegivenpageobj
ect
sorrecords.
It
hel
psincus tomizi
ngordesigningthepageaccordingtoyourrequir
ement
s.Pagelayout
edi
torhelpsyoui ncus
tomizingthepages.Usingthispage,youcancus
tomizethi
ngsli
ke
butt
ons,fi
elds,cust
om li
nks,andrelatedl
is
ts.

1
23.
Howt
oinvokebat
chapexj
ob(
or)howt
oexecut
ethebat
chapexj
obpr
ogr
ammat
ical
l
y?

Wecanus
edat
abas
e.execut
ebat
ch()met
hodt
opr
ogr
ammat
ical
l
ybegi
nthebat
chj
ob.

Synt
ax:

Publ
i
cst
ati
cIDexecut
ebat
ch(s
Obj
ectcl
assname)

Publ
i
cst
ati
cIDexecut
ebat
ch(
sObj
ectcl
assname,
int
eger
sscope)

Theabovetwomethodsar
es t
aticmet
hodsofdat
abas
ecl
ass
.Wecanus
eanyoneoft
he
methodst
oexecut
ethebatchjob.

Not
e:Theclas
snamethatwear
epassi
ngtothedatabas
e.executebatch()methodshoul
d
bet
heobjectoft
hecl
asswhi
chhasi
mplementedt
hedatabas e.
batchableint
erf
ace.

1
24.
Wil
lVi
sual
for
ces
til
lsuppor
tthemer
gef
iel
dsus
agel
i
keS-
cont
rol
?

Yes
.Jus
tli
keS-
Cont
rol
s.Vi
sual
for
cepagess
uppor
tembeddedmer
gef
iel
ds.

Sal
esf
orceScenar
ioBas
edI
nter
viewQues
tions

125.Asthi
ngsaret
imetaki
ngcl
i
entwantsar
epor
twhereinasinglescr
een,wi
thoutdoi
ng
anythi
ng,canseeSALEPERCOUNTRY?Andi
nanotherr
eport
,salespercount
rypermobil
e
brand.
Thi
scanbevi
ewedi
ntheSummar
yRepor
t.

126.Asaclientwant
stomoti
vates al
esr
epstomakemor eef
forts
,t heyaregoi
ngt oanalyze
thesaledonebyeverysal
esreportandrewar
dthem.Theywantar eportwheretheycan
seecountry-wis
esel
lAl
SOINtheSAMEREPORT, sal
esrepwisetos ell
.Sotheycanalsoseein
whichcount r
yhowthesal
eis&t heywantthi
sanal
ysi
stobes eparatebutintheSAME
REPORT.

Thi
scanbevi
ewedi
ntheMat
ri
xRepor
t.

1
27.Thecli
entwantstoseedatafrom mobil
es el
lDBandHomeAppli
ances
ellDBtogether
t
otakethedecis
ionofthenextfi
nanci
alyear'spl
anni
ng.Al
so,
thecl
i
entwantstogroupthe
s
ell
,di
scount-
rel
atedcol
umnsgr oupedtogether?

Theycans
eeal
lther
equi
reddat
abyus
ingt
heJ
oinedRepor
t.

1
28.
Whent woobject
sareconnectedwi
theachotherusi
ngr/
s,t
henonsecondaryrecord
t
herel
ati
onshi
pwil
lbeshownus i
ngthef
iel
d.Ontheprimaryr
ecord,
ther
elat
ions
hipwi l
lbe
s
hownusingarel
atedli
st.

LookupR/
S:

I
tisus
edt
oconnect2ormor
eobj
ect
swi
theachot
heraspert
hebus
ines
srequi
rement
.

I
twor
ksons
tandar
dobj
ect
sandcus
tom obj
ect
s.

I
tiss
osi
mpl
etot
ype.

I
thel
pst
oloos
elyconnect2obj
ect
s.

I
tisus
edwheneverwedon’
thavemuchs
trongdependencybet
ween2obj
ect
s.

[
Rel
atedPage:Fi
eldDependencyi
nSal
esf
orce]

1
29.
Ther
eisonl
y2MDRal
l
owedperobj
ecthowmanycus
tom l
evel
sitcanhave?

I
tal
l
owst
hreecus
tom l
evel
sperobj
ect
.

(
Eg:company→ Wor
ker
s→ Subwor
ker
s.)

1
30.Thereisanobj
ectcal
l
edEmployeeDetai
l
s,andanot
herobjectcal
l
edSalar
yInf
o,t
hink
f
rom abusines
spers
pecti
ve.
Ifyouwantt
ocombi net
he2objects,
whatwil
lyouchoos
ein
t
herelat
ionshi
p?

Thi
scanbes
eenwi
thMas
ter
-Det
ail
Rel
ati
ons
hip.

1
31.As
sumethatyourequi
rePC’sinbulkandhavegi
venanor
derto‘XYZ’company&they
f
oundabul
ks uppl
i
erandas kedtoprocess
,whatwoul
dbetherel
ati
onshi
pbetweenthe
companyandt
hes
uppl
i
er?

Thi
scanbes
eenwi
thLookUpRel
ati
ons
hip.

132.
Busines
sRequir
ement-As sumethereisafi
nancedept,ther
earemanyuser
sandthey
haveaccesstoanobjectcal
l
edf i
nance,I
nthatobject
,ther
eisafiel
dcal
l
ed“
Bonus”
,andin
thedept10user
s,onl
yones houldnotseethefi
eld?

Scenar
io:Cr
eati
onofPermi
ssi
ons
etf
ort
heus
ers
,ot
hert
hant
heus
erwhos
houl
dnothave
theBonusfi
eldacces
s.

Des
cri
pti
on:

Obj
ect
:pr
ofi
t&l
oss
.

Us
ers
:John&Phi
l
ip

Condi
ti
on:
:

OWD:Pr
ivat
e.

Pr
ofi
l
eofJ
ohn:Fi
nancepr
ofi
l
e.

Fi
nancePr
ofi
l
e:CRED:Yes|VA:No|MA:No

Per
mis
sions
etofj
ohn:N/
A

Rol
e:N/
A.

1
33.
CanJ
ohns
eer
ecor
dsofPhi
l
ip?

No,
Johncannots
eet
her
ecor
dsofPhi
l
ip.

Condi
ti
on:
:OWD:PRO(
Publ
i
cRead-
onl
y).

1
34.
CanJ
ohns
eer
ecor
dsofPhi
l
ip?

Yes
,nowJ
ohncans
eet
her
ecor
dsofPhi
l
ip.

(
Hint
:Doeshehavemi
nacces
stowor
kont
heobj
ect&OWD=PRO)
.

Condi
ti
on:
:OWD:PRW(
Publ
i
cReadWr
it
e).

1
35.
CanJ
ohnedi
trecor
dsofPhi
l
ip?

Yes
,Johncanedi
tther
ecor
ds,
Phi
l
ip.

(
Hint
:Doeshehavemi
nacces
stowor
kont
heobj
ect&OWD=PRW)
.

1
36.
CanJ
ohndel
etet
her
ecor
dsofPhi
l
ip?
No,
nowJ
ohncannotdel
etet
her
ecor
dsofPhi
l
ip.

Pr
ofi
l
e:Sal
esPr
ofi
l
e.

Us
ers
:St
ephen,
Phi
l
ip.

Us
eri
nanot
herpr
ofi
l
e:Cel
i
a.

Condi
ti
on:
:Obj
ectSet
ti
ngi
nfi
nancepr
ofi
l
e:CRED=Y|VA=N|MA=N.

1
37.
Int
heaboves
cenar
iocanSt
ephens
eet
her
ecor
dofCel
i
aornot
?

No.

1
38.
CanSt
ephens
eet
her
ecor
dofPhi
l
ip?

No.

Condi
ti
on:
:Obj
ectSet
ti
ngi
nfi
nancepr
ofi
l
e:CRED=Y|VA=Y|MA=N.

1
39.
CanSt
ephens
eet
her
ecor
dofCel
i
a?

Yes
.

1
40.
CanSt
ephendel
etet
her
ecor
dPhi
l
ip&Cel
i
a?

No,
hecannotdel
eteanyone’
srecor
ds.

Sal
esf
orceAdmi
nInt
ervi
ewQues
tions

1
)Whati
stheRol
l
-ups
ummar
yfi
eld?

Weus etheRoll
-upsummar yf
ieldtocalculatethevaluesfortheassoci
atedrecords
,for
example,arel
atedl
i
s t
.Wecanal sous eitforcreat
ingthevaluesforamas terr
ecord-
accor
dingtotheval
uesindetailrecor
ds. But,wemus tconnectthemas t
erandt hedetai
l
withamas t
er-
detai
lrel
ati
onship.

2)Expl
ainQueues
?

I
nSal es
for
ce,Queueshel
pustodi
str
ibut
e,pr
iori
ti
se,andassigntherecordstotheteamsfor
shari
ngwor kl
oads
.Queuesar
eappli
cabl
etoleads,s
ervicecontr
acts
, cus
t om obj
ect
s,cas
es,
etc.

3)Expl
ainEs
cal
ati
onr
ules
?

Escal
ationrul
esapplytoescalati
oncasesaccordi
ngtot
herulesspeci
fi
edintheescal
ati
on
rul
eent ry.
Besi
desrul
eentries
, wecanalsocreatees
cal
ati
onacti
onsfordetermi
ningwhat
happenswhent hecaseescalates.Theescal
ati
onrul
ecanreassi
gnacas etoanother
supportagentorasupportqueue.
4)Expl
ainVal
i
dat
ionr
ules
?

Vali
dati
onRulesenabl
eustoappl
yapar t
icul
arl
ogi
crul
etocont r
ibut
etoourorgani
zati
on’s
dataint
egri
ty.Wecandef
inethecondi
ti
onsontheobj
ectthatarenotavail
abl
e.For
i
nstance,i
fwedonotwanttolabelanopport
uni
tyascl
osediftheaccountdoesnothave
theaddress.

5)Whatar
ethepr
imar
ycomponent
soft
hewor
kfl
ow?

Fol
l
owi
ngar
ethepr
imar
ycomponent
soft
hewor
kfl
ow:

Cri
teri
a:Cri
ter
iai
sthe“i
f”por
ti
onoft
hest
atement
.Wehavet osetcr
it
eriafort
hewor
kfl
ow
rul
e.Fi
rst
,wehavet ocr
eateaworkf
lowr
uleandl
aterconf
igur
ethecri
teri
a.

Action:Acti
onisthe“t
hen”por
tionoft
hest
atement
. Theacti
ont el
lsuswhatt
odowhent
he
cr
iteri
aar esat
isf
iedandoccur
saftert
heworkf
lowr
ul econf
igurati
on.Wecanaddat
ime-
dependentactionoranimmediateacti
onf
orapart
icularworkf
lowr ul
e.

6)Expl
ainTi
me-
dependentwor
kfl
ow?

Weper for
mt i
me-dependentacti
onsatparti
cularti
mesbeforecl
osi
ngt her
ecord.Workf
low
r
e-evaluatest
herecordaft
ertimepasses.I
tcheckswhethertheworkf
lowrulecri
ter
iaar
e
s
atisf
ied,andonl
ythenwor kf
lowruleexecutestheact
ions.

7)Whati
stheWor
kfl
owTas
kandWor
kfl
owAl
ert
?

Wor
kfl
owTas
k

Whenwehavet oass
ignthetaskstoas al
esforceuser
,youhauntawor kf
lowt as
k.Wor kf
low
t
askal
locat
esanewt as
ktoar ole,
user,orrecordowner.Itassi
stsusi
ndef i
ningdif
fer
ent
t
askparameter
sli
keapri
ori
ty,st
atus,duedat e,andsubject.

Wor
kfl
owAl
ert

Workf
lowAler
tisanemai
lthatanapprovalproces
sorawor
kfl
owr
ulecr
eat
esi
nthe
s
alesf
orceandtr
ansmi
tt
edt odi
ff
erentreci
pient
s.

8)Expl
ainAut
o-Res
pons
e?

Auto-
Responseisabouttr
ansmi
tti
ngemail
stoleadsorcas
esforparti
cul
arrecordatt
ri
butes
andpromptl
yr espondi
ngtocus
tomeri
nquir
iesoris
suesbyes
tabli
shingt
heaut o-r
espons
e
rul
e.Att
hes amet i
me,wecansetonerul
eforaleadandoneruleforacase.

9)Expl
ainCus
tom Label
s?

I
nSal
esf
orce,
weus
ecus
tom l
abel
sforcr
eat
ingamul
ti
li
ngual
appl
i
cat
ion.Us
ingt
henat
ive
l
anguage, t
heygiveinformati
ontousersintheform ofhelpt
ext
sander r
ormes sages.
We
candefinethecustom l
abelsascust
om textval
uest hatwecanaccessfrom t
heApexcl ass
orLight
ningcomponent sandpromptlyoreventheVi sual
for
cepage.Wecant ransl
atethese
valuesi
ntothelanguages uppor
tedbythes al
esfor
ce. Thr
oughthefol
l
owi ngpath,wecan
accesscust
om labels
:

Set
up-
>Sear
chCus
tom Label
sinQui
ckFi
ndBox
->Cus
tom Label
s

1
0)Whatar
eShar
ingr
ulesandwhatar
ethedi
ff
erentt
ypesofs
har
ingr
ules
?

Sharingrulesgiveshari
ngacces
st otheuser
sassoci
atedwi
ththepubl
i
cgr oups,r
olesor
ter
ri
tories.
Itgivesahigherl
evelofacces
switht
heexcepti
ons,
farfr
om ourorgani
sation
set
tings.Foll
owingarethetwokindsofshari
ngrules
:

Cri
ter
ia-
basedShari
ngrul
es:Acces
sispr
ovi
dedaccor
dingt
other
ecor
dval
uesandnot
accor
dingt
ot her
ecordowners.

Owner
-bas
edShar
ingRul
e:Thes
erul
espr
ovi
deacces
stot
her
ecor
dsownedbyt
heus
ers
.

1
1)Whatar
eGover
norLi
mit
s?

Toas surethatnoonegai nsresourcesfr


om others,Force.
com est
abli
shesvari
ous
restri
cti
ons(governorli
mits)thatl
imitcodeexecution.Salesf
orcemustdothisduetoitsmulti
-tenantarchitect
ure,wher eallt
hecus t
omer sandor ganisat
ionss
hareoner es
ource.I
fthe
gover norl
imitsarenots ati
sfi
ed,anerrorwillr
ise,
andt heprogram execut
ionwil
lter
mi nat
e.
Followingaret hetypesofGover norli
mits:

St
ati
cApexLi
mit
s

Per
-tr
ans
act
ionApexLi
mit
s

Si
ze-
speci
fi
cApexLi
mit

Per
-tr
ans
act
ionCer
ti
fi
edManagedPackageLi
mit
s

1
2)Def
inet
heAppr
oval
proces
s?

I
nSal es
force,theApprovalprocessi
sas equenceofstepsforapprovi
ngr ecor
ds.An
approvalprocessisal
sohelpfulfort
racki
ngwhoandwhenappr ovedorr ej
ectedsomethi
ng.
I
tincl
udesdi f
ferentapproval
model s,not
if
yingapprovers
,andcondi t
ionall
ogicforwhomust
support.

1
3)Whati
sthei
mpor
tanceofSal
esf
orceChat
ter
?

Sal
esf
orceChatt
erisas ocialnet
wor
kingappli
cat
ionthatenablesustoshareinf
ormati
on
andworkcooperati
velywitheachother
.Ithel
psustobuil
dgreateremployeeengagement
thr
oughmotivat
ion.Sales
forceChat
teral
s opr
ovi
desaf or
um throughouttheenter
pri
sefor
shar
ingfr
eshi
deasandunder
standi
ngs
.Wecanal
sous
ethemobi
l
efeedf
ort
racki
ngour
proj
ect
.

1
4)Expl
ainGues
tus
ers
?

Guestuser
saret heus er
swhodonothaveus eraccountsinouror
gani
sat
ion.
Theyareal
so
knownasunaut hor i
seduser
sast heydonothavet ol
ogi n.Wecanmakethepages
access
ibl
e.Unaut hori
seduserscancreat
eoredittherecords.

Gener
all
y,wehavevari
ousl
i
mitat
ionsandconsi
derati
onsf
orasses
sing.Yet,wecanusethi
s
f
eatur
eforsol
vingus
ecases
,andwedoi tf
inanci
all
ybecauset
hegues tuserli
cens
esare
f
ree.

1
5)Expl
ainChangeSet
?

AchangeSeti
sagroupofcomponent
sthatwecanmi grat
ebet
weentheass
ociated
or
ganis
ati
ons(l
ikef
rom as
andboxtotheproduct
ion,
sandboxt
othes
andbox,etc.
).

Sal
esf
orceDevel
operI
nter
viewQues
tions

Herei
sthel
is
tofmos
tfr
equent
lyas
kedSal
esf
orcei
nter
viewques
tionsandans
wer
s
di
scus
sedbelow

1
)Whati
sApext
estcover
age?

Toas s
urethatourcodesati
sfi
espar t
icul
arstandar
ds ,
Apextestcover
agedispl
ayst
oyou
howmanyl i
nesofcodeinourclassesortri
ggershavebeent es
tedbythetest
edmethods.
Testcover
ageper cent
ageistheresultofthenumberofthecoveredli
nesdivi
dedbythesum
ofuncoveredli
nesandcoveredlines.Todeploytoproduct
ion,weneedami ni
mum of75%
tes
tcoverage.

2)Expl
ainLi
ght
ningMes
sageSer
vice(
LMS)
?

Li
ghtningmes sageser
vicei
sadi s
tinct
ivesal
esf
orcefeatur
ethatal
l
owsinter
act
ionbet
ween
Aura,Lightni
ngWebComponent s
,andVi s
ualf
orceoverthesameli
ght
ningpage.Wecan
usetheLi ght
ningmessageser
viceinLight
ningExper
ienceonly.

3)Def
ineOAut
h?

OAuthisastandar
dforaccessdelegat
ion.
Generall
y,weuseitasamethodforgrant
ingt
he
appli
cat
ionsorwebsi
tesaccesst
ot hei
rdataoverotherwebs
ites
,yetwi
thoutpr
ovidi
ng
them wi
ththepasswords
.

4)Expl
ainConnect
edApp?

Connect
edAppintegr
atest
hesales
forcethr
oughAPI
s,andConnectedAppsut
il
izeOAuth,
SAMLforaut
henti
cati
ng,pr
ovi
dingsign-
on,andpr
ovi
dingtokensf
orusi
ngtheSales
for
ce
API
s.

BesidesOAuthcapabi
l
iti
es,
connectedappseagl
esales
forceadminst
oes
tabl
i
shdi
ff
erent
securi
typol
ici
esandpossessext
ernalcont
rol
tout
il
izesi
milarapps
.

5)Whati
stheSi
gni
fi
canceofOut
boundMes
sage?

OutboundMes s
agei sanautomati
onf
unctiont
hatcanshootf
rom t
heworkf
lowrul
e.We
cans endthemessagetoexpli
ci
twebser
vicest
hatincl
udewebservi
ces
,whichs
tar
tother
processesi
nexpl
ici
tsyst
ems.

6)Whatar
etheus
esofExt
ernal
IDf
iel
ds?

Wecandefi
nespeci
fi
cfi
eldsasanExternalI
Dontheobj
ect
.Wecanus etheseExt
ernal
ID
f
iel
dsf
orbal
anci
ngthedat af
rom expl
ici
tsyst
emswit
hadist
inctr
efer
enceID.

Forinst
ance,i
fwehavet obal
ancethedatafrom t
heexpl
i
citaccount
ingsyst
em wit
hthe
Salesf
orceAccounts,
wehavetopromptl
yus eanexter
nalI
Df i
eldtor
efertotheuni
queI
Dof
theaccounti
ngs ys
tem i
npl
aceoftheSal
esforceI
D.

7)Howcanwecr
eat
epar
ti
alpager
efr
eshes
?

Fi
rst
, wehavetodefi
nethepages ect
ionthati
sgoingtoberefr
eshed,
andthenwehavet o
defi
netheeventthatl
eadstoref
reshi
ng.Themet hodchangesi
ftheareabei
ngref
reshedi
s
si
milart
otheonemanagi ngtheevent.I
tals
oreli
esonifweareprocessi
ngonthes
erverori
f
wehavet ochangetheuseri
nterf
ace.

8)Howcanwei
nvoket
hej
avas
cri
ptcont
rol
l
eract
ionbyus
ingacomponentmar
kup?

Byusi
ngtheact
ionpr
ovi
der
,wecani
nvoket
hej
avas
cri
ptcont
rol
l
eract
iont
hrougha
componentmar
kup

9)Whatar
ecomponentandappl
i
cat
ionevent
s?

Appl
i
cat
ionevent
s

Byusinganycomponent,wecanfir
etheapplicat
ionevent
s,andwecanmanaget hem.
Appl
icati
oneventsdonotneedanyrel
ations
hipamongt hecomponent
s;however
,thes
e
componentsshoul
dbeapar tofanappl
icati
on.

Componentevent
s

Chi
ldcomponentsfi
rethecomponentevent
s,andPar
entcomponent
shandl
ethe
componentevents
.Weus ecomponenteventswhenwehavetosendaval
uefrom t
hechi
l
d
componenttotheparentcomponent
.

1
0)Whati
sPagi
nat
ion,
andHowcanweachi
evei
t?
Forexampl
e,i
fwehavet
odi
spl
ay1
00r
ecor
dsovert
hepage.

Fi
rst
:Di
spl
ayt
hef
ir
stt
enr
ecor
ds.

Pr
evi
ous
:Di
spl
aypr
evi
oust
enr
ecor
ds.

Next
:Di
spl
ayt
hef
oll
owi
ngt
enr
ecor
ds.

Las
t:Di
spl
ayt
hepr
evi
oust
enr
ecor
ds.

Wecanperf
ormtheabovepr
oces
sthr
oughPagi
nat
ion.
Wecanachi
evepagi
nat
iont
hrough
t
hefol
l
owingways:

Thr
oughSt
andar
dSet
Cont
rol
l
er

Thr
oughOf
fsetandLi
mitkeywor
dsi
nSOQLQuer
y

1
1)Howdowedi
spl
ayer
rormes
sagesont
heVi
sual
For
cePage?

Todi
spl
ayer
rormes
sagesont
heVi
sual
For
cePage,
wemus
tus
e:

<apex:
pageMes
sages
></
apex
:pageMes
sages
>

I
nApexcl
ass
,wemus
tus
e:

ApexPages.
addMes
sage(
newApexPages
.Mes
sage(
Apex
Pages
.sever
it
y.Er
ror
,‘Er
ror
Message’
))
;

1
2)Whatar
ethedi
ff
erencesbet
weenCus
tom Obj
ect
sandCus
tom Set
ti
ngs
?

Cus
tom Obj
ect
s Cus
tom Set
ti
ngs

Cust
om Object
sstor
ethedat
aint
hedat
abas
e. Cus
tom s
ett
ingss
tor
ethedat
aint
he
Appl
icat
ionCachememory.

Cust
om obj
ectshavet
ouseSQLquer
iesf
orfetchi
ngt
her
ecor
dsf
rom t
hedat
abas
e.Donot
needtouseSQLqueri
esf
orf
etchi
ngt
herecords.

I
ncust
om obj
ect
s,al
ldatatypesexi
st. I
nCus
tom s
ett
ings
,onl
yconf
ineddat
atypesexi
st
whencompar
edtocustom obj
ects

OnCust
om obj
ect
s,wecancreat
eapext r
igger
sandvali
dati
onr
ules
. OnLi
stCus
tom
set
ti
ngs
,wecannotcr
eateapextr
igger
sandvalidat
ionr
ules

Wecancr
eat
eat
abf
orcus
tom obj
ect
s. Wecannotcr
eat
eat
abf
orcus
tom s
ett
ings

1
3)Canwecus
tomi
zet
heApexi
napr
oduct
ionor
gani
zat
ion?

Wecannotcus
tomi
zeApexi
nthepr
oduct
ionor
gani
zat
ion.
Wemus
tchangeanddepl
oy
t
hroughas
andboxands
ati
sfyt
estcover
ager
equi
rement
s.

1
4)Canyougi
veanexampl
eofSal
esf
orceAPI
andi
tsi
mpor
tance?

Sal
esf
orcehasdi
ff
erentAPI

sthatal
l
owust
ocommuni
cat
ewi
tht
hes
yst
em i
nvar
iousways
:

RESTAPI:RESTAPIwi
l
lenabl
eust
oint
egrat
ewi
tht
hes
ales
for
ceappl
i
cat
ionst
hroughHTTP
methodsineit
herJ
SONorXMLfor
mats.

Bul
k:BulkAPI
givesusprogrammat
icacces
sthatal
l
owsust
oloadt
hedat
aint
oour
sal
esf
orceenter
pri
serapi
dly.

Str
eaming:WecanuseStr
eamingAPIforrecei
vingthenotif
icat
ionf
orthechangestothe
sal
esf
orcedat
athatequalt
heSOQLquer ywedef ine.St
reamingAPIi
sfunct
ionalwhenwe
havetopusht
henoti
fi
cati
onfr
om ser
vertocl i
entaccordi
ngt ot
hecri
teri
awedef i
ne.

1
5)Expl
ainBucketFi
elds
?

BucketFi
eldsclas
sif
ytherecor
dsofthes
alesf
orcereport
swit
houtanycus
tom fi
eldor
formul
a;Bucketfi
eldsareavai
l
abl
eonlyinthereport
s.Whenwecreateabucketcol
umn,
thenvari
ousclassi
fi
cati
onsoft
hegrouprepor
tvalues.

1
6)Di
ff
erent
iat
eis
Nul
landi
sBl
ack?

Weus eis
Black(
)forthetextfi
elds.Si
ncetextf
iel
dscannotbeNULL,eventhoughnothi
ngis
gi
venasaval ue,ISNULL(
)functionfet
chesonlyemptyvalues
.IfweuseI
SNULL()wit
hat ext
fi
eld,
thenitr
eturnsfal
se.

1
7)HowdoesSal
esf
orcei
mpl
ementSal
esTr
acki
ng?

Salesf
orcerecor
dsdataont hedetailsl
ikecustomerdetai
ls
,sal
esnumbers
,cust
omerserved,
repeatcust
omer sanduseoft hes
er ecordsforcreat
ingdet
ail
edchar
ts,
dashboards
,and
report
s.Int
hisway,itt
racksthesalesofouror ganis
ati
on.

1
8)Whati
sthel
i
mitoft
heDat
a.com r
ecor
dst
hatwecanaddt
oSal
esf
orce?

I
nt heusersect
ionofData.com,wehavetodis
coverournamet oseeourmont
hlyli
mit.
Itwil
l
provi
dedetail
slikehowmanyr ecordswecanexportoraddforthi
smonth.
Theuserenter
s
setupandtypest heus
erintheFindboxandchoosesprospect
oruser
s.

1
9)Expl
aint
hemet
hodsoft
heBat
chApexCl
ass
?

Thebat
chapexcl
assdepl
oyst
hedat
abas
ebat
chabl
eint
erf
acewi
tht
het
hreemet
hodsas
fol
l
ows:

Start
:Weusethestartmethodatthebeginni
ngofthebatchapexj
ob.Weus eitf
or
coll
ecti
ngt
heobject
sorrecords
,forpass
ingthem t
otheinter
facef
orexecut
ing.I
tret
urnsa
Dat
abas
eQuer
yLocat
orobj
ectt
hatcompr
isesobj
ect
sort
her
ecor
dss
entt
othej
ob.

Fi
nis
h:Wecallthi
smethodoncewefini
shthebat
chproces
sing.Weus
ethi
smet
hodt
osend
conf
irmat
ionemail
sortoexecut
ethepost
-pr
ocess
ingoper
ations
.

Execut
e:Weusethi
smethodforeverybat
choft
herecordsthatares
entt
othemet
hod.
We
usethi
smethodf
ordat
apr oces
sing.
Thismet
hoddoesthefoll
owing:

s
Obj
ect
srecor
dsl
i
st

Ref
erencet
otheDat
abas
eBat
cheabl
econt
ext
.

20)Whatar
ethedi
ff
erentt
ypesofBi
ndi
ngs
?

Fol
l
owi
ngar
ethedi
ff
erentt
ypesofbi
ndi
ngs
:

Act
ionBi
ndi
ngs
:Act
ionBi
ndi
ngsr
efer
stoact
ionmet
hodsi
nthecont
rol
l
er.

Dat
aBi
ndi
ngs
:Dat
aBi
ndi
ngsr
efer
stot
hedat
aset
sint
hecont
rol
l
er.

ComponentBi
ndi
ngs
:ComponentBi
ndi
ngsr
efer
stoVi
sual
for
cecomponent
s.

21
)Canwewr
it
eSet
terandGet
termet
hodsi
nSal
esf
orce?

Yes
, weuseaget
termethodf
orret
urni
ngtheval
uesf
oracont
rol
l
er.Eachval
uecomput
ed
bythecont
rol
l
erandshownonthepageshoul
dhaveagett
ermethod.

Ontheot
herway,weusethesett
ermet hodt
opas stheuser
-def
inedval
uesfr
om t
hepage
mar
kuptothecont
rol
l
er.
Inthecontr
oll
er,weexecutethes
ettermethodaut
omati
call
y.

22)Expl
ainDevel
operCons
ole?

Thedevel
operconsol
eisanincorpor
ateddevel
opmentt
oolt
hathasacol
l
ecti
onoftools
.We
uset
hesetool
sfordebuggi
ng, cr
eati
ng,andtes
tingt
heappl
i
cat
ionsi
nsal
esf
orce.
org.

23)Expl
ainpackagesanddi
ff
erentki
ndsofpackages
?

Thepackageisacol
lect
ionofthecomponent
sli
storas
soci
atedappl
i
cat
ions
.
Fol
lowi
ngaret
hekindsofpackages:

Managed

Unmanaged

Weus emanagedpackagesf ordi


str
ibuti
ngands el
l
ingtheappli
cat
ionstothecli
ent
s.
Developer
ss el
luser
-fr
iendl
yappli
cationsandl
icensesbyusi
ngAppExchangef ormanaged
packages.Theseareentir
elyupdat
abl ei
ntheeventofcont
inuousupgrades;weperfor
mthe
removaloffi
eldsorobjects
.
24)Whatar
ethewayst
oimpl
ementt
hemet
adat
ainSal
esf
orce?

Fol
l
owi
ngar
ethewayst
oimpl
ementmet
adat
aint
heSal
esf
orce:

Byus
ingChangeSet
s

Ecl
i
psewi
thFor
ce.
com I
DE

Sal
esf
orcepackage

Thr
oughMi
grat
iont
ool
s

25)Expl
ainr
eRenderAt
tri
but
eTag?

ThereRenderattr
ibutedef
inesanel
ementsl
is
tthatwecanupdat edynamicall
ythr
oughthe
AJAXli
braryoftheSalesf
orce.Wedonotneedtheenti
repagetorefr
esh.Onlyapartoft
he
pagedetectedbyt hecomponentsi
snamedinthe“.
rer
ender”at
tri
bute.

26)Howcanwedi
spl
ayt
heChat
terFeedRecor
d?

Byus
ingt
he<chat
ter
:feed>component
,wecandi
spl
ayt
hechat
terf
eed.

Exampl
e:

<apex:
page>

<chat
ter
:feedent
it
yId=”
{!
$Us
er.
I
d}”
/>

</
apex:
page>

27)Expl
aint
heBl
obvar
iabl
e?

Bl
obvari
ableisthevari
ablet
hati
sint
endedt
ogat
herbi
nar
ydat
a.t
ost
ri
ng(
)conver
tst
he
bl
obbackintothestr
ing.

s
tri
ngs
tri
ng1
='t
ests
tri
ng'
;

Bl
obbl
ob1=Bl
ob.
val
ueof
(mySt
ri
ng)
;

St
ri
ngSt
ri
ng2=myBl
ob.
toSt
ri
ng(
);

Sys
tem.
debug(
Str
ing2)
;

28)Whati
stheus
eofapex:
out
put
Link?

Theapex:out
putl
i
nkbodycompr
isesofi
mageort
extt
hatwecandi
spl
ayi
nthel
i
nk.

<apex:out
put
li
nkvalue="
htt
ps:
//
mindmaj
i
x.com/
"id="
theLi
nk"
>www.
mindmaj
i
x.com
</apex:
out
put
Link>

You might also like