Forum Discussion

NealMathews's avatar
NealMathews
Qrew Trainee
3 years ago

XML File does not appear to have any style informaiton associated with it.

Hello, 

I created an action link notification, the email goes out when a user clicks on the "Approve" button in the email, they get directed to a page that states: The XML file does not appear to have any style information associated with it. (Adding screen shot in attachment). 

My Approve button is setup with the following formula: 
URLRoot() & "db/" & Dbid() & "?act=API_EditRecord&apptoken=cx2edttcfbymmycpifybmdri7nce&_fid_17=Approved&rid=" & [Record ID#] & "&rdr=" & URLEncode(URLRoot() & "db/" & Dbid() & "?act=dr&rid=" & [Record ID#])

If I am logged into QB already the button works, but if I am not logged in I get this error. Instead of getting the error shouldn't it direct me to a login page so that the action will complete?

------------------------------
Neal Mathews
------------------------------

1 Reply

  • No, I don't think it works that way for API_EditRecord. 

    It would do that if you were landing the user on a screen to edit a record "a=er" manually or to add a record GenAddRecordForm but not for API_EditRecord.

    ------------------------------
    Mark Shnier (YQC)
    mark.shnier@gmail.com
    ------------------------------