You need to sign in to do that
Don't have an account?
Steve Connelly
Lightning component quit working for users recently
We have a custom lightning component used to show users Account Team members on an account related list. This has worked fine for a couple of years.
Looks like this as a widget on the account page created via Lightning Component:
This is the regular Account team related list:
Now, suddenly, only admins can see the results in the Lightning Component. Other profiles see the widget with an error:
They can still see the Account Team in the regular related list.
NOTE, the error is the error detailed in the code for the component.
Has anyone else seen something like this? could it be a new permission that we have to add to our profiles?
What can Admins still see the results?
So I don't know if this is a change that requires us to change component code or a change that we need to address in profiles.
This component has been working fine for years and now it suddenlt quits.
Any thoughts or ideas on this one?
Steve
Looks like this as a widget on the account page created via Lightning Component:
This is the regular Account team related list:
Now, suddenly, only admins can see the results in the Lightning Component. Other profiles see the widget with an error:
They can still see the Account Team in the regular related list.
NOTE, the error is the error detailed in the code for the component.
<aura:component implements="flexipage:availableForRecordHome,force:hasRecordId" access="global" controller="AccountTeamHelper"> <aura:handler name="init" value="{!this}" action="{!c.doInit}" /> <aura:attribute name="TeamMembers" type="AccountTeamMember[]" /> <lightning:card title="Account Team" iconName="custom:custom103"> <div style="margin: 0px 5px"> <p class="slds-p-horizontal_small"> <aura:if isTrue="{!v.TeamMembers.length > 0}"> <aura:iteration items="{!v.TeamMembers}" var="member"> <!-- <span style="display: inline-block; margin: 3px;"><lightning:avatar src="{!member.User.SmallPhotoUrl}" alternativeText="(Avatar)" fallbackIconName="standard:avatar" variant="circle" /></span> --> <span><a href="{!'/one/one.app#/sObject/' + member.User.Id + '/view'}">{!member.User.FirstName} {!member.User.LastName}</a> - {!member.TeamMemberRole}</span><br/> </aura:iteration> <aura:set attribute="else"> No account team members have been assigned to this account. </aura:set> </aura:if> </p> </div> </lightning:card> </aura:component>I am wondering if there was a change in the latest release that could have caused this.
Has anyone else seen something like this? could it be a new permission that we have to add to our profiles?
What can Admins still see the results?
So I don't know if this is a change that requires us to change component code or a change that we need to address in profiles.
This component has been working fine for years and now it suddenlt quits.
Any thoughts or ideas on this one?
Steve
Check if other profiles have access to 'AccountTeamHelper' controller?
Thanks