Forum Discussion

MichaelRose's avatar
MichaelRose
Qrew Cadet
2 years ago

Copy Record and New Forms

The Copy Record API does not appear to function with New Forms.

a=GenCopyRecord

Does anyone know if a fix for this is on the New Forms roadmap?



------------------------------
Michael Rose
------------------------------

4 Replies

  • Hi,

    I'm trying to get this working using a button but I need to change a few fields in the new copied record and I'm trying to pass those in the API params. 

    This doesn't seem to be working as the API isn't picking up the updates to the fields. 

    "<a class=\"Vibrant Snowy SaveBeforeNavigating\" data-refresh=true data-replaceRid=true style=\"text-decoration: none; width: 170px; text-align: center; background:#0167ff" &  "; border-radius: 8px; padding: 10px 5px;  color: #FFFFFF; display: inline-block; font: normal 700 24px/1 \"Calibri\", sans-serif; text-shadow: none; href="& Dbid() &"?a=GenCopyRecord&rid=" & [Record ID#]&
        "&apptoken={{apptoken}}" &
        "&_fid_1230= "&[Record ID#] &">Clone Request</a>"

    Where fid:1230 is the record ID of the previous record from which the new record was copied. This field is important for my business case as I use this field for further Pipeline runs. 

  • ben_simon's avatar
    ben_simon
    Community Manager

    Hey Michael,

    This doesn't appear to be functionality yet with New Forms. There's an idea you can vote up here via Product Feedback. 

    Thanks!



    ------------------------------
    Ben Simon
    bsimon@quickbase.com

    Do you have Feedback on how to make Qrew Discussions a better experience? Let's chat!
    https://calendly.com/bsimon-2
    ------------------------------
    • MarkShnier__You's avatar
      MarkShnier__You
      Icon for Qrew Legend rankQrew Legend

      If you are desperate, you can use a URL to redirect to the old form

      a=GenCopyRecord&dfid=2

      You could even use the SaveBeforeNavigating and the %%reid%% technique to have a one click button to save and then land the user back on the record in edit mode in the new form.



      ------------------------------
      Mark Shnier (Your Quickbase Coach)
      mark.shnier@gmail.com
      ------------------------------

      • MichaelRose's avatar
        MichaelRose
        Qrew Cadet

        Thanks Mark. That's basically what I ended up doing. URL button "Copy Record" that drops the user at an old form showing a couple of fields with an instruction to the user to confirm the copy by clicking Save. After Save, QB redirects them to the New Form version of the record.



        ------------------------------
        Michael Rose
        ------------------------------