Skip to main content
Question

URL button to create document copy

  • July 23, 2021
  • 0 replies
  • 34 views

I have a table of "requisitions" and a table of "documents" which are linked.  The requisitions can have many documents.  These may be pdf or docx or they may be photos or other items as well, depending on the request. 

I have one "blank document" that is used in certain types of requisitions so it is used a lot, but not every time.  It is a pdf which needs to be attached by the requestor in blank format.  It is then revised by various people throughout the process using the QuickBase document revision process that is covered in the online manual.  

I would like to put a button on the form for the New Requisition that will add the specific "blank document" if the user clicks the button.  I have uploaded "blank document.pdf" to my document repository and I have the full URL for it. 

Here is my button to add a document. 

URLRoot() & "db/" & [_DBID_DOCUMENTS] & "?a=API_GenAddRecordForm&_fid_9=" & URLEncode ([Requisition #])& "&z=" & Rurl()


How do I make a variation that will select "blank document.pdf" specifically and create a copy of it for that Requisition (and leave the original document for the next requisition)? 

Thanks,
Chris
​

------------------------------
Chris Sipes
------------------------------
This topic has been closed for replies.

  • Quickbase Alumni
  • July 24, 2021
Since the document is essentially a template, why not just provide your users the link to download it?

------------------------------
Blake Harrison
bharrison@datablender.io
DataBlender - Quickbase Solution Provider
Atlanta GA
404.800.1702 / http://datablender.io/
------------------------------