You need to sign in to do that
Don't have an account?

few information on lightning tabs are visible to certain profiles and not others
Hello,
I have a tab "Environment" which is added to lightning page.
Few profiles see the details of "information tab" but few dont.
The lightning component (Environment) is added to tab the lighting page as shown.
Environment tab as 3 tabs (3 difflightning component), 1st tab information nd its details are only visible to certain profiles.
even the field inside the tab are not visible.
what can e reason please ?

thank you for suggestion
I have a tab "Environment" which is added to lightning page.
Few profiles see the details of "information tab" but few dont.
The lightning component (Environment) is added to tab the lighting page as shown.
Environment tab as 3 tabs (3 difflightning component), 1st tab information nd its details are only visible to certain profiles.
even the field inside the tab are not visible.
what can e reason please ?
enironmenTab.cmp <aura:component implements="force:appHostable,flexipage:availableForAllPageTypes,flexipage:availableForRecordHome,force:hasRecordId,forceCommunity:availableForAllPageTypes,force:lightningQuickAction" access="global" > <aura:attribute name="recordId" type="String"/> <lightning:tabset selectedTabId="one"> <lightning:tab label="Information" id="one"> <c:TabNameDetail recordId="{!v.recordId}"></c:TabNameDetail > </lightning:tab> </lightning:tabset> </aura:component>
thank you for suggestion
Can you please check and make sure your user have to Create, Edit rights on objects and Read/Edit access on individual fields?
Related post:
https://salesforce.stackexchange.com/questions/239805/i-need-to-restrict-access-to-users-from-seeing-using-lightning-custom-tab
https://salesforce.stackexchange.com/questions/317849/lwc-is-not-working-with-non-admin-profiles
If this information helps, please mark the answer as best. Thank you
All Answers
Can you please check and make sure your user have to Create, Edit rights on objects and Read/Edit access on individual fields?
Related post:
https://salesforce.stackexchange.com/questions/239805/i-need-to-restrict-access-to-users-from-seeing-using-lightning-custom-tab
https://salesforce.stackexchange.com/questions/317849/lwc-is-not-working-with-non-admin-profiles
If this information helps, please mark the answer as best. Thank you
If we want to show different set of components in Home page for different users, we can use ‘Set component visibility’ feature in lightning App Builder page to show or hide the component in home page.
Set component visibility:
Visibility for the component can be set based on
Logged in User record fields
Custom Permission
Using User record to set component visibility .
Choose the component in the Lightning Home Page builder and select set component visibility from left panel
Click add filter –> Choose Field –> User –> Choose field required to filter (for Ex: Role)
Provide the value for filter (for Ex: Admin)
Activate the Page for the app or app – profile
Using Custom permission to set component visibility
Step 1: Create a Custom Permission
Setup –> Custom Permission –> New
Enter the permission information:
Label – the permission label that appears in permission sets
Name – the unique name that is used by the API and managed packages
Description – optionally, a description that explains what functions the permission grants access to
Connected App – optionally, the connected app that is associated with this permission
Click Save
Step 2: Enable the custom permission to Permission set
Create new Permission Set or choose an existing one for which you want to enable the custom permission
In App section –> Choose Custom Permission to include the custom permission in Permission Set
Select the available custom permission that needs to be enabled for permission set and then click Save
Assign the permission set to the group of users who needs by clicking Manage Assignment