Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <aura:component implements="flexipage:availableForRecordHome,force:hasRecordId,force:hasSObjectName" access="global" >
- <aura:attribute name="sObjectName" type="String" />
- <aura:attribute name="acctRecId" type="Id" />
- <aura:attribute name="recordId" type="Id" />
- <aura:attribute name="recFields" type="Object" />
- <force:recordData aura:Id="fullRecord"
- recordId="{!v.recordId}"
- layoutType="FULL"
- targetFields="{!v.recFields}"
- />
- <lightning:card title="Internship Work Site Details:" iconName="standard:account">
- <div class="slds-p-around_x-small">
- <lightning:recordViewForm recordId="{!v.recFields.InternshipWorkSite__c}" objectApiName="Internship_Work_Site__c">
- <lightning:outputField fieldName="Name" />
- <lightning:outputField fieldName="Amount__c" />
- <lightning:outputField fieldName="Price_Per_Seat__c" />
- <lightning:outputField fieldName="Specialty__c" />
- <lightning:outputField fieldName="Specialty__c" />
- </lightning:recordViewForm>
- </div>
- </lightning:card>
- </aura:component>
Add Comment
Please, Sign In to add comment