Forum Discussion
SeanBoat-Moore
3 years agoQrew Trainee
We created a formula url button that sits on our reports that uses google doc viewer and it opens in a pop up widnow with the document. Doesn't work on very document type, but works on most
var text filefid = "attachment field id";
var text docurl = URLRoot() & "up/" & Dbid () & "/a/r" & [Record ID#] & "/e" & $filefid & "/v0";
"https://docs.google.com/gview?url=" & URLEncode( $docurl )
------------------------------
Sean Boat-Moore
Manager SMB Development
Project Management Office and Quality Control
NCR Corporation
sean.boat-moore@ncr.com | ncr.com
------------------------------
var text filefid = "attachment field id";
var text docurl = URLRoot() & "up/" & Dbid () & "/a/r" & [Record ID#] & "/e" & $filefid & "/v0";
"https://docs.google.com/gview?url=" & URLEncode( $docurl )
------------------------------
Sean Boat-Moore
Manager SMB Development
Project Management Office and Quality Control
NCR Corporation
sean.boat-moore@ncr.com | ncr.com
------------------------------
MikeTamoush
3 years agoQrew Commander
The solutions I have seen always involve making the file be un-secure. Browsers have different behavior and I had always used firefox because it would allow you to open the file rather than download. However, a few months ago firefox changed their behavior and it both opens AND downloads the file. Quite annoying, and I am yet to find a fix.
------------------------------
Mike Tamoush
------------------------------
------------------------------
Mike Tamoush
------------------------------