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
KelnyKelny 

APEX API field level security

Hello,

 

I am developing on non profit salesforce instance and have a problem with setting up field level security. There is an field "DoNotCall" in general fields, however I need to set Visible flag for all profiles. Is it possible to do this with APEX and if so could You please describe me how to do that?

 

Any help would be appreciated.

Thank You Jan

HaagenHaagen

Hi Jan,

 

no, you cannot do it with APEX. 

 

I do think you can do it via the Meta data API, but I am not sure. 

 

Martin

Mitesh SuraMitesh Sura
Hi Jan, I am hoping you have figured this out by now. Can you please share how were you able to manage FLS in apex?