0

I need to deploy a new class with profile access. Is it fine to include only that class in the profile metadata while deploying and it wont override the existing access or Do we need to consider all the apex class which profile is having in the metadata.

Also, it wont override the object and field access if we deploy the apex class access only using the profile

  • Also, see my answer here, basically says the same thing. – sfdcfox Apr 7 at 2:09
2

Is it fine to include only that class in the profile metadata while deploying and it wont override the existing access

That is correct. Other Apex classes permissioned by this profile will be unaffected if not explicitly permissioned in what you deploy.

Also, it wont override the object and field access if we deploy the apex class access only using the profile

Correct. Other aspects of the profile will be unaffected unless you include them in your deployment.

| improve this answer | |

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.