Create the Action Manually
If you didn’t select the Create Actions Automatically field when you created the canvas app, then you’ll need to create the action manually.
-
From Setup, enter
Actionsin theQuick Findbox, then select Global Actions -
Click New Action.
-
In the
Action Typefield, select Custom Canvas. -
In the
Canvas Appfield, select the canvas app that you want to appear as an action.Only canvas apps that have a location of Publisher will appear in this field.
-
In the
Heightfield, enter the height of the canvas app in pixels.This is the initial height of the canvas app when it appears in the publisher. You can use the Canvas SDK
resize()method to change the height up to a maximum of 500 pixels. -
In the
Labelfield, enter a value.This value appears as the quick action title in the user interface.
-
In the
Namefield, enter a unique value with no spaces. -
Optionally, in the
Iconfield, you can upload an icon by clicking Change Icon. You must upload the icon as a static resource before you can change it here. -
Click Save.
For the canvas app to appear as a quick action, you must add the action to the global layout. See “Customizing Global Publisher Layouts” in the Salesforce Help.
See Also