Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<aura:component controller="FetchData" implements="force:appHostable,flexipage:availableForRecordHome,force:hasRecordId">
<!--forceRefreshViewComp-->
<aura:handler name="init" value="{! this}" action="{! c.doInit}" />
<aura:handler event="force:refreshView" action="{! c.doInit}" />
<aura:attribute name="account" type="Account" />
<lightning:card title="Account Detail">
<div class="slds-m-horizontal_small">
<Strong>Account Name:</Strong> {! v.account.Name} <br/>
<Strong>Clean Status:</Strong> {! v.account.Type}
</div>
</lightning:card>
</aura:component>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.