Help

Airtable.com refused to connect message when embedding a view with URL filters.

Solved
Jump to Solution
1222 2
cancel
Showing results for 
Search instead for 
Did you mean: 
Jeri_Vespoli
6 - Interface Innovator
6 - Interface Innovator

I'm trying to avoid having to add a view for each new coach in a coaching engagements base.  The filtered URL works beautifully in a browser, but when I add it to the embed code in the iframe, it gives me the airtable.com refused to connect message.

<iframe class="airtable-embed" src="https://airtable.com/appNTRWwuGJYQDcYK/shrPcWPXGkhHeb30F/tbl38pqjIpX(rest of code hidden for privacy)&filterContains_Engagement=(First Name)+(Last Name)&filterIsAnyOf_Status=In+progress&filterIsAnyOf_Status=Awaiting+SOW&filterIsAnyOf_Status=Assigned&backgroundColor=blue&viewControls=off" frameborder="0" onmousewheel="" width="100%" height="1000" style="background: transparent; border: 1px solid #ccc;"></iframe>

2 Solutions

Accepted Solutions
TheTimeSavingCo
18 - Pluto
18 - Pluto

As a datapoint, this embed with a filter works fine for me as an embed:

<iframe class="airtable-embed" src="https://airtable.com/embed/appKXtKYYuFC23NRc/shrwCCKFngdvAeJ2d/tblVPK8ZJkjvaJtVn?backgroundColor=cyan&viewControls=on&filterContains_Notes=Test" frameborder="0" onmousewheel="" width="100%" height="533" style="background: transparent; border: 1px solid #ccc;"></iframe>

Wish I could help more, sorry!

See Solution in Thread

Jeri_Vespoli
6 - Interface Innovator
6 - Interface Innovator

Thank you @TheTimeSavingCo!  I realized I was missing the 'embed'.  If it helps anyone else, I also added a formula field to our coaches' base to auto-create the embed code for report views.  The relative tables are Coaches and Engagements.  

  1. Create the report view of the Engagements table
  2. Click Share and sync <>Embed this view
  3. Set the view controls to off (if on, the viewer can apply filters to view other people's reports)
  4. Select card or standard layout
  5. Copy the URL 
  6. Create a formula field in the Coaches table with the URL from the embed code and the field names that contain the filter(s) you want to apply 'https://airtable.com/embed/appNTRWwuGJYQDcYK/shrPcWPXGkhHeb30F/tbl38pqjIpX5njGrh?filterContains_Enga...'&First&'+'&Last
  7. Copy the URL from the record of the coach for whom you want to embed the report
  8. Paste the URL into the iframe to embed '<iframe class="airtable-embed" src="https://airtable.com/embed/appNTRWwuGJYQDcYK/shrPcWPXGkhHeb30F/tbl38pqjIpX5njGrh?filterContains_Enga..." frameborder="0" onmousewheel="" width="100%" height="1000" style="background: transparent; border: 1px solid #ccc;"></iframe>

See Solution in Thread

2 Replies 2
TheTimeSavingCo
18 - Pluto
18 - Pluto

As a datapoint, this embed with a filter works fine for me as an embed:

<iframe class="airtable-embed" src="https://airtable.com/embed/appKXtKYYuFC23NRc/shrwCCKFngdvAeJ2d/tblVPK8ZJkjvaJtVn?backgroundColor=cyan&viewControls=on&filterContains_Notes=Test" frameborder="0" onmousewheel="" width="100%" height="533" style="background: transparent; border: 1px solid #ccc;"></iframe>

Wish I could help more, sorry!

Jeri_Vespoli
6 - Interface Innovator
6 - Interface Innovator

Thank you @TheTimeSavingCo!  I realized I was missing the 'embed'.  If it helps anyone else, I also added a formula field to our coaches' base to auto-create the embed code for report views.  The relative tables are Coaches and Engagements.  

  1. Create the report view of the Engagements table
  2. Click Share and sync <>Embed this view
  3. Set the view controls to off (if on, the viewer can apply filters to view other people's reports)
  4. Select card or standard layout
  5. Copy the URL 
  6. Create a formula field in the Coaches table with the URL from the embed code and the field names that contain the filter(s) you want to apply 'https://airtable.com/embed/appNTRWwuGJYQDcYK/shrPcWPXGkhHeb30F/tbl38pqjIpX5njGrh?filterContains_Enga...'&First&'+'&Last
  7. Copy the URL from the record of the coach for whom you want to embed the report
  8. Paste the URL into the iframe to embed '<iframe class="airtable-embed" src="https://airtable.com/embed/appNTRWwuGJYQDcYK/shrPcWPXGkhHeb30F/tbl38pqjIpX5njGrh?filterContains_Enga..." frameborder="0" onmousewheel="" width="100%" height="1000" style="background: transparent; border: 1px solid #ccc;"></iframe>