Skip to main content
New
Stack Overflow Jobs powered by Indeed: A job site that puts thousands of tech jobs at your fingertips (U.S. only). Search jobs

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
1 vote
0 answers
19 views

Heroku Quick Start is not creating an App from Salesforce

I am having a weird issue when I try to create a Heroku App from my Canvas App Previewer in Salesforce. I have already registered on Heroku and added my Billing details. Now I navigate to Canvas App ...
Madhurima's user avatar
  • 1,395
0 votes
0 answers
57 views

Integrate with a 3rd party website

We currently have a 2GP Managed Package that contains an LWC component that is basically a UI in Salesforce for our API, and that we want to distribute across external orgs. We use Apex Callouts + ...
Alberto's user avatar
  • 61
0 votes
0 answers
31 views

Subscribing to a Canvas App published event in an Aura Component controller

We have an Aura component that contains a Canvas App. The Canvas App uses the Canvas SDK to publish events. This is my Aura component's controller... ({ doInit: function (component, event, helper) { ...
nstuyvesant's user avatar
-1 votes
1 answer
46 views

What are Canvas apps and how to use them for below scenario?

I need to add a external CTI application which they have as a separated web application and i need to add the application to salesforce can i use canvas apps to achieve this ? and The application has ...
mine_username's user avatar
0 votes
0 answers
77 views

Canvas App Previewer stuck on Loading

Last week I created my first canvas app, and then promptly struggled to get it to appear in Salesforce until I found out that sessions established through frontdoor.jsp don't work with it. It did work ...
Matt Lacey's user avatar
  • 25.6k
3 votes
1 answer
258 views

Is Canvas Auth a secure alternative to the original Web site authentication?

I'm currently investigating how to use a Canvas app to display a web app page (i.e running on Heroku). This web app has a user + password login method. When creating this Canvas app, I researched the ...
Manuel Moya's user avatar
2 votes
1 answer
934 views

Multiple Canvas Elements in same lwc

Im having issues with having multiple canvas LWC nested in one same parent LWC. The problem is => _______________________________ | Parent LWC | | ___________ |...
Samuel L's user avatar
1 vote
0 answers
61 views

Canvas parameters being sent from Aura component intermittently

We have a Canvas App embedded in tab in a lightning page. The tab only consists of the Aura component which has the Canvas implemented. Aura Comp: <aura:component controller="...
SFDC_Dev's user avatar
  • 293
0 votes
1 answer
63 views

Is it possible to programmatically determine if Opportunity Teams is enabled?

We have a Salesforce Managed Package that contains a Connected App with an Aura Component Bundle. Is there a programmatic way for for me to determine whether the tenant my Package is installed has ...
nstuyvesant's user avatar
2 votes
1 answer
52 views

How to Reference a Canvas Connected App in a 2GP Managed Package

I am looking to create an app that would be distributed via AppExchange. So this would be a 2nd Generation managed app. I have created the following components: CustomApplication ConnectedApp Pages ...
Nish's user avatar
  • 21
1 vote
1 answer
126 views

Canvas app in 2gp managed package

I have connected app on my scratch org which is rendering canvas app in aura component. On my connected (canvas app) im using CanvasLifecycleHandler class implementation on connected app settings. I'm ...
woj_jas's user avatar
  • 121
1 vote
1 answer
574 views

INVALID_SESSION_ID: force:canvasApp does not load connected app

I am trying to create a 2GP that includes an Aura component which loads a canvas app using force:canvasApp. I have successfully created this aura component in my packaging organisation, by creating a ...
Rink Stiekema's user avatar
2 votes
1 answer
54 views

Winter 22 Broke Event Listening Functionality

I have an aura component that includes a force:canvasApp with a signed post request authentication. The app uses /canvas/sdk/js/51.0/canvas-all.js to send a message to the aura component window.Sfdc....
Scott Morrison's user avatar
0 votes
1 answer
313 views

Events between Aura components and Canvas Apps [closed]

We have a complex lightning page. It contains an Aura component, and a separate Canvas app within a VF page. We need: the Aura component to send a message to the Canvas app the canvas app to send a ...
hamayoun's user avatar
  • 2,777
0 votes
0 answers
170 views

How to Capture Response from 3rd Party Application back to Salesforce in Canvas App?

Requirement: There's 3rd party application in our Organization which is used to upload the document. Once we upload the document in that application we want to fetch Document Id as Response back to ...
SFDCDJ's user avatar
  • 1,864
2 votes
1 answer
190 views

Dynamically Set a developerName in Canvas App / Configurable developerName for <force:canvasApp>

We are planning to use a Canvas App in one of the AppExchange app. Canvas App will have different subdomains URLs and a single sign-on. As the CanvasApp URL can't be dynamically set with different ...
Ashish's user avatar
  • 2,370
0 votes
2 answers
411 views

Component "variables" not set, not passed to forceCanvas

I'm trying to host a canvas app on a Lightning page. The canvas app itself needs the current record and type in order to load things on my own server properly. I have the canvas app up and working (...
jklemmack's user avatar
  • 103
1 vote
0 answers
287 views

Salesforce Canvas App Issue with Chrome Latest Versions and Recent Cookie SameSite Policy

We created a Canvas App implementation in Salesforce that is able to render an external .NET / C# web app within the CRM by means of an aura component. It works perfectly fine in any browser, except ...
sfandro's user avatar
  • 11
3 votes
1 answer
306 views

Is Signed Request authentication for Canvas app is enough from AppExchange Security Review perspective?

I am planning to use a Canvas app for one of the AppExchange app. It will load the 3rd party page within Salesforce. I am planning to use the Signed Request approach where the external website will ...
Ashish's user avatar
  • 2,370
