function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
kisorekumar mohanrajkisorekumar mohanraj 

how to display external app in canvas in lightning?

Best Answer chosen by kisorekumar mohanraj
Raj VakatiRaj Vakati
You need to use force:canvasApp 

A force:canvasApp component represents a canvas app that's embedded in your Lightning component. You can create a web app in the language of your choice and expose it in Salesforce as a canvas app. Use the Canvas App Previewer to test and debug the canvas app before embedding it in a Lightning component.
 
<aura:component>
    <force:canvasApp developerName="MyCanvasApp" namespacePrefix="myNamespace" />
</aura:component>

 

All Answers

Raj VakatiRaj Vakati
You need to use force:canvasApp 

A force:canvasApp component represents a canvas app that's embedded in your Lightning component. You can create a web app in the language of your choice and expose it in Salesforce as a canvas app. Use the Canvas App Previewer to test and debug the canvas app before embedding it in a Lightning component.
 
<aura:component>
    <force:canvasApp developerName="MyCanvasApp" namespacePrefix="myNamespace" />
</aura:component>

 
This was selected as the best answer
Raj VakatiRaj Vakati
https://developer.salesforce.com/docs/component-library/bundle/force:canvasApp/specification