I am creating a hundred or more fields on the account object. I was doing this to load test the account. Problem is none of those fields have their field level security set and I can't find a way to do this via the metadata api. Kind of defeats the purpose of using the api if I ultimately have to manually set each fields security level?

  • You system won't slow until you have 10000 or less records. Fields.doesn't matter – Ashwani Aug 21 '15 at 19:31

If you can fetch profiles using metadata api then you will only need to add required permission in those profiles and deploy them back.

It means, Profile object contains field permissions with other permission you only need to get those profile and update them.

| improve this answer | |
  • @Jason sure and let us know what you get – Ashwani Aug 21 '15 at 19:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.