Forum Discussion
MarkShnier__You
Qrew Champion
Did you check the checkbox on the file attachment field as I said?
------------------------------
Mark Shnier (YQC)
Quick Base Solution Provider
Your Quick Base Coach
http://QuickBaseCoach.com
mark.shnier@gmail.com
------------------------------
------------------------------
Mark Shnier (YQC)
Quick Base Solution Provider
Your Quick Base Coach
http://QuickBaseCoach.com
mark.shnier@gmail.com
------------------------------
ZachShumate
3 years agoQrew Trainee
I believe so. Screenshot attached
Zach Shumate
770-500-6716
800 Progress Center Court
Suite 250
Lawrenceville, GA 30043
- MarkShnier__You3 years agoQrew ChampionCan you copy and paste your formula field?
------------------------------
Mark Shnier (YQC)
Quick Base Solution Provider
Your Quick Base Coach
http://QuickBaseCoach.com
mark.shnier@gmail.com
------------------------------ - LisaHohneck3 years agoQrew MemberThanks 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
------------------------------ - ZachShumate3 years agoQrew TraineeIf(
[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
------------------------------ - MarkShnier__You3 years agoQrew ChampionI'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
mark.shnier@gmail.com
------------------------------ - MarkShnier__You3 years agoQrew ChampionZach, is your file attachment field ID #6?
------------------------------
Mark Shnier (YQC)
Quick Base Solution Provider
Your Quick Base Coach
http://QuickBaseCoach.com
mark.shnier@gmail.com
------------------------------ - MarkShnier__You3 years agoQrew ChampionLisa 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
mark.shnier@gmail.com
------------------------------ - LisaHohneck3 years agoQrew MemberHi 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
------------------------------ - MarkShnier__You3 years agoQrew ChampionThx for checking with support on this.
------------------------------
Mark Shnier (YQC)
Quick Base Solution Provider
Your Quick Base Coach
http://QuickBaseCoach.com
mark.shnier@gmail.com
------------------------------