RhondaJones
2 years agoQrew Cadet
XML Issue
I am creating a button to change a status field. I am getting the XML style information issue. The button works correctly and I know it has something to do with the code not redirecting back to the rid but I'm not sure how to fix it.
Here is the XML 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>8</rid>
<num_fields_changed>0</num_fields_changed>
<update_id>1679947786033</update_id>
</qdbapi>
Here is my code: (this may be overcomplicated. Probably an easier way to accomplish this)
var text URL = URLRoot() & "db/bsy9zg874?a=API_EditRecord&rid=" & [Record ID#] & "&_fid_330=Review%20for%20Inspection&z=" & Rurl();
var text Image = "<img src='https://expertclaimmanagement.quickbase.com/up/bjvfbr5ux/g/rbh/eg/va/button_rev-for-insp.png'>";
"<a href='" & $URL & "' target='_blank'>" & ($Image) & "</a>"
Can I get some help cleaning up this code to correct the error?
thank you very much!
------------------------------
Rhonda Jones
------------------------------