Show Hide Filed Based on Profiled.

  • 1
  • Problem
  • Updated 3 years ago
  • Solved
I have make some filed read only for some profile in salesforce profile.
But when I am adding same filed in skuid page it is editable.
I think so this is the bug of skuid.
Because of this bug I cannot use field level security of salesfoce.
You need to provide some solution for this so when I make any field readonly from salesforce profile. It would be readonly on skuid page.

Give me workground for this.
Because my current system will not accept by client if this security is not there?

My Goal is to show hide some tables field and Detail page filed based on Sales Force Profile.
Photo of Rohit Vakhariya

Rohit Vakhariya

  • 1,054 Points 1k badge 2x thumb

Posted 3 years ago

  • 1
Photo of Zach McElrath

Zach McElrath, Employee

  • 49,056 Points 20k badge 2x thumb
Official Response
Rohit, the problem is that you are a System Administrator --- the System Administrator Profile by default has a System permission called "Edit Read Only Fields" that lets them ignore Field Level Security, giving them the ability to edit fields even if the field's Field Level Security says that the field should be Read-Only for that Profile. 

Go to the System Administrator Profile and go to System Permissions, and you will find this:




You will not have this problem with any other Profile, e.g. with a Standard User profile, Field-Level Security will be enforced exactly as you would expect, and Fields that should be Read-Only due to Field Level Security will appear as Read-Only in your Skuid Pages for Users for whose Profiles the fields are Read Only.