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
jmasl7jmasl7 

Determining Field Level Security Through Salesforce.com API

Hello,

is it possible to use the Salesforce.com API to determine which fields are visible to a specified Profile and which of these are read-only?

I thought this information might be accessible from the Profile object, but as far as I can tell it isn't.

Thanks in advance

Regards

John
SuperfellSuperfell
describeSObject includes the results of applying FLS from your profile. You cannot get this info for another profile.
jmasl7jmasl7
Thanks Simon
tstrongtstrong
Is there any way to migrate changes to a field's field level security from a sandbox to production through Eclipse or Change Sets, or do these changes need to be made manually in production?
eleemoodyeleemoody
Same question here...so far we've had to make the updates manually.
hokusaihokusai

I also have this question. 

seahorceseahorce

With the new Change Set feature of migrating profiles with your metadata changes, the field-level security should carry over with the field and profile combo.  I haven't tried it yet though. 

 

Should be the same in Eclipse.  You have to push fields and profiles together to get the field-level security settings.