I am an admin coming in after a third-party developer created a lot of custom content for our org's community portal. I am trying to make an addition to our portal content by accessing one of the lightning components the developer created. A snippit of the code is listed below:
<aura:if isTrue="{!v.getCoach}">
<div class="AAA_profile">
<figure class="AAA_profile-image">
<img src="{!v.infoCoach.FullPhotoUrl}" />
<figcaption style="{! 'color: #' + v.themeColor}">College Coach</figcaption>
</figure>
<div class="AAA_profile-info">
<div class="profile-name">{!v.infoCoach.Name}</div>
<div class="profile-phone">{!v.infoCoach.Phone}</div>
<div class="AAA_btn-container">
<button class="{! join(' ' , 'AAA_btn', 'theme' + v.themeColor)}" onclick="{!c.jumpToContact}">Contact</button>
</div>
</div>
</div>
</aura:if>
My goal is do add a new line after this code line
<dive class="profile-phone">{!v.infoCoach.Phone}</div>
That references another part of the user record. For example
<dive class="profile-phone">{!v.infoCoach.Custom_Field__c}</div>
Unfortunately, no dot notation fields I have tried using this method have worked. Raw text entered in works fine, such as the example below, but any dot notation other than .Name and .Phone come up blank on the community portal facing side.
<dive class="profile-phone">Raw text example</div>
I have confirmed that the custom field I am trying to access (.Custom_Field__c) is visible for customer community users, so I am stumped on why the custom field does not populate.
Edit: The HELPER code I found for coach info is as follows:
/* Download the information about the coach*/
loadCoach: function(cmp, ev, helper) {
var action = cmp.get('c.getCoachProfile');
action.setCallback(this, function(resp) {
cmp.set('v.infoCoach', resp.getReturnValue());
});
$A.enqueueAction(action);
},
<aura:component implements="forceCommunity:availableForAllpageTypes" controller="AAA_ProfileController">
, but I don't see "AAA_ProfileController" anywhere else in the component