Guest User

Untitled

a guest
Jan 19th, 2018
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.26 KB | None | 0 0
  1. <aura:component implements="flexipage:availableForRecordHome,force:hasRecordId,force:hasSObjectName" access="global" >
  2. <aura:attribute name="sObjectName" type="String" />
  3. <aura:attribute name="acctRecId" type="Id" />
  4. <aura:attribute name="recordId" type="Id" />
  5. <aura:attribute name="recFields" type="Object" />
  6.  
  7. <force:recordData aura:Id="fullRecord"
  8. recordId="{!v.recordId}"
  9. layoutType="FULL"
  10. targetFields="{!v.recFields}"
  11. />
  12. <lightning:card title="Internship Work Site Details:" iconName="standard:account">
  13. <div class="slds-p-around_x-small">
  14. <lightning:recordViewForm recordId="{!v.recFields.InternshipWorkSite__c}" objectApiName="Internship_Work_Site__c">
  15. <lightning:outputField fieldName="Name" />
  16. <lightning:outputField fieldName="Amount__c" />
  17. <lightning:outputField fieldName="Price_Per_Seat__c" />
  18. <lightning:outputField fieldName="Specialty__c" />
  19. <lightning:outputField fieldName="Specialty__c" />
  20. </lightning:recordViewForm>
  21. </div>
  22. </lightning:card>
  23.  
  24. </aura:component>
Add Comment
Please, Sign In to add comment