Forum Discussion
Hey Mark,
I have a file attachment field that we are uploading PDF's to and I am trying to view it on the new forms. I was trying to use your solution but I can't figure out how to use the quickbase file field instead of the googledoc in your example. I got the code page to work with one file url but I need it to be dynamic.
I am using your code page formula and other fields in the example, and I am attempting to update the const src to be the Quickbase file attachment field? Is that the right line to update? , I couldn't understand your last comment. This is the code I got to work for one file attachment but I need it to be dynamic and not just one record ID.
const src = "https://realm.quickbase.com/up/tableID/a/r/e/v0/url=+ myurlroot + "/up/" + tabledbid + "/a/r" + rid + "/e" + fileattachmentfid + "/v0&embedded=true";
Thanks
Jennifer