Dynamic Dashboards and Trigger Events for Salesforce Administrators | Exam ADX-201

Dynamic Dashboards and Trigger Events

Prev Question Next Question

Question

5 dynamic dashboards for Enterprise Edition 10 for Unlimited Edition 3 Developer Edition.

To create, edit, and delete dynamic dashboards: 'Run Reports' AND 'Manage Dynamic Dashboards' Which of the following events are allowed while writing a trigger on feeds item and feed Comment object?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D. E.

B.

The question is asking which events are allowed when writing a trigger on the FeedItem and FeedComment objects, while also specifying the edition limits for dynamic dashboards.

To start, let's define what dynamic dashboards are. Dynamic dashboards are a type of dashboard in Salesforce that allow users to view real-time data. They are called "dynamic" because they allow users to filter and view different sets of data on the same dashboard. These dashboards are available in the Enterprise and Unlimited editions of Salesforce, with Enterprise edition having a limit of 10 dynamic dashboards and Unlimited edition having a limit of 3.

Now, let's move on to the trigger events. A trigger is a piece of Apex code that is executed before or after a record is inserted, updated, deleted, or undeleted. In this case, the question is asking specifically about the FeedItem and FeedComment objects, which are used in Salesforce's Chatter feature.

The answer choices are as follows:

A. Insert, Update B. Insert, Delete C. Insert, Undelete D. Update, Undelete E. Insert, Update, Delete.

To determine the correct answer, we need to consider the capabilities of the FeedItem and FeedComment objects. Both objects allow records to be inserted and updated, but they do not allow records to be deleted or undeleted. Therefore, options B, C, and D can be eliminated.

Option A (Insert, Update) is a possibility because these are the only two events that can be performed on the objects. However, option E (Insert, Update, Delete) includes an additional event that is not allowed on these objects.

Therefore, the correct answer is A, which indicates that the only allowed events when writing a trigger on the FeedItem and FeedComment objects are insert and update.