Exam Name: | Salesforce Certified Platform Developer II (SU24) | ||
Exam Code: | PDII Dumps | ||
Vendor: | Salesforce | Certification: | Developers |
Questions: | 193 Q&A's | Shared By: | zelda |
A developer is trying to decide between creating a Visualforce component or a Lightning component for a custom screen.
Which functionality consideration impacts the final decision?
A company has reference data stored in multiple custom metadata records that represent default information and delete behavior for certain geographic regions.
When a contact is inserted, the default information should be set on the contact from the custom metadata records based on the contact's address information.
Additionally, if a user attempts to delete a contact that belongs to a flagged region, the user must get an error message.
Depending on company personnel resources, what are two ways to automate this?
Choose 2 answers
A developer wrote a trigger on Opportunity that will update a custom Last Sold Date
field on the Opportunity's Account whenever an Opportunity is closed. In the test
class for the trigger, the assertion to validate the Last Sold Date field fails.
What might be causing the failed assertion?
A developer has working business logic code, but sees the following error in the test class:
You have uncommitted work pending. Please commit
or rollback before calling out.
What is a possible solution?