I am generating a qbo3 UI with Excel that includes the following API call:
api/importform/listdeep?TargetObject=Loan&TargetObjectID={LoanID}&Output=Xml
In the result set, the Task XmlData includes some fields I wish to display. However, when I map the fields to Excel columns, no value is displayed.
How do I get XmlData fields to display in Excel?
The
ListDeepquery returns aDataReader, which plays nicely with Excel, but does not play nicely withXmlfields such asXmlData. To resolve your situation, proxy your api call withExecuteFlat:This will cause the qbo3 API to "flatten"
XmlDataelements intoDataReadercolumns, and you can then use them any way you see fit in Excel, as if they were a normalized column.