Salesforce Certified Platform Developer II (Plat-Dev-301) PDII Question # 32 Topic 4 Discussion

Salesforce Certified Platform Developer II (Plat-Dev-301) PDII Question # 32 Topic 4 Discussion

PDII Exam Topic 4 Question 32 Discussion:
Question #: 32
Topic #: 4

A developer is developing a reusable Aura component that will reside on an sObject Lightning page with the following HTML snippet:

PDII Question 32

How can the component"5 controller get the context of the Lightning page that the sObject is on without requiring additional test coverage?


A.

Add force:hasSobjectName to the implements attribute.


B.

Use the gerSubjectType method in an Apex class.


C.

Set the sObject type as a component attribute.


D.

Create a design attribute and configure via App Builder.


Get Premium PDII Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.