I am adding custom profile in the package, however when installing the custom profile is not created in my org. After more investigating, if I created the custom profile before the installation the package can update the fls and permissions.

Is there is no way creating a custom profile on package installation? If so can I do that with an installation script?


Profiles cannot be created automatically by installing. If you set up some profile setting then its settings will be applied to existing matching profiles on target Organisation. You have to manually create that profile before/after installation. But you can setup permission sets by installing.

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.