Forum Discussion

MichaelKnecht's avatar
MichaelKnecht
Qrew Trainee
3 years ago

URL Redirect

When doing an API_EditRecord in a Rich Text format, we would like to know how to end it, with a outside website and not an internal website.   We would be happy to use a url field if it will work also.?

Right now here is our working code that redirects to our Quickbase

var text URL=URLRoot() & "db/"& Dbid()& "?a=API_EditRecord" &
"&rid=" & [Record ID#] &
"&usertoken=XXXXXXXXXXXXXXXXXXXXXXXXXXX" &
"&_fid_27=Approve";
"&rdr="&
URLEncode(URLRoot());

"<a href=" & $URL & "\" " & $stylebtn & " >Click to Approve</a>"

------------------------------
Michael Knecht
------------------------------

8 Replies

  • Try changing the redirect part at the end.

    &rdr="&
    URLEncode("www.google.com")

    ------------------------------
    Mark Shnier (YQC)
    mark.shnier@gmail.com
    ------------------------------