Forum Discussion
Hi guys,
I�m currently evaluating whether to use Quick Base to deliver a business solution and the ability to view PDFs is a must-have feature.
I managed to get the file attachment to view if it is an jpg with a rich text field containing:
"<img max-width=\"32px\" max-height=\"100px\" src=\"" & URLRoot() & "up/" & Dbid () & "/a/r" & [Record ID#] & "/e46/v0\" />"
And these variables :
/iol &rand='+new Date().getTime())};">
iol <img qbu='module' src='/i/clear2x2.gif' onload="javascript:if(typeof QBU=='undefined'){QBU={};$.getScript(gReqAppDBID+'?a=dbpage&pagename=
However, when I attached a PDF and use a second text field with
var text URL = "https://docs.google.com/gview?url="; & URLRoot() & "up/" & Dbid () & "/a/r" & [Record ID#] & "/e46/v0&embedded=true";
"<embed src=\"" & $URL & "\" height=\"650\" width=\"900\">"
It just renders to this on the page!!!
<embed src="https://docs.google.com/gview?url=https://msip.quickbase.com/up/bnfd9ydpg/a/r5/e46/v0&embedded=t...; height="650" width="900">
Also, if I copy this url into a browser it just renders HTML.
Can anyone help?