
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@salesforce/canvas-js-sdk
Advanced tools
A JavaScript SDK used to integrate applications with the Force.com Canvas framework
A JavaScript SDK used to integrate applications with the Force.com Canvas framework
Force.com Canvas is a mechanism for consuming third-party applications within Salesforce. Its goal is to connect applications at a UI level instead of just an API level. The purpose of this GitHub repository is to provide third-party applications with a JavaScript SDK so you can easily integrate canvas-style applications into Salesforce, while developing in the technology and platform of your choice.
The best place to get started building canvas applications is the online developer's guide.
Currently, we provide Java and Ruby examples, but you can develop in whatever language you prefer. Most of the integration with Salesforce is through JavaScript and REST. You can also run and test your application locally from your own host, or from Heroku. For a quick example of how to create a Java Canvas application, please see the SalesforceCanvasFrameworkSDK GitHub project.
npm install @salesforce/canvas-js-sdk
Then add a <script>
to your index.html
:
<script src="node_modules/%40salesforce/canvas-js-sdk/js/canvas-all.js">
Or from React:
import '@salesforce/canvas-js-sdk';
git clone git@github.com:forcedotcom/SalesforceCanvasJavascriptSDK.git
To use this SDK, simply include the canvas-all.js file in your page.
You can find JSDoc generated documentation for the JavaScript function in the docs directory.
FAQs
A JavaScript SDK used to integrate applications with the Force.com Canvas framework
The npm package @salesforce/canvas-js-sdk receives a total of 6,708 weekly downloads. As such, @salesforce/canvas-js-sdk popularity was classified as popular.
We found that @salesforce/canvas-js-sdk demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.