Known issues with TSV export files

Copper Contributor

I have noticed a few hopefully fixable problems that currently render the exported TSV files less useful than they should be, and certainly these are issues that other users should be aware of.


The files are row delimited using the LINEFEED character  (ASCII character 10), and within each row the columns are delimited by the horizonatal TAB (ASCII character 9). The problem is that these characters can be embedded within an individual field as well (for example Customer Name Joe[TAB]Bloggs). When this occurs, because there are no text qualifiers, every field in the row beyond the embedded tab is pushed out by one. If a LINEFEED is embedded in a field (for example in Customer Address: 1 Microsoft Way[LINEFEED]Redmond), it creates a new line at "Redmond".


Is it possible to replace the affected embedded control characters with something more benign, like SPACE (ASCII character 32) during the generation of the extract, or to use text qualifiers such as double quotes to surround affected fields? Or simply handle them at the point of entry?


The file export date ranges appear to be based on the booking datetime. If there was an option to base it on the last modified date, it would open up the possibility of incremental extracts, thus hugely reducing the burden on MS's servers and everyone else who can implement incremental handling of these files. To be 100% sure all changes have been captured, the user has no alternative other than to download every single booking, every single time.


It's possible, (indeed common) for customers to create bookings that are almost duplicated (say all fields except two identical). When they appear in the same extract, there seems to be no way to know which record takes precedence. If we pick the wrong record in the belief that it is the most recent, this can cause embarrassment. "What is wrong with your <&&$^%#@&^> booking system! I corrrected that!" This could be solved with by including a modified date and time in each row or some sequence number based on the time of the change.


Including the selection criteria metadata in the filename would also be a big improvement eg MSBookings_mycal_20210601_20210606.tsv

1 Reply
Great feedback @g-regex!