You need to sign in to do that
Don't have an account?
Specify PostInstall class
Hey all,
it should be possible now to create an apex class that executes some code after a package is installed.
http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_install_handler.htm
Here in this document, at the bottom of page 188 it says:
http://www.scribd.com/doc/97452753/205/Running-Apex-on-Package-Install-Upgrade
"Once you have created and tested the post install script, you can specify it in the Post Install Script lookup field on the PackageDetail page. In subsequent patch releases, you can change the contents of the script but not the Apex class. The class selection is also available via the Metadata API as Package.postInstallClass. This is represented in package.xmlas a <postInstallClass>foo</postInstallClass> element."
I searched and I searched, but I couldn't find the place where I can specify which is my post install class.
Can you point me into the right direction?
Many thanks,
Nikolay
Jeff
I don't have such a link. Any idea why that might be?
So you can see your package in the list of packages, but there is no edit link?
Are you logged in as a System Administrator? If not, there may be a particular permission that you need.
I can see the package and can see the edit link, but when I press it the only fields that are there are:
Package Name, Language, Configure Custom Link, Notify on Apex Error, Description, Created By
I should have all required permissions, after all it's my dev environment and I created that package.
It seems that this features will not be available until the release of summer 12.
http://boards.developerforce.com/t5/General-Development/Could-not-see-PostInstall-field-on-the-Package-Detail-page/td-p/447143