Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

10
votes
1answer
2k 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 ...
10
votes
1answer
666 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 ...
8
votes
2answers
2k 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 ...
5
votes
2answers
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 ...
6
votes
1answer
1k 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 ...
5
votes
1answer
3k 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 ...
5
votes
2answers
3k 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 ...
1
vote
1answer
437 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 ...
48
votes
3answers
19k 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 ...
9
votes
1answer
453 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. ...
9
votes
1answer
2k 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 ...
5
votes
1answer
2k 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 ...
5
votes
1answer
1k 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 ...
4
votes
3answers
1k 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: ...
0
votes
1answer
1k 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 ...
7
votes
1answer
378 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 "...
4
votes
1answer
5k 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 ...
3
votes
1answer
168 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 ...
2
votes
0answers
430 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 ...
2
votes
1answer
300 views

how would Force.com Canvas SDK and canvas method “verifyAndDecodeAsJson” work with non-java platform? Is there any workaround?

I am using signed request as the method to POST the data to the canvas app. The canvas app is the SAP BSP page. I now seeing a big road block that I am not able to retrieve the values from the context ...
2
votes
1answer
6k 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 ...
1
vote
3answers
704 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 ...
1
vote
2answers
5k views

Failed to execute 'toDataURL' on 'HTMLCanvasElement': Tainted canvases may not be exported

I'm trying to create a thumbnail for the video using plyr - https://github.com/sampotts/plyr I can get the blob as in the below codepen: https://codepen.io/suryaiiit/pen/LeZwgr But when I try the ...
0
votes
1answer
194 views

Salesforce canvas App using OAuth JWT 2.0 Bearer flow

We are trying to build a POC on integrating Salesforce with a third party portal using canvas app. We have to embed this portal into Salesforce when a user logs into Salesforce. We have a local portal ...