0 votes
0 answers
488 views

How to implement a Facebook login with LWC?

I am building a solution that lets users access their data on Facebook (like Pages/Ads/Feeds etc). For this, we need to let the users login to their Facebook account while they are in Salesforce (from ...
Apex Srinivas's user avatar
2 votes
0 answers
307 views

How do you do Canvas Authentication client-side for a Javascript application?

I am trying to build out a PoC of what will eventually be a nodeJS+React application that will be embedded in Salesforce via Canvas. I'd like to get the PoC up and running with just React. What would ...
Greg Grinberg's user avatar
0 votes
0 answers
134 views

Canvas App - Connect to Another Orgs VFP using Web server flow + API User

I am trying to wrap my head around Salesforce Canvas apps and its authentication. My test use case is to be able to access / interact with a visual-force page located in another Salesforce org. ...
SBB's user avatar
  • 173
0 votes
1 answer
5k views

Not able to open link with default browser in Safari / iOS

i have a canvas application renders inside iframe salesforce lightening. in that i render an html page where i present few external links to user. when user clicks on any external link, i want it to ...
Rajeev's user avatar
  • 151
0 votes
0 answers
392 views

Visualforce Page: Save both HTML5 Canvas and other text

I'm experimenting with this post. I'm trying to expand the area that is saved (i.e. saving both the Canvas AND any body text placed on the Visualforce page). I've been trying to add a line in the ...
Harley's user avatar
  • 393
0 votes
1 answer
189 views

Can we put canvas app inside a public site? How this can be achieved?

I am trying to expose canvas app through a public site but I can see that it doesn't work. I can see that there is some request to /canvas/proxy.jsp which doesn't work inside a public site. Page Not ...
Patlatus's user avatar
  • 17k
1 vote
0 answers
100 views

Update outer page from canvas app

I have several canvas apps implemented through lightning components on a lightning record page. The lightning page also contains a highlights panel and other panels that are native to lightning. ...
Steve Weiss's user avatar
0 votes
1 answer
558 views

Canvas App in New Window from Lightning Component

I have a Canvas App in a Lightning Component that I'd like to display in a Modal/Overlay when a User clicks on a button (within a different Lightning Component). The Canvas App component uses the ...
Al K's user avatar
  • 81
1 vote
1 answer
245 views

Getting JSON_Parser_error when using Sfdc.canvas.client.ajax to Create multiple records using REST API

I am trying to insert 2 records at a time using canvas client in a connected app, using REST API, code and response below: Sfdc.canvas.client.ajax('/services/data/v47.0/composite/sobjects',{ "...
Akshay's user avatar
  • 13
0 votes
1 answer
161 views

Enable USB Feature for Canvas: external website embedded in a VisuaForce page

I am using SF Canvas to embed an external Web Application in a VisualForce page in my org. The content is being successfully loaded in an IFrame in the browser. The page needs access to the USB ...
AHH's user avatar
  • 103
0 votes
1 answer
58 views

Edit Signed request

Is there anyway I can edit what is put into the signed request that SalesForce returns in a canvas app? I would like to change the context.user fields. It gives us Id's rather than names and I would ...
Joshua Sohan's user avatar
1 vote
1 answer
188 views

how to make test class for controller with parameter canvas.toDataURL()

I made extension class and VF page for getting signature image. I confirmed it works well through many test . And then, I need to make test class to deploy that extension class into production org. ...
손창주's user avatar
1 vote
1 answer
48 views

Display Salesforce page/component from Org1 in another salesforce Org2

I have a requirement to show VF/lighting page of salesforce Org1 in another Salesforce Org2.  However possible way just want to show the page/component in another salesforce org. Please let us know if ...
user71098's user avatar
1 vote
1 answer
310 views

Consumer key and secret for connected canvas app

In a managed package we have a Connected canvas app, which will be connected to the central server from all of the Orgs which have installed the package. After the user installs the app exchange app, ...
Vetriselvan Manoharan's user avatar
0 votes
0 answers
235 views

Connected App / Canvas in Managed Package with dynamic endpoint

I am selling a Java App that customers are installing on their server and now build a Salesforce app (Managed package) to integrate it. This means The Salesforce App packages some Canvas elements to ...
Robert Sösemann's user avatar
3 votes
0 answers
672 views

Integrate external app using IFrame (not Canvas) and Security review

I have a customer that wants to integrate an external Java App with a Managed Package. As the endpoint (domain name) of the external Java App(s) is not static but differs from customer to customer we ...
Robert Sösemann's user avatar
3 votes
1 answer
498 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 ...
Robert Sösemann's user avatar
6 votes
0 answers
1k 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 - ...
Robert Sösemann's user avatar
1 vote
2 answers
605 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 ...
Robert Sösemann's user avatar
0 votes
1 answer
2k 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.
Daniel Bleasdale's user avatar
1 vote
0 answers
265 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 ...
sg_dev1512's user avatar
1 vote
1 answer
259 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 ...
Robert Sösemann's user avatar
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,222
1 vote
0 answers
107 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 ...
Anitha's user avatar
  • 11
4 votes
1 answer
1k 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 ...
Kidburla's user avatar
  • 143
19 votes
1 answer
4k 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 ...
Brian Miller's user avatar
  • 5,222
0 votes
1 answer
190 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. <...
user62201's user avatar
3 votes
0 answers
1k 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 ...
Amanda Lee's user avatar
9 votes
2 answers
1k 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, ...
Sander de Jong's user avatar
1 vote
1 answer
472 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 ...
N. Jain's user avatar
  • 11
0 votes
1 answer
1k 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?
Rob's user avatar
  • 101

1
2 3 4 5