+ Start a Discussion
Sam AlexSam Alex 

Go to new apex page after app installs


I have a app packaged. When I install it in a different user, after install is completed, I want to redirect the user to a apex page (also packaged with the app).

How to trigger that even after app installation is completed?

Thanks in advance.
Sameer Tyagi SFDCSameer Tyagi SFDC
Hi Sam, 

You can write a postintall class. 
Post install class is the functionality, It runs autometically after your package installation. You can call a pagereference return type method at last in class, which will redirect you on the desired page.

Here is the help article link 

Let me know if Solution works for you. 

Thanks & Regards, 
Sameer Tyagi