Currently, RecordExport uses its own method to determine the representation to be exported. RecordExport goes through the representations backward and selects the first representation that:
consists only of PDF files
or, if this representation doesn't exist
consists of a mix of PDF and images
otherwise, an error is raised. *
The Default Representation property, which has existed since ITA Classic, is not used. This makes it difficult to revert to a previous representation within a document.
We have always strived to keep the default representation exportable and would now like to have the option for RecordExport to export this representation preferentially. This can possibly be configured in the RecordExportConfiguration class.
Regards, Thorsten
* The product development sayed:
If a document should be exported during the record export, it is checked whether the document contains representations that consist of PDF files only. If exactly one such representation is found, the content objects of this representation are exported to the PDF file. If there are multiple such representations, the one with the highest representation number is exported. If there is no such representation, the document is searched for representations that contain content objects of the types PDF, TIF or JPG only. Among these representations, the one with the highest representation number is selected for export. If no such representation is found, the record cannot be exported.
So it is a feature not a bug :(