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.

2
votes
1answer
55 views

Canvas app inside managed package that connects to configurable endpoint

Our customers have versions of our Java web app installed in their data center. I want to build a managed packaged Salesforce App that is able to connect to those web app instances using Salesforce ...
0
votes
0answers
21 views

“Browsing session has ended or is invalid” when loading Canvas in DX scratch org

I followed this Salesforce tutorial to get a Canvas connection working in a DX scratch org. I'm quite sure I configured everything right but the Canvas on the page always shows Canvas - ...
1
vote
2answers
40 views

Send custom data (100k) to a Canvas URL

I am planning on using Canvas to lightweight integrate an external web app. In the documentation (https://resources.docs.salesforce.com/218/latest/en-us/sfdc/pdf/canvas_framework.pdf) I wasn't able to ...
0
votes
0answers
12 views

Canvas app from heroku wont display from component

<aura:component implements="force:appHostable,flexipage:availableForAllPageTypes" access="global" > <force:canvasApp developerName="pong_test" namespacePrefix="" /> </aura:...
0
votes
1answer
40 views

How do I use Salesforce Canvas to function like an Iframe?

Any guides to help me get started with Canvas in Salesforce? Need to use it for an Iframe replacement and the guides I have read feel like they skip a big section of how to use it.
0
votes
0answers
11 views

Canvas app not showing on Chatter tab

I want to display my Canvas app on Chatter tab so I set it up and it's displaying on Salesforce Classic just fine. But once I switch to Lightning it's no longer display on Chatter tab. How can I ...
1
vote
0answers
14 views

How to configure HTTP request headers for a Canvas app

I’m trying to create a Canvas app where the URL is served by a CDN. Salesforce is setting 'cache-control: no-cache' in the request header and this is causing the request to fail with status 403 along ...
1
vote
1answer
58 views

Consume external REST API user-aware (without having to re-login)

I have an Apex class that is consuming a partners REST webservices. Currently all users of my app (in the installed org) access the service via a single API Integration user. We now want make the ...
0
votes
1answer
114 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 ...
1
vote
0answers
19 views

Canvas app signed request 'content type' header is always using 'application/x-www-form-urlencoded'. Can this be set to application/json?

We have a situation where our APIs do not accept a content type of 'application/x-www-form-urlencoded' and I can't figure out how to force the canvas app configuration to use another content type that ...
3
votes
1answer
142 views

What are the differences between a Lightning Container and a Canvas App?

Both lightning:container and Canvas Apps (which themselves can be embedded into Lightning components using force:canvasApp) seem to be doing similar things. Both of them allow you to embed external ...
0
votes
0answers
13 views

canvas app not passing the signed request when the customer org has SSO

we developed a managed package that includes visualforce with canvas app that displays a third app. the third app required SSO in order to login. I have installed my package on ED environment and ...
8
votes
1answer
232 views

Canvas App (or equivalent) for Lightning Web Components

We are currently using the force:canvasApp lightning component to embed an external site securely into Salesforce. The Spring '19 release is introducing Lightning Web Components as the future of ...
0
votes
1answer
54 views

Canvas adapter / Tableau dashboard

Using the canvas adapter for SFDC, I am trying to embed a Tableau Dashbaord into the account page. Below is the code i am using. The problem is that it is not properly passing the parameter. <...
2
votes
0answers
240 views

Canvas App Previewer gives “Cannot POST /” error for Node app

I'm running a node app on heroku that that I am trying to pull into a Canvas App, The Canvas App Preview error simply says "Cannot POST/". When I look at my node server debugger for local host it says ...
7
votes
2answers
152 views

How to get Canvas working, need pointer to simple instruction

The Salesforce Canvas Developer Guide states: "Canvas enables you to easily integrate a third-party application in Salesforce". And then it needs more than 100 pages to explain how to do this. OK, ...
0
votes
0answers
48 views

How to enable community users to log in to a canvas app embedded as tab in salesforce?

I have a canvas app showing 3rd party portal , embedded in VF page and shown as tab in salesforce org. I want to grant access to community users to this tab, which should be a seamless login without ...
1
vote
1answer
75 views

How to consume window.parent.postMessage from a third party application in SFDC Canvas?

We are implementing SFDC and trying to integrate with a third party (different team within same organization) application using Canvas approach. This third party application is being currently used as ...
0
votes
1answer
171 views

How do I integrate my canvas app in lightning

I have a canvas app (iframe) working perfectly in SalesForce Classic. How do I integrate it into Lightning?
0
votes
1answer
28 views

Canvas installation in another SalesForce works but can't find button in Chatter

I have created a Canvas app and it runs perfectly on SF developer account 1. In SF developer account 1 it appears on the Chatter tab as a button in the left menu (classic mode). I create a package and ...
9
votes
1answer
61 views

Position of select options in connected canvas app

I have a connected app that is being used to iframe in an external web application as a apex:CanvasApp. This works well, except something has started occurring with HTML select controls in Chrome 67....
0
votes
0answers
19 views

Salesforce integration with Java application deployed on weblogic

We have adf application which is deployed on weblogic12213 server. This is connected to salesforce using canvas (iframe). We are not getting signed_request which was sent by salesforce as post ...
1
vote
0answers
98 views

Canvas App not showing in Chatter in Lightning UI

I have created a Canvas App and I have enabled it for everything including Chatter. I am able to preview the Canvas App and it also shows up as a Quick Action. However, while in SF Classic I can see ...
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. ...
1
vote
1answer
44 views

UI integration with Salesforce

We are trying to setup an external app (as a footer item) in Service Console. Upon clicking of this, the external app would be opened in a new window and SFDC would pass the member ID and do a search ...
1
vote
0answers
51 views

Running Tableau in Canvas App

I am looking to embed a Tableau report inside one of our SFDC communities. I am planning on creating a separate tab inside of the community so that everybody has access to the report. Will each ...
0
votes
0answers
48 views

Link Salesforce Canvas App

We have canvas app in our managed packaged. Now we want to link canvas app directly from Contact object component. How do we link . Also can we provide additional parameters to canvas app from this ...
1
vote
0answers
120 views

Canvas in visualforce page is not capturing data when used in touch screen devices

I have a requirement to capture user's signature using <canvas> and save it to a record. It is working with mouse but not when using touch screen devices like mobile phones. Below is my code: &...
6
votes
1answer
297 views

Canvas URL and postMessage

I'm trying to determine if this is an unsupported Canvas scenario or if there's something misconfigured in the org or the browser that would otherwise allow it to succeed. For the purpose of ...
0
votes
1answer
73 views

Canvas app direct link

We have canvas app which loads list of items. (Here all oauth is established). From this user is able to click on individual link to open the item details from there. Now I am looking for direct way ...
1
vote
0answers
59 views

Canvas app framing issue (how to define domain of RemoteAccessAuthorizationPage.apexp)

We implemented a tool which uses salesforce oauth. This tool should be included into an opportunity page as canvas app. First of all: The oauth2 workflow works fine when I open the tool in a new ...
2
votes
1answer
62 views

Canvas app issue

I was playing with Canvas app in my Trailhead Play Ground (TP). I have implemented Canvas in TP successfully but very time I have received below error. However, I have implemented same Canvas app in ...
0
votes
0answers
252 views

Pass dynamic parameters to SAML response in a connected app

I have a connected app that uses SSO (and thus it points to a SAML certificate). I include a canvas app in a Lightning component via force:canvasApp tag like the following: <force:canvasApp ...
1
vote
0answers
193 views

Setting height and width of Canvas app using force:canvasApp

We're exploring using force:canvasApp in a community. We are finding that the height and width declarations specified by force:canvasApp don't seem to be having any effect on the displayed component. ...
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 ...
1
vote
0answers
122 views

How to create, package, and install Canvas application in Salesforce Lightning org?

I am creating a canvas application in Salesforce Lightning, in which I am using just a link of my website to show that website in canvas to have my website looks like working in Salesforce Lightning. ...
1
vote
1answer
22 views

Does entire application needs to pass through review if we have integration with our external setup

We have integrated our app into salesforce nd it used few of our APIs from saleaforce code. So in review process, does entire external app needs to be reviewed or only the APIs which were called from ...
1
vote
1answer
115 views

Setting a cookie in a canvas app?

I have a Java application that sets a cookie: Cookie keks = new Cookie("Demo","WeLoveCookies"); keks.setHttpOnly(true); keks.setSecure(true); keks.setPath("/"); response.addCookie(...
2
votes
0answers
474 views

Frame Ancestors for Content Security Policy headers for Canvas App

I'm working on a canvas app. I need to prevent it from being iframed from unauthorized sources. The problem is I don't know what to set as the CSP frame-ancestors in the headers for my canvas app. It ...
3
votes
1answer
56 views

Connected App showing in App Menu

While creating a connected app, it is automatically added to the App Menu. Is there a way to prevent a connected app being added automatically to App Menu? FYI: I am creating connected app via ...
0
votes
1answer
134 views

Error in canvas: this.getUrlParameters is not a function

I'm using canvas app from visualforce page. During the communication, when button clicked in the page, it publish event, and this should cause the canvas to create attachment(s) in SF. But I'm keep ...
3
votes
1answer
109 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 ...
3
votes
1answer
278 views

Is it possible to use a canvas app with the community guest user?

I have a canvas app that I would like to expose on a customer community that would query data on behalf of the user. I would like for this page to be available on the public facing pages and use the "...
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
141 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 ...
2
votes
1answer
48 views

Security Review on links to webpages from external application

I am developing an application using a Canvas App. I have an external application that will be displayed in Salesforce using a Canvas Frame. My external application contains links to external websites ...
2
votes
1answer
173 views

Changing Canvas URL in lightning?

I am developing a lightning application that points to a web application using Canvas Frame (IFrame can also be used). Every customer has a specific instance of myApp with a different subdomain. For ...
0
votes
1answer
80 views

How to show my Connected App

We have connected a third party application into Salesforce by making it a Connected App. In the manage app section we have also set it to show on multiple tabs but we are not able to see the app. Is ...
0
votes
1answer
122 views

Canvas App redirects to website

I have a canvas app, now I want to show the canvas app inside a Lightning component. And that Lightning component is to be accessed via a custom tab. Below is my code: <aura:component implements="...
1
vote
2answers
100 views

Storing Large Canvas Image

I want to store the image from canvas. I created a function to pass the data to Apex. function callActionFunction(){ sendEmailAF(document.getElementsByTagName('canvas')[0].toDataURL()); var ...