MarkWinter1
8 years agoQrew Trainee
I am using the API to create a record and, once completed, trying to redirect the users to a page with information.
I am using the API to create a record and, once completed, trying to redirect the users to a page with a short message. I was redirecting to a DB page within QB, but since our QB implementation is behind SSO, if the user is not logged in via SSO, it will not return the page (even though I am passing a user_Token).
Can someone tell me how I can easily return a short text message (Page, popup, etc.) that will be reliable regardless of a user's logged in status?
Here is one example of a formula URL field I am using:
var text URLONE =
URLRoot()
& "db/"
& Dbid () & "?act=API_EditRecord&usertoken=b3h8mh_k_c9j3i6gcvnzat8caff9m2qui&rid=" & [Record ID#]
& "&_fid_51=1&_fid_122=" & Today();
var text URLTWO = "https://QB.com/db/bnc869ufr?a=dbpage&pageID=3";
$URLONE & "&rdr=" & URLEncode($URLTWO)
Can someone tell me how I can easily return a short text message (Page, popup, etc.) that will be reliable regardless of a user's logged in status?
Here is one example of a formula URL field I am using:
var text URLONE =
URLRoot()
& "db/"
& Dbid () & "?act=API_EditRecord&usertoken=b3h8mh_k_c9j3i6gcvnzat8caff9m2qui&rid=" & [Record ID#]
& "&_fid_51=1&_fid_122=" & Today();
var text URLTWO = "https://QB.com/db/bnc869ufr?a=dbpage&pageID=3";
$URLONE & "&rdr=" & URLEncode($URLTWO)