'Implement an Iframe using Canvas

So, right now I have an Iframe on a Visualforce Page, but I want to use Canvas App instead to display the external URL.

I know nothing about the Canvas App, and I found near to 0 information on this matter, only people comparing Iframe vs Canvas.

If any nice soul could please help me transform this into Canvas that would be very helpful.

So, this is the code I have right now.

<apex:page controller="IframeComunicationsController">
    <apex:iframe src="https://.../Start?type={!IF(CurrentPage,1,2)}&nbr={!IF(CurrentPage,Account.Attribute,Object.Name)}" scrolling="true" id="theIframe"/>
</apex:page>

It has a Controller that passes me the Current Page I'm on and other values (I hid some of the values on the URL as they are not important).



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source