Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam Certified Sharing and Visibility Designer All Questions

View all questions & answers for the Certified Sharing and Visibility Designer exam

Exam Certified Sharing and Visibility Designer topic 1 question 72 discussion

Actual exam question from Salesforce's Certified Sharing and Visibility Designer
Question #: 72
Topic #: 1
[All Certified Sharing and Visibility Designer Questions]

After testing and deploying a new trigger that creates a related order when an opportunity is closed, the Architect begins receiving complaints of permission error messages appearing when closing an opportunity.
How did this error occur?

  • A. The trigger handlers class does not use any sharing keywords and the user does not have access to the orders related to the opportunity.
  • B. The trigger handler class is using “with sharing” and the user does not have access to the orders related to the opportunity.
  • C. The trigger should be using RunAs() when creating the order.
  • D. Trigger is using IsCreateable() Apex method and the user does not have create permission on the Order object.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
nibbio
1 year, 1 month ago
Ans. D: Trigger is using IsCreateable() Apex method and the user does not have create permission on the Order object.
upvoted 1 times
...
tenkamenin
1 year, 11 months ago
the answer is D
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...