DataloadUpload preview


Can I visualize the content of a canonical file that has been uploaded to the platform to be processed?

I’m looking for a function like readString() that can output the content of an uploaded canonical file.


Assuming you’ve uploaded the file using the import/1 URL to upload content to be processed, you can view the content of the DataLoadUploadLog. When you upload content using the import/1 URL, a DataLoadUploadLog record should be created for the uploaded file/canonical. Once you have the id of the DataLoadUploadLog record you can do something like:

var f = DataLoadUploadLog.get();
var content = f.content.readString(0, 1000); // read first 1k characters