Skip to main content
Solved

Redirect after API_EditRecord

  • June 4, 2025
  • 0 replies
  • 372 views

Forum|alt.badge.img+2

Greetings, everyone!

I'm at my wits end trying to get a redirect to properly fire in a Formula URL button. I'm using the URL as a "Submit" button that changes the phase of the record, then I want the app to redirect to a report. All I can get is a redirect to the app homepage which is not intuitive and undersirable.

Here is the URL Formula:

var text submitURL = URLRoot() & "db/" & Dbid() & "?a=API_EditRecord&rid=" & [Record ID#] & "&_fid_34=Items&apptoken=<token hidden>";
var text redirectURL = URLRoot() & "db/" & Dbid() & "/a=q&qid=7";

$submitURL & "&rdr=" & URLEncode($redirectURL)

Can someone help me figure out what's wrong with this implentation?

Thank you!

Best answer by luxjuice

RESOLVED!

Had to link to /tablereport?a=q&qid=7 instead of ?a=q&qid=7. Go figure...?

Forum|alt.badge.img+2
  • Author
  • Registered
  • Answer
  • June 4, 2025

RESOLVED!

Had to link to /tablereport?a=q&qid=7 instead of ?a=q&qid=7. Go figure...?


Mez
Forum|alt.badge.img+7
  • Registered
  • June 4, 2025

Just so you have this, they changed the url schema a bit ago, even though legacy url's should remain functional/functioning, building a new formula url you can map to the new path from their guide. 

https://helpv2.quickbase.com/hc/en-us/articles/26352739460756-URL-changes-in-new-navigation