Because Force.com Canvas runs in a multitenant environment, limits are enforced to ensure protection of shared resources.
Limit Description
50 Number of canvas apps per user that can be displayed on the Chatter tab. Only the first 50 canvas apps are displayed (sorted alphabetically).
5,000
This includes SDK calls to get context and signed request calls.
Note that when you call a SignedRequest method, there are actually Number of Force.com Canvas calls per day per user (24–hour
period)
two calls that are made—one call for the method and one call for internal logging.
100
Heroku accounts have their own limits on the number of calls you can make.
Heroku Quick Start calls per day per user
SEE ALSO:
Introducing Force.com Canvas Quick Start
Quick Start—Advanced
INDEX
A
apex:canvasApp component entityFields attribute55
Returning fields in the Record object55 Application object91
Associating a CanvasLifecycleHandler with an app79 Attributes object96
in a mobile card60 in a page layout60 in Chatter feed68 in the publisher63
listening for Streaming API events47 resizing40, 56
Visualforce56 Visualforce pages50
where they appear in the user interface2 where they can appear in a page layout61 Canvas apps in Salesforce1
set the location72 Canvas apps in the publisher
create the action manually64
set the location and create the action64 canvas personal apps
administration of8 distribution of7
enabling in an organization8 how users install7
Associating a CanvasLifecycleHandler with an app79 Controlling canvas app behavior80
Creating a new CanvasLifecycleHandler79 Distributing your CanvasLifecycleHandler class83 Filtering CanvasRequest context data80 onRender()80
Presenting user error messages81
Testing your CanvasLifecycleHandler implementation82 CanvasRequest
canvas app access considerations when exposing a canvas app in the feed69
context considerations when exposing a canvas app in the feed69
Client object88 Code examples
events, creating an event45 events, subscribing to an event46 events, unsubscribing from an event47 exposing canvas app on a Visualforce page51 getting context38
OAuth flow37
publishing a canvas app in Visualforce by calling publish57 resizing, automatically resizing a canvas app by calling
autogrow41
resizing, explicitly resizing a canvas app by calling resize41 resizing, explicitly resizing a canvas app in a Visualforce page
by calling resize58
resizing, getting the size of a canvas app by calling size42 resizing, handling orientation changes by subscribing to the
orientation event43
resizing, subscribing to events by calling subscribe58 resizing, subscribing to parent events by calling subscribe
43
Code examples (continued)
resizing, unsubscribing from events by calling unsubscribe 59
Streaming API, creating a Streaming API event48 Streaming API, subscribing to a Streaming API event by
calling subscribe48
Streaming API, unsubscribing from a Streaming API event by calling unsubscribe49
verifying and decoding a signed request29 XHR, getting a list of Chatter users39 XHR, posting to a Chatter feed40 Context getting from canvas app38 Links object98
Controlling canvas app behavior80 Creating a new CanvasLifecycleHandler79 Cross-domain XHR39
Customizing app lifecycle
Associating a CanvasLifecycleHandler with an app79 Controlling canvas app behavior80
Filtering CanvasRequest context data80 Presenting user error messages81
D
Debug49
Dimensions object94
Distributing your CanvasLifecycleHandler class83
E
subscribing to, code examples46Events (continued)
unsubscribing from, code examples47 Events code examples
creating an event45 subscribing to an event46 unsubscribing from an event47
F
Filtering CanvasRequest context data80 Force.com Canvas scenarios2
Force.com Canvas SDK
hosted on Salesforce server26 publisher events65
I
Introduction to Force.com Canvas1
L
Limits105 Links object98
M
Mobile card
canvas apps, adding to60
N
handling in your canvas app43
P
Page layout
add a canvas app61 canvas apps, adding to60
canvas apps, where they can appear61 Parameters object97
Presenting user error messages81 Process for creating a canvas app5 Publisher
canvas app access considerations when exposing a canvas app in the publisher67
canvas apps in63 Index
Publisher (continued)
context considerations when exposing a canvas app in the publisher66
Publisher events65 Publishing code examples
publishing a canvas app in Visualforce by calling publish57
Q
Quick start
create the app11 introduction10 prerequisites11 set the app location12 Quick start—advanced
clone the “hello world” project15
configure who can access the canvas app19 configure who can access the installed canvas app24 create the canvas app17
deploy the “hello world” Web app to Heroku20 install the canvas app23
introduction14
package the canvas app22 prerequisites15
run the Web app locally16 update the canvas app21 upload the canvas app package23
R
Record object95
Record object examples96 Resizing40, 56
Resizing code examples
automatically resizing a canvas app by calling autogrow41 explicitly resizing a canvas app by calling resize41 explicitly resizing a canvas app in a Visualforce page by calling
resize58
getting the size of a canvas app by calling size42 subscribing to events by calling subscribe58 subscribing to parent events by calling subscribe43 subscribing to the orientation event43
unsubscribing from events by calling unsubscribe59
S
Salesforce1
access considerations when exposing a canvas app in Salesforce173
canvas apps in71
context considerations when exposing a canvas app in Salesforce172
Salesforce1 (continued)
icon considerations when exposing a canvas app in Salesforce174
SAML SSO38 SDK Objects85
select tag in a canvas app49 sfdc.streamingapi event48 Signed request
verifying and decoding29 Signed request authentication26, 33 SignedRequest
object103
SignedRequest object103 Streaming API47
Streaming API code examples
subscribing to a Streaming API event by calling subscribe48 unsubscribing from a Streaming API event by calling
unsubscribe49 Streaming API event48 Supported browsers3
Supported Salesforce Editions3
T
Testing your CanvasLifecycleHandler implementation82
U
apex:canvasApp component entityFields attribute55 canvas app code examples51
canvas apps, exposing50
considerations when exposing a canvas app52
W
Where canvas apps appear2
X
XHR39
XHR code example
getting a list of Chatter users39 posting to a Chatter feed40 Index