Skip to main content
Solved

Add button to create record in different app

  • March 5, 2025
  • 0 replies
  • 229 views

Forum|alt.badge.img+6

Hello,

I'm trying to create a button that will direct users to a different app to create a new record in the other app.  

The database ID for the other app is buwc5yqwz

The table ID in the other app is bupbavsbm

The related field in the other app is 38

I've searched the community and attempted some examples that others tried but converting them from edit a record to adding a record, but I'm not getting anywhere.   What I have attempted so far gives a Page unrecognized error.    

Attempt1: 

URLRoot() & "/db/buwc9wxmb" & "=API_GenAddRecordForm&_fid_38=" & [Record ID#] &"&z=" & Rurl()

Attempt2: 

"https://xxxxx.quickbase.com/nav/app/buwc5yqwz/table/buwc9wxmb/action/nwr?a=cr&rid=new&field38="& URLEncode()

Do I need to add a token?    Thank you!

 

Best answer by MarkShnierYou

Try this

URLRoot() & "db/bupbavsbm" & "?act=API_GenAddRecordForm&_fid_38=" & [Record ID#] &"&z=" & Rurl()

An apptoken is not required as this will be a human user saving the record.

MarkShnierYou
Forum|alt.badge.img+24

Try this

URLRoot() & "db/bupbavsbm" & "?act=API_GenAddRecordForm&_fid_38=" & [Record ID#] &"&z=" & Rurl()

An apptoken is not required as this will be a human user saving the record.