Plat-Dev-301 practice question 7 of 10

A developer is developing a reusable Aura component that will reside on an sObject Lightning pagewith the following HTML snippet:HTML<aura:component…

Choose your answer, then check it against the explanation.

A developer is developing a reusable Aura component that will reside on an sObject Lightning page

with the following HTML snippet:

HTML

<aura:component implements="force:hasRecordId,flexipage:availableForAllPageTypes">

<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?

Answer options
Question 7 of 10

Keep practicing

Take the free Plat-Dev-301 practice test

Ten exam-style questions with answers and explanations, plus the exam facts and study guides.

Start the free practice test

More questions

Other Plat-Dev-301 practice questions

Scroll to Top