I have a number of Quick Base clients who need to convert some old button Javascript code to supported QB code. I am willing to pay a Freelancer (via Upwork) for the work completed.
Below is an example that needs to be completed quickly. If you are interested please email me directly at gbramhall@bizappsquick.com and be prepared to tell me what your hourly rate would be.
var text url = URLRoot() & "db/" & [_DBID_HOLDS] & "?act=API_AddRecord" &
"&_fid_6=" & URLEncode ([Record ID#]);
var text urlNext = URLRoot() & "db/" & [_DBID_HOLDS] & "?act=API_AddRecord" &
"&_fid_13=" & URLEncode ([Holds - Maximum Expires]) &
"&_fid_6=" & URLEncode ([Record ID#]);
var text viewProp = URLRoot() & "db/" & Dbid() & "?a=dr&rid=" & [Record ID#] & "&dfid=13";
var text updatePropUrl =
URLRoot() & "db/" & Dbid() & "?act=API_EditRecord" &
"&rid=" & [Record ID#] &
"&_fid_272=" & URLEncode (User()) &
"&rdr=" & URLEncode($viewProp);
If(
// CALL:
IsNull([Called By]) and
[# of Holds - Current (agent)]>0,
"<a class='Vibrant Primary Success' href=' " & $updatePropUrl & " '>Choose to Call</a>",
// HOLD:
[Call Center Status]="Follow Up" and
[# of Holds - Expired (agent)]=0 and
[# of Holds - Current (agent)]=0 and
[# of Holds - Pending (agent)]=0 and
not IsNull([Related Lead]) and
IsNull([Called By]),
If(
[# of Holds - Open]=0,
"<a class='Vibrant Primary Success' onclick=javascript:$.get('" & $url & "',function(){location.reload(true);});>Hold</a>",
"<a class='Vibrant Primary Success' onclick=javascript:$.get('" & $urlNext & "',function(){location.reload(true);});>Hold (get in line)</a>"
)
)
------------------------------
George Bramhall
------------------------------
Question
Converting Buttons written in Javascript to Quick Base supported Syntax or HTML
This topic has been closed for replies.
Sign up
Already have an account? Login
Login to the community
Login with Quickbase US – quickbase.com Login with Quickbase EU – quickbase.eu
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.