MichaelKnecht
3 years agoQrew Trainee
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
------------------------------
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
------------------------------