ContributionsMost RecentMost LikesSolutionsRe: How to display PDF in file attachment fieldsHi Marc, it saysexternalwebsite. 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 ------------------------------ Re: How to display PDF in file attachment fieldsThanks 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 ------------------------------ Display file attachment in an embedded iframe on a form via code page Hello evryone, With the changes to javascript happening in August, do you have ideas how I can display the file attachment of a record as embedded iframe? The formula URL for the attachment to display is var Text jpg = URLRoot() & "db/" &Dbid()& "?a=er&dfid=11&rid="& [Record ID#]&"&z=" & URLRoot() & "db/" & Dbid()&"&ifv=1>"; var text UR = "https://docs.google.com/gview?url=" & URLRoot() & "up/" & Dbid() & "/a/r" & [Record ID#] & "/e24/v0"&URLEncode("?apptoken=XXX&usertoken=XXX"); Case(true, [Box - Google viewer]=true, $UR, $jpg) When I click it, it opens in a new window. I would like to use a code page to display it as an embedded iframe. (As it is a native quickbase record I can't just use the iframe function in the formula URL field.) So far I found this code <iframe src="[static URL]" style="width: 1000px; height: 1500px;"></iframe> which works fine for a static URL displaying as an embedded iframe, but I am struggling to past the dynamic URL from my formula URL field into the code page. Anyone who has managed to embed Quickbase native record dynamically as iframe on a form via a code page? ------------------------------ Lisa Hohneck ------------------------------