+ Start a Discussion
Michele Kleinhomer 10Michele Kleinhomer 10 

Aura component

I have the following aura component that has been displaying the record content for external customer community login users. Sometime during the past few days something has changed & the users aren't able to see the content of the fields anymore. I verified that the profile has rights to the field. When logged in as an administrator, I can see the field data in the portal. Thoughts?
<aura:component description="NIIMBL_Project_Details"
                access="global"
                implements="flexipage:availableForAllPageTypes,flexipage:availableForRecordHome,force:hasRecordId,forceCommunity:availableForAllPageTypes">
    <aura:attribute name="ProjectID" type="String" />
    <aura:attribute name="showPublications" default="false"  type="Boolean" access="global"/>    
    <aura:attribute name="showProjectAbstract" default="false"  type="Boolean" access="global"/>    
    <aura:attribute name="showProjectHighlights" default="false"  type="Boolean" access="global"/>    
    <aura:attribute name="showWBSSummary" default="false"  type="Boolean" access="global"/>    
    <aura:attribute name="showImpacts" default="false"  type="Boolean" access="global"/>    
    
    <lightning:recordViewForm recordId="{!v.ProjectID}"
                              objectApiName="Project__c">
        <aura:if isTrue="{!v.showProjectHighlights}">
            <div class="slds-grid">
                <div class="slds-col slds-size_3-of-3">
                    <lightning:outputField variant="label-hidden" fieldName="Project_Highlights__c" />
                </div>
            </div>
        </aura:if>
                <aura:if isTrue="{!v.showProjectAbstract}">
            <div class="slds-grid">
                <div class="slds-col slds-size_3-of-3">
                    <lightning:outputField variant="label-hidden" fieldName="Abstract__c" />
                </div>
            </div>
        </aura:if>

        <aura:if isTrue="{!v.showWBSSummary}">
            <div class="slds-grid">
                <div class="slds-col slds-size_3-of-3">
                    <lightning:outputField variant="label-hidden" fieldName="WBS_Summary__c" />
                </div>
            </div>
        </aura:if>        
    </lightning:recordViewForm>
</aura:component>

 
Danish HodaDanish Hoda
Hi Michele,
Please check if the profiles are having read permission on the Project__c Object.