Questions tagged [canvas]

Force.com Canvas is a set of tools and JavaScript APIs that you can use to expose an application as a canvas app.

Filter by
Sorted by
Tagged with
10 votes
1 answer
3k views

Can I embed a Salesforce app, via Canvas, in another org?

Here is the situation (And I am still new to this platform)... We are building a product using the Force.com Embedded (OEM) model. For clients with existing salesforce org, we would like to have ...
Zuber's user avatar
  • 217
10 votes
1 answer
751 views

Winter 16 canvas iframe behavior change

We have Winter 16 preview sandbox and can see that Canvas App is rendered now as iframe in iframe (there is outer and inner iframes now). Before this release there was just one iframe. For now I'm not ...
Victor's user avatar
  • 413
7 votes
1 answer
4k views

Canvas App in Lightning Component

I'm trying to port some Visualforce functionality to Lightning and struggling with an embedded canvas application. After some trial and error I have the canvas app displaying, but the number of ...
Bob Buzzard's user avatar
  • 19.9k
6 votes
2 answers
5k views

Canvas Publish/Subscribe and Javascript

I am trying to hack together a Canvas App so I can understand the Publish/Subscribe Model. I have a VF page in a dev org calling a URL in a SFDC Prod Org (so it has HTPPS) that just displays another ...
BritishBoyinDC's user avatar
5 votes
2 answers
2k views

Expose Lightning App via Sites (and embed via Canvas)

I have a Lightning app, that I would like to embed in another Salesforce org via Canvas Connected App. It's not a problem with Visualforce pages, but Lightning apps are no option in the "Active Site ...
nisseknudsen's user avatar
63 votes
3 answers
26k views

What's the practical difference between canvas & connected apps?

Question What's the point of canvas vs. connected apps, and what should I be thinking about when choosing between them? Background We're in the process of building out a couple tools that will be ...
Ralph Callaway's user avatar
10 votes
2 answers
4k views

How to fire an event from a canvas app, to a lightning component

I have a canvas app thats running inside a lightning component. There are tons of articles about how to fire events in every other permutation of lightning, visualforce and canvas, but I can't find a ...
Paul's user avatar
  • 101
10 votes
1 answer
3k views

Canvas app - verify signed request

i am following the canvas app documentation to verify a signed request before using the parameters i am passing in the canvas app request. The canvas app is embedding a third party app in salesforce. ...
RedDevil's user avatar
  • 7,811
10 votes
1 answer
3k views

Passing data from Canvas App to VF page

I am struggling to understand how pass a value back to a VF page that contains a Canvas App. If I understand the documentation correctly I need to create a publish event in my app, so I have the ...
Frank's user avatar
  • 173
8 votes
2 answers
843 views

Default Permitted Users to "Admin approved" in connected Apps with installed Packages

I've built a Canvas App using Signed Requests and therefore I need the Permitted Users option set to "Admin approved" (otherwise Salesforce doesn't send any Signed Request). I've set this option to "...
Quentin Renard's user avatar
6 votes
1 answer
2k views

Control Managed Package Connected App Permission Set from managed code

I'd like to deploy a Canvas Connected App as part of a managed package and be able to dynamically assign users access to it via a Permission Set. The Canvas App is using the Signed Request (Post) ...
Daniel Ballinger's user avatar
6 votes
1 answer
2k views

Using Canvas client-side proxy to access Apex REST API from Visualforce page

Is it possible to use the client-side proxy provided by the Canvas SDK from a canvas app embedded within a Visualforce page to access an Apex REST endpoint? We have a canvas app which calls an Apex ...
xn.'s user avatar
  • 2,448
6 votes
2 answers
11k views

Error rendering Force.com Canvas application

Unable to find any solution on web related to this issue? I am trying to run Hello World(Quick start - Advance section of Canvas guide) application. Hello World application is running on my local ...
user4936's user avatar
6 votes
1 answer
2k views

Canvas App started sending GET instead of POST

I have a canvas app that is setup to use the signed request (POST) access method, and when I test the app via either the tab that it creates or the canvas app previewer it sends my webserver a POST ...
user8246's user avatar
  • 293
5 votes
1 answer
3k views

Salesforce Canvas cross-domain issue

I'm doing a PoC with canvas. The connected app is an instance of PeopleSoft. The integration is done but with some difficulties. I'm getting a cross-domain error in the browser when some of the ...
dangt85's user avatar
  • 165
4 votes
1 answer
343 views

Create canvas app using Apex

Is it possible to create a canvas app using Apex? We're trying to distribute a managed package that has an easy install process for the user. Our back-end server requires that each customer has a ...
Chris S.'s user avatar
4 votes
3 answers
2k views

Canvas Signed Request not sending refresh_token

I have a canvas a app that I distribute via a managed package on the AppExchange. The canvas app is configured to post a signed request to my heroku app. I have selected all the oauth scope options: ...
rumdumdum's user avatar
  • 695
3 votes
1 answer
238 views

Open CTI methods don't work in canvas application (source origin's function returning false)

I'm facing following issue. When in my canvas app i'm trying to use some openCTI methods, for example sforce.interaction.getPageInfo(myCallback); And nothing happens. Callback never called. After ...
Andrey's user avatar
  • 31
3 votes
2 answers
2k views

Publish Custom Canvas App Event from Lightning Aura Component to the Canvas App

We're currently using an aura component with the <force:canvasApp> component to embed our Canvas App. As mentioned in the answer to this post, Sfdc.canvas is not fully exposed to the aura ...
Brian Miller's user avatar
  • 5,212
2 votes
1 answer
8k views

Canvas app is not working because of 'X-Frame option' in response header of external site

I have created an canvas app, in that I'm trying to access one external website. But when I'm trying to access that external website I'm getting error as Refused to display 'external url' in a ...
Tushar Kumawat's user avatar
2 votes
0 answers
538 views

Configuring a Lightning Component via a Canvas App

I'm wondering if it is possible to configure a Lightning Component via a Canvas App? The scenario would be: User drags Lightning Component into a Community Page via the Community Builder. The ...
kev_panda's user avatar
  • 656
1 vote
1 answer
785 views

Canvas Developer Guide / Run the Web App Locally

I try to run Web app locally following all instructions in Canvas Developer Guide. But get next exception: HTTP ERROR 500 Problem accessing /examples/hello-world/index.jsp. Reason: PWC6033: Unable ...
I.Kliavakin's user avatar
1 vote
3 answers
1k views

Implementing the self-authorization flow of signed request authentication for a canvas app

I'm working on a canvas app which will allow an existing web app to be viewed through canvas. I have the app working with Signed Request authentication, which works fine when permitted users is set to ...
olane's user avatar
  • 183
1 vote
1 answer
476 views

Cannot read any details of a installed connected app via Metadata API

I have installed a connected app with the help of a package. And now I want to update it's metadata like 'Canvas App URL' with the help of Metadata API. First of all, I tried to read all information ...
Nilang Pandey's user avatar
0 votes
1 answer
2k views

Unable to retrieve context in canvas app when authenticating with oauth

I’m having trouble authenticating my canvas app using oauth2. This is despite being able to authenticate and connect via other means. The following is my problem in detail… I’ve configured a ...
Michael Balint's user avatar