PeterKrasznekew
4 years agoQrew Trainee
Adding code to formula - URL - button to redisplay current page once a record is edited by pressing approval button
I am aiming to add an "approval" button to check a box in a field that can be used on reports for a dashboard. Once the button is pressed I just want it to redisplay the same page (this is the part I am not sure how to add). I realize I need to tell the formula to redisplay the same page but I am not sure how to proceed on that using
Below is the code I am using to edit the record and check the box ("my token" is my API token in the actual code).
Code
URLRoot() & "db/" & Dbid() & "?act=API_EditRecord"& "&rid=" & URLEncode ([Record ID#])&
"&_fid_Final Approval=1" & "&apptoken=" & "my token"
Error:
This XML file does not appear to have any style information associated with it. The document tree is shown below.
<qdbapi>
<action>API_EditRecord</action>
<errcode>0</errcode>
<errtext>No error</errtext>
<rid>1139</rid>
<num_fields_changed>0</num_fields_changed>
<update_id>1621033392832</update_id>
</qdbapi>
Thank you in advance for any help.
Thank you in advance for any help.
------------------------------
Peter Krasznekewicz
------------------------------