Forum Discussion

7 Replies

  • LisaHohneck's avatar
    LisaHohneck
    Qrew Member
    Thanks a lot for the suggestions.
    I am using a similar combination of the iframe tag and google viewer which is displaying well, but I am getting the "This field includes unsupported content" warning pop up which seems to be caused by the iframe tag.
    I get exactly the same warning pop up when using the suggested formula 
    If(
    [Proof] = "", "No File",

    "<iframe src=\"docs.google.com/gview?url="&URLRoot() & "up/" & Dbid() & "/a/r" &[Record ID#] & "/e6/v0" & "&embedded=true\" width=\"800\" height=\"2400\" frameborder=\"0\" target=\"_blank\"></iframe>")

    Is there any communication that this will work after the August 21 release?


    ------------------------------
    Lisa Hohneck
    ------------------------------
    • MarkShnier__You's avatar
      MarkShnier__You
      Icon for Qrew Legend rankQrew Legend
      I'm hopeful that is a false warning. Initially they plan to block all I frames and then they backed off from that I believe. It would be good for one of us to put in a support ticket and ask for an official answer.

      ------------------------------
      Mark Shnier (YQC)
      Quick Base Solution Provider
      Your Quick Base Coach
      http://QuickBaseCoach.com
      [email protected]
      ------------------------------
    • MarkShnier__You's avatar
      MarkShnier__You
      Icon for Qrew Legend rankQrew Legend
      Lisa the April Release Notes say this


      Embed a secure, external website as an iframe on a form. This provides builders a way to embed YouTube videos or other file services (Box, Drive, etc.) as a file preview. For security purposes, the only *.quickbase.com URLs that are supported are for code pages. All other native pages (*.quickbase.com URLs) do not function when embedded on a Quickbase form.

      I interpret this that it will continue to work after August 21st and that the pop up is a false warning.  The concern over iframes had something to do with security but I think they determined that it was only a security risk if you embed Quickbase pages within Quickbase pages.




      ------------------------------
      Mark Shnier (YQC)
      Quick Base Solution Provider
      Your Quick Base Coach
      http://QuickBaseCoach.com
      [email protected]
      ------------------------------
      • LisaHohneck's avatar
        LisaHohneck
        Qrew Member
        Hi Marc,

        it says external website. This works well, I was able to do it. But displaying a PDF which is saved as file attachment in quickbase is a native quickbase page.

        I have double checked with support and got this answer when I specifically asked for code with iframe tags in a formula field and the August 21 release:

        I did some more digging and iframes are indeed no longer going to be supported on old forms.  That being said, any existing ones in your app won't be deliberately disabled.  I was reading that we already have a secure example of embedding PDF previews in the new dashboards, and that our product team is working on a similar secure solution for the upcoming new forms.  It appears the only option at this point would be to move this to a code page [...].



        ------------------------------
        Lisa Hohneck
        ------------------------------
  • ZachShumate's avatar
    ZachShumate
    Qrew Trainee
    If(
    [Proof] = "", "No File",

    "<iframe src=\"docs.google.com/gview?url="&URLRoot() & "up/" & Dbid() & "/a/r" &[Record ID#] & "/e6/v0" & "&embedded=true\" width=\"800\" height=\"2400\" frameborder=\"0\" target=\"_blank\"></iframe>")

    ------------------------------
    Zach Shumate
    ------------------------------