Lightning Page with...
 
Notifications
Clear all

Lightning Page with the following HTML snippet:

1 Posts
1 Users
0 Likes
190 Views
(@bulluckrolando)
Noble Member
Joined: 2 years ago
Posts: 664
Topic starter  

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.

Show Answer Hide Answer

Suggested Answer: B

   
Quote

Latest Salesforce PDII Dumps Valid Version

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund
Share: