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
PSahuPSahu 

How to add a record of custom object on the installation of package?

How to add a record of custom object on the installation of package i am trying in controller but it says DML not allowed
JeffreyStevensJeffreyStevens
Are you the developer of the package?  If so, there is a post install script that you have the specify as part of the package setup.