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
0
votes
0answers
17 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. ...
0
votes
0answers
17 views

Link to Lightning App Builder Tab/Canvas

I have a few Canvas Apps on a page's Lightning App Builder tabs. Is it possible to create a link to open one of the tabs from another Canvas tab or a modal within the page? Not sure if SF allows ...
0
votes
0answers
20 views

Sdfc.canvas.parent.publish() function is not able give any result beside the event being fired

I am using Lightning Data service to take an input from my component and take that particular record to be displayed in the canvas app which is an external application. So far there are no errors in ...
0
votes
1answer
137 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 ...
0
votes
0answers
19 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 ...
0
votes
0answers
15 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 ...
0
votes
0answers
25 views

Configurable Canvas Url for Managed Package

When creating a Canvas App in a managed package, we have to enter a static Canvas Url. This would be the production endpoint Url. How can we have this app point to different environments like ...
1
vote
0answers
21 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. ...
0
votes
1answer
106 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 ...
1
vote
1answer
67 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',{ "...
0
votes
0answers
52 views

lightning component - event listener from canvas app without canvas SDK

We are using salesforce canvas app in lightning component to expose a nodejs app in salesforce.NodeJS app is publishing event using postMessage. How can we subscribe to the event that is publish by ...
0
votes
1answer
41 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 ...
0
votes
0answers
42 views

how to make scroll disabled for canvas element when using hand phone

I try to use canvas and describe something by hand phone using Salesforce1 app. When I weite vertically, the screen is also scrolled, so cannot write well. Anyone knows how to make scrolling disabled ...
0
votes
0answers
9 views

How to remove the mask that overlays the Canvas App when it is in a Page Layout?

I am trying to place an app into the page layout using the Canvas App feature. However, when it is placed into the Page Layout, there seems to be some kind of mask over top of it which means you ...
0
votes
1answer
19 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 ...
0
votes
0answers
25 views

Connected app canvas issue

We have a connected app that shows the external website inside canvas within Salesforce. The external site, headers are set to allow and also in Salesforce, in the Session settings, headers are ...
0
votes
0answers
70 views

Canvas app not working - 404 error

I have a rails application and I created a custom app with 'canvas' enabled and gave the url of my app (https://www.samplesite.com/canvas) and embedded the canvas app inside visualforce page with the ...
0
votes
0answers
53 views

Canvas API authentication errors in the Salesforce Mobile SDK

We have an application that loads Salesforce Lightning content into a WKWebView. We are using the Salesforce Mobile SDK in our app, and users are authenticated in their Orgs with OAuth per our ...
1
vote
1answer
50 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. ...
1
vote
1answer
31 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 ...
1
vote
1answer
38 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, ...
0
votes
0answers
46 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 ...
3
votes
0answers
56 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 ...
3
votes
1answer
168 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 ...
2
votes
0answers
172 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
137 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
1answer
123 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.
1
vote
0answers
90 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
90 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 ...
1
vote
1answer
381 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
37 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
446 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 ...
9
votes
1answer
1k 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
134 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. <...
3
votes
0answers
738 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 ...
8
votes
2answers
221 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, ...
1
vote
1answer
147 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
415 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
80 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
104 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....
1
vote
0answers
156 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
1k 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. ...
2
votes
1answer
93 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
91 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
66 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
220 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: &...
7
votes
1answer
498 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
97 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
77 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
111 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 ...

1
2 3 4 5