List of questions
Related questions
Question 323 - Certified Platform Developer II discussion
A developer is developing a reusable Aura component that will reside on an sObject Lightning page with the following HTML snippet:
Caura: component implements-"forcethaaRecordid, flexipage:availableForAllPageTypes">
<div>Hello!</div>
</aura:component> How can the component's controller get the context of the Lightning page that the sobject is an without requiring additional best coverage?
A.
Use the getSObjectType () method in an Apex class
B.
Create a design attribute and configure via App Builder
C.
Set the object type as a component attribute.
D.
Add force:hasSobjectName to the implements attribute
Your answer:
0 comments
Sorted by
Leave a comment first