Associating Your CanvasLifecycleHandler with Your App
After you’ve created an Apex implementation class for CanvasLifecycleHandler, you
need to associate it with your canvas app by adding the class name to your canvas app
configuration settings.
Use the following steps to associate a Canvas.CanvasLifecycleHandler implementation with your canvas app.
- From Setup, enter Apps in the Quick Find box, then select Apps.
- Under Connected Apps, select the canvas app that you need to modify and click Edit.
- On the connected app edit page, under Canvas App Settings, add the Apex CanvasLifecycleHandler class name that you created into the Lifecycle Class field.