<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Can't open iframe from CRM extension card action in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Can-t-open-iframe-from-CRM-extension-card-action/m-p/413003#M40914</link>
    <description>&lt;P&gt;I created a Card in CRM extension and I am able to see this card in the dashboard. In the payload from fetch data uri, I speicfy the a iframe in the action and link a external URI "&lt;A href="http://www.google.com" target="_blank"&gt;www.google.com&lt;/A&gt;". But when I click the action to open the iframe, it shows an error: "&lt;STRONG&gt;&lt;A href="http://www.google.com" target="_blank"&gt;www.google.com&lt;/A&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;refused to connect.". I have tired a few different URI but always get this "refused to connect" error. How can I specify a valid url in the iframe?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;results: [&lt;BR /&gt;{&lt;BR /&gt;objectId: 1,&lt;BR /&gt;title: `Transaction History`,&lt;BR /&gt;key1: 'value1',&lt;BR /&gt;key2: 'value2',&lt;BR /&gt;key3: 'value3',&lt;BR /&gt;actions: [&lt;BR /&gt;{&lt;BR /&gt;type: 'IFRAME',&lt;BR /&gt;width: 890,&lt;BR /&gt;height: 748,&lt;BR /&gt;uri: '&lt;A href="https://www.google.com" target="_blank"&gt;https://www.google.com&lt;/A&gt;',&lt;BR /&gt;label: 'Query transaction history',&lt;BR /&gt;},&lt;BR /&gt;],&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;objectId: 2,&lt;BR /&gt;title: `Deposit History`,&lt;BR /&gt;actions: [&lt;BR /&gt;{&lt;BR /&gt;type: 'IFRAME',&lt;BR /&gt;width: 890,&lt;BR /&gt;height: 748,&lt;BR /&gt;uri: '&lt;A href="https://www.google.com" target="_blank"&gt;https://www.google.com&lt;/A&gt;',&lt;BR /&gt;label: 'Query transaction history',&lt;BR /&gt;},&lt;BR /&gt;],&lt;BR /&gt;},&lt;BR /&gt;],&lt;BR /&gt;};&lt;/P&gt;</description>
    <pubDate>Thu, 25 Feb 2021 23:31:13 GMT</pubDate>
    <dc:creator>JZhao</dc:creator>
    <dc:date>2021-02-25T23:31:13Z</dc:date>
    <item>
      <title>Can't open iframe from CRM extension card action</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Can-t-open-iframe-from-CRM-extension-card-action/m-p/413003#M40914</link>
      <description>&lt;P&gt;I created a Card in CRM extension and I am able to see this card in the dashboard. In the payload from fetch data uri, I speicfy the a iframe in the action and link a external URI "&lt;A href="http://www.google.com" target="_blank"&gt;www.google.com&lt;/A&gt;". But when I click the action to open the iframe, it shows an error: "&lt;STRONG&gt;&lt;A href="http://www.google.com" target="_blank"&gt;www.google.com&lt;/A&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;refused to connect.". I have tired a few different URI but always get this "refused to connect" error. How can I specify a valid url in the iframe?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;results: [&lt;BR /&gt;{&lt;BR /&gt;objectId: 1,&lt;BR /&gt;title: `Transaction History`,&lt;BR /&gt;key1: 'value1',&lt;BR /&gt;key2: 'value2',&lt;BR /&gt;key3: 'value3',&lt;BR /&gt;actions: [&lt;BR /&gt;{&lt;BR /&gt;type: 'IFRAME',&lt;BR /&gt;width: 890,&lt;BR /&gt;height: 748,&lt;BR /&gt;uri: '&lt;A href="https://www.google.com" target="_blank"&gt;https://www.google.com&lt;/A&gt;',&lt;BR /&gt;label: 'Query transaction history',&lt;BR /&gt;},&lt;BR /&gt;],&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;objectId: 2,&lt;BR /&gt;title: `Deposit History`,&lt;BR /&gt;actions: [&lt;BR /&gt;{&lt;BR /&gt;type: 'IFRAME',&lt;BR /&gt;width: 890,&lt;BR /&gt;height: 748,&lt;BR /&gt;uri: '&lt;A href="https://www.google.com" target="_blank"&gt;https://www.google.com&lt;/A&gt;',&lt;BR /&gt;label: 'Query transaction history',&lt;BR /&gt;},&lt;BR /&gt;],&lt;BR /&gt;},&lt;BR /&gt;],&lt;BR /&gt;};&lt;/P&gt;</description>
      <pubDate>Thu, 25 Feb 2021 23:31:13 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Can-t-open-iframe-from-CRM-extension-card-action/m-p/413003#M40914</guid>
      <dc:creator>JZhao</dc:creator>
      <dc:date>2021-02-25T23:31:13Z</dc:date>
    </item>
    <item>
      <title>Re: Can't open iframe from CRM extension card action</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Can-t-open-iframe-from-CRM-extension-card-action/m-p/413540#M40954</link>
      <description>&lt;P&gt;Can I get any help on this issue? thanks.&lt;/P&gt;</description>
      <pubDate>Sun, 28 Feb 2021 22:32:14 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Can-t-open-iframe-from-CRM-extension-card-action/m-p/413540#M40954</guid>
      <dc:creator>JZhao</dc:creator>
      <dc:date>2021-02-28T22:32:14Z</dc:date>
    </item>
    <item>
      <title>Re: Can't open iframe from CRM extension card action</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Can-t-open-iframe-from-CRM-extension-card-action/m-p/413544#M40955</link>
      <description>&lt;P&gt;I'm betting it's because Google doesn't want you to iframe their website. Try it with a website that you have control over i.e. where the &lt;SPAN&gt;X-Frame-Options header is &lt;EM&gt;&lt;STRONG&gt;not&lt;/STRONG&gt;&lt;/EM&gt;&lt;EM&gt;&amp;nbsp;&lt;/EM&gt;set to&amp;nbsp;SAMEORIGIN.&lt;BR /&gt;&lt;BR /&gt;Hope that helps.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Mar 2021 01:46:29 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Can-t-open-iframe-from-CRM-extension-card-action/m-p/413544#M40955</guid>
      <dc:creator>tominal</dc:creator>
      <dc:date>2021-03-01T01:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: Can't open iframe from CRM extension card action</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Can-t-open-iframe-from-CRM-extension-card-action/m-p/697975#M57214</link>
      <description>&lt;P&gt;This is funny because I came back across my reply from a Google search trying to figure something else out with Custom CRM Cards.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For anyone Googling this, my reply from last year is accurate. Google prevents iframes from embedding their site.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tominal_0-1664145847941.png" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/75842i308A6A3A156BC0A0/image-size/large?v=v2&amp;amp;px=999" role="button" title="tominal_0-1664145847941.png" alt="tominal_0-1664145847941.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Embedding a site that allows cross origin embeds works fine i.e. example.com.&lt;/P&gt;</description>
      <pubDate>Sun, 25 Sep 2022 22:45:44 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Can-t-open-iframe-from-CRM-extension-card-action/m-p/697975#M57214</guid>
      <dc:creator>tominal</dc:creator>
      <dc:date>2022-09-25T22:45:44Z</dc:date>
    </item>
  </channel>
</rss>

