ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 323 - Certified Platform Developer II discussion

Report
Export

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
Answers
A.
Use the getSObjectType () method in an Apex class
B.
Create a design attribute and configure via App Builder
Answers
B.
Create a design attribute and configure via App Builder
C.
Set the object type as a component attribute.
Answers
C.
Set the object type as a component attribute.
D.
Add force:hasSobjectName to the implements attribute
Answers
D.
Add force:hasSobjectName to the implements attribute
Suggested answer: D
asked 23/09/2024
Ana Santos
40 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first