title: Implement an Iframe using Canvas
body: <p>So, right now I have an Iframe on a Visualforce Page, but I want to use <a href="https://developer.salesforce.com/docs/atlas.en-us.platform_connect.meta/platform_connect/canvas_framework_intro.htm" rel="nofollow noreferrer">Canvas App</a> instead to display the external URL.</p>
  <p>I know nothing about the Canvas App, and I found near to 0 information on this matter, only people comparing Iframe vs Canvas.</p>
  <p>If any nice soul could please help me transform this into Canvas that would be very helpful.</p>
  <p>So, this is the code I have right now.</p>
  <pre><code>&lt;apex:page controller=&quot;IframeComunicationsController&quot;&gt;
      &lt;apex:iframe src=&quot;https://.../Start?type={!IF(CurrentPage,1,2)}&amp;nbr={!IF(CurrentPage,Account.Attribute,Object.Name)}&quot; scrolling=&quot;true&quot; id=&quot;theIframe&quot;/&gt;
  &lt;/apex:page&gt;
  </code></pre>
  <p>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).</p>