→ Understand New and Updated Apex Methods, Exceptions, and Interfaces
1. Which method of the DescribeSObjectResult class allows you to access record types by their developer name?
A. getRecordTypeInfos()
B. getRecordTypeInfosById()
C. getRecordTypeInfosByName()
D. getRecordTypeInfosByDeveloperName()
2. Which Apex class includes new methods to verify digital and HMAC signatures?
A. System.Auth
B. System.Crypto
C. System.Approval
D. Schema.Signature
→ Learn What's New for Platform Developers
1. Your org has My Domain enabled. What is the most efficient method to obtain a valid session ID to make an HTTP callout from asynchronous Apex code to Salesforce APIs?
A. Use a Named Credential.
B. Use System.UserInfo.getSessionId().
C. Set the endpoint to URL.getOrgDomainUrl()
D. Session IDs are no longer required when My Domain is enabled.
2. Which annotation allows a developer to make the result of an Apex method storable for Lightning components?
A. @AuraStorable
B. @AuraCacheable
C. @AuraEnabled(storable=true)
D. @AuraEnabled(cacheable=true)
3. Which merge field allows you to isolate untrusted third-party content with <apex:iframe> tag in Visualforce?
A. $Resource
B. $SecureResource
C. $IFrameResource
D. $Page.IFrameResource
4. Prior to installing an unlocked package, which object should a developer query using the Tooling API to list the packages it depends on?
A. InstalledPackage
B. PackageDependency
C. UnlockedPackageInfo
D. SubscriberPackageVersion
→ Work with the Lightning Map Component and Apex Inherited Sharing
• Create a custom object that will be used to store information about the various towers in the western States that are owned by Out and About Communications.
○ Label: Tower
○ Plural Label: Towers
• Create a new custom field to establish a Master-Detail relationship between Tower and Account. Add the Towers related list to the Account page layout.
○ Field Label: State
○ Type: Master-Detail
○ Field Name: State
○ Child Relationship Name: Towers
• Create a new custom field to enter the latitude and longitude for the location of each Tower.
○ Field Label: Tower Location
○ Field Name: Tower_Location
○ Type: Geolocation
○ Latitude and Longitude Display Notation: Decimal
○ Decimal Places: 6
Now add some data.
• Create two new Account records to represent the regions (only the Name field is required).
○ Utah
○ Idaho
• Create four new Tower records
○ Name: Lightning Ridge
○ State: Utah
○ Latitude: 40.490684
○ Longitude: -110.908727
○ Name: Craters
○ State: Idaho
○ Latitude: 43.555375
○ Longitude: -113.70069
○ Name: Nuckols
○ State: Idaho
○ Latitude: 47.516694
○ Longitude: -115.939163
○ Name: Rainbow
○ State: Utah
○ Latitude: 37.060663
○ Longitude: -110.975708
You use the code blocks below to complete the challenge.
TowerMapUtilClass code block:
TowerMapControllerClass code block:
Towermap Lightning component code block:
Controller code block:
Helper code block: