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

Exam Certified Platform Developer II All Questions

View all questions & answers for the Certified Platform Developer II exam

Exam Certified Platform Developer II topic 1 question 238 discussion

Actual exam question from Salesforce's Certified Platform Developer II
Question #: 238
Topic #: 1
[All Certified Platform Developer II Questions]

Consider the following code snippet, depicting an Aura component:

Which two interfaces can the developer implement to make the component available as a quick action? (Choose two.)

  • A. force:hasRecordId
  • B. force:lightningQuickAction
  • C. force:hasSObjectName
  • D. force:lightningQuickActionWithoutHeader
Show Suggested Answer Hide Answer
Suggested Answer: BD 🗳️
Reference:
https://developer.salesforce.com/docs/component-library/bundle/force:lightningQuickAction/documentation

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
code_breaker_27
1 year, 2 months ago
Selected Answer: BD
The question is about which two possible options can the developer use. I'm assuming its not asking the developer to use both at the same time.
upvoted 1 times
...
mageshrr
2 years ago
The correct answer is A & B, in fact, you can't implement both force:lightningQuickAction (B) and force:lightningQuickActionWithoutHeader (D) in the same Component.
upvoted 1 times
MrWilford
1 year, 5 months ago
In fact, it could be A & D as well. You can't implement both force:lightningQuickAction and force:lightningQuickActionWithoutHeader in the same component, that's right, but force:hasRecordId can be used with both force:lightningQuickActionWithoutHeader and force:lightningQuickAction. How will you make the choice then? B & D should be correct.
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 ...