function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Frederick H LaneFrederick H Lane 

Controlling Access to Fields - Trailhead exercise; Create a Profile and Permission Set to properly handle field access

Having followed the instructions, I am still stumped with this exercise and the error merssahe;
"The 'Account Rating' permission set did not have the appropriate field-level security for the Account object"

I have created the field "Account Rating" 
Set the field accessibility to Basic Account Use
Field Level Security set to "Visible"

On the Profile, Basic Account User;
It has the Std Salesforce licence
Account Field Level Security to the Rating field is set to "Edit Access" and "Read Access"

No go. What am I doing wrong?
 
Amit Chaudhary 8Amit Chaudhary 8
NOTE:- you dont need to create new field . You need to use existing Standard field "Rating"
Please check below post for same issue i hope that will help you
1) https://developer.salesforce.com/forums/?id=906F0000000BNzFIAW
2) https://developer.salesforce.com/forums/?id=906F0000000BUghIAG
3) https://developer.salesforce.com/forums/?id=906F0000000AzmoIAC

Step1 Setup->Manage Users->Profiles->New Profile->Named:"Basic Account User"->save
Step2 In Basic Account User page-> Field-Level Security->Account[ View ]->Uncheck Rating Visible->save
Step3 Setup->Customize->Accounts->Fields->Rating->Set Field-Level Security->Uncheck Basic Account User Visible->save

Step4 Setup->Manage Users->Permission Sets->New->Named : Account Rating->save
Step5 Click Account Rating-> Apps Object Settings->Accounts->Check both permissions of Rating

 
Titane PhamTitane Pham
thanks bro :)