Platform Developer 1 Flashcards
What special character appends geolocation fields?
__s
Roll up field limits
- Can’t roll up formula fields that reference cross-objects or use dynamic functions
Formula Field Limits
- 3900 Characters
- 4000 bytes of source
- 5000 bytes compiled
- No long text
- No circular formula references
How can you check if a user has read access to a visual force page field?
isAccessible()
Partial Sandbox vs Full Sandbox
- Partial has shorter refresh interval
- Partial stores less data
- Full can use templates
Uses of Workbench
- can be used on prod or sandbox
- does all CRUDs
- can use REST API
- can describe Metadata
What kind of relationship links a child external object to a parent standard or custom object?
indirect lookup
What options are available for Unit Tests?
- Always run async (bool)
- new
- rerun
- rerun failed tests
- abort
- new suite
- run all
- run all in a class
Name all the components in a bundle
- component
- controller
- helper
- style
- documentation
- renderer
- design
- svg
Name 3 visual force components for custom tables
- -
Differences between Import Wizard and Data Loader
Wizard <= 50k records Wizard Limited standard objects Wizard All custom objects DL no record limit DL imports AND exports DL import any object except user
What attribute lets you render a visual force page as PDF?
renderAs=”pdf”
What method lets you test your application in different user contexts?
runAs()
How is code coverage calculated?
# of unique apex lines executed during test ---------------------------------------------------------------- # of unique apex lines in all triggers and classes
(lines in test methods are ignored)
What can cross-object formulas reference?
- related parent records
- regardless of user access
- up to 10 relationships away