Skip to main content
added code
Source Link

We have person account enabled org we are unable to get some formula fields and __pc fields through lightning data service we chaecked FLS and everything look correct other fields are coming but formula fields are not being returned by lightning data service. We also added those field on the page layout and used layout ="FULL"

<aura:attribute name="account" type="Object"/>
    <aura:attribute name="simpleAccount" type="Object"/>
    <aura:attribute name="recType" type="String"/>
    <aura:attribute name="accountError" type="String"/>
    <aura:attribute name="SSN" type="String" />
    <force:recordData aura:id="accountRecordLoader"        
    fields="Test__c"        
    recordId="{!v.accRecId}"        
    layoutType="FULL"        
    targetRecord="{!v.account}"       
    targetFields="{!v.simpleAccount}"        
    targetError="{!v.accountError}"    />

<lightning:formattedText   value="{!v.simpleAccount.Test__c}" />

Any body having the same issue or faced something similar?

We have person account enabled org we are unable to get some formula fields and __pc fields through lightning data service we chaecked FLS and everything look correct other fields are coming but formula fields are not being returned by lightning data service. We also added those field on the page layout and used layout ="FULL"

Any body having the same issue or faced something similar?

We have person account enabled org we are unable to get some formula fields and __pc fields through lightning data service we chaecked FLS and everything look correct other fields are coming but formula fields are not being returned by lightning data service. We also added those field on the page layout and used layout ="FULL"

<aura:attribute name="account" type="Object"/>
    <aura:attribute name="simpleAccount" type="Object"/>
    <aura:attribute name="recType" type="String"/>
    <aura:attribute name="accountError" type="String"/>
    <aura:attribute name="SSN" type="String" />
    <force:recordData aura:id="accountRecordLoader"        
    fields="Test__c"        
    recordId="{!v.accRecId}"        
    layoutType="FULL"        
    targetRecord="{!v.account}"       
    targetFields="{!v.simpleAccount}"        
    targetError="{!v.accountError}"    />

<lightning:formattedText   value="{!v.simpleAccount.Test__c}" />

Any body having the same issue or faced something similar?

Source Link

__pc field is not showing force:recordData lightning data service

We have person account enabled org we are unable to get some formula fields and __pc fields through lightning data service we chaecked FLS and everything look correct other fields are coming but formula fields are not being returned by lightning data service. We also added those field on the page layout and used layout ="FULL"

Any body having the same issue or faced something similar?