Forum Discussion

ToddGriffith's avatar
ToddGriffith
Qrew Cadet
7 years ago

New Record in Another App

I have two apps.  I would like to have a button on a dashboard (app A) that would create a new record in a table in the other app (appB).  When creating this new record, I would like data to prepopulate with set value.  I will want to change this code to paste a different value depending on the location I put this button.  This button could potentially be added to several other apps.
  • All you have to do is build the URL. I use one to create helpdesk tickets from any dashboard. Like you, I change the field value based on the app the button is on. Below is an example:
    https://"yourcompany".quickbase.com/db/"yourDBID"?a=API_GenAddRecordForm&dfid=16&_fid_142="your field value"
  • ChrisChris's avatar
    ChrisChris
    Qrew Assistant Captain

    Gil,

    Interesting. the dfid of 16 is the form being used to create the record via the button, and - question - you have dfid 16 set up with pre-populated field values?


    • GilbertSpigelm2's avatar
      GilbertSpigelm2
      Qrew Cadet
      Yes, I set it to a specific form because there are many other forms in the table and I pre-populate fields based on where the button is located. This helps identify where the button was clicked.