List of questions
Related questions
Question 248 - Certified Platform Developer II discussion
A developer is developing a reuseable Aura Component that will reside on an sObject Lightning Page with the following HTML snippet:
<aura:component implements="force:hasRecordId,flexipage:availableForAIIPageTypesM>
<div>Hello!</div>
</aura:component> How can the component's Controller get the context of the Lightning Page that the sObject is on without requiring additional test coverage?
A.
Set the sObject type as a component attribute.
B.
Add force:hasSobjectName to the implements.
C.
Use the getSObjectTypeQ method in an Apex class.
D.
Create a design attribute and configure via App builder.
Your answer:
0 comments
Sorted by
Leave a comment first