What is this XML error?

  • 0
  • 1
  • Question
  • Updated 2 years ago
  • In Progress
HI everyone,

I am getting the attached XML error when using a formula URL button in an email. When I am logged into QB there isn't a problem. When I am logged out is when I get the error. Is there a way to accomplish what I need from the formula URL button, edit the record, or redirect to login page and then onto editing that specific record? I am using this formula: URLRoot() & "db/" & Dbid() & "?act=API_EditRecord&apptoken=[MyAppToken]&_fid_44=Acknowledged&rid=" & [Record ID#] & "&rdr=" & URLEncode(URLRoot() & "db/" & Dbid() & "?act=dr&rid=" & [Record ID#])


Please let me know. Thank you!
Photo of Jim

Jim

  • 62 Points

Posted 3 years ago

  • 0
  • 1
Photo of John Thomas

John Thomas

  • 1,082 Points 1k badge 2x thumb
You can Edit the corresponding Record by the below formula

"https://[YourDomain]/db/[tableId]?a=er&rid="&[Record ID#]&"&apptoken=[apptoken]"

Just Fill

YourDomain eg:  aaa.com
tableid: seen in the url of table after db
apptoken: On app management Require application token and create a token.

just remove square brackets