You need to sign in to do that
Don't have an account?
Lee Anne G
Build Flexible Apps with Lightning Components - Use Base Lightning Components wrong?
Hi, I did Part 4 of Build Flexible Apps with Lightning Components - Use Base Lightning Components - Part 4. The code shown in number 1 would not display the Property Name until I changed it from <lightning: outputField fieldName="Name /> to <lightning: outputField fieldName="v.property.Name" />
<aura:component > <aura:attribute name="property" type="Property__c" /> <lightning:recordViewForm aura:id="viewForm" recordId="{!v.property.Id}" objectApiName="Property__c"> <lightning:outputField fieldName="v.property.Name"/> </lightning:recordViewForm> </aura:component>
This worked for me. Did you save the file and refresh the Property detail page.I was able to see only after refreshing the page.
Please mark it as solved if my reply was helpful. It will make it available for other as the proper solution.
Best Regards
Sandhya