Capgemini / xrm-datamigration

Export and import data for Microsoft Dataverse. Supports JSON and CSV.
MIT License
24 stars 11 forks source link

Entity Image fails for CSV Export #34

Open tdashworth opened 3 years ago

tdashworth commented 3 years ago

Describe the bug I have a schema with the field <field displayname="Image" name="new_image" type="image" primaryKey="false" customfield="false" /> which is failing with the error Error:Not supported attribute type System.Byte[] only for CSV exports (JSON worked fine).

To Reproduce

  1. Generate a schema which includes an entity with an entityimage and include that field like above.
  2. Run this through the CSV data exporter and the above error should occur.

Expected behavior This error not to be thrown and instead the base64 to be exported or safe handling of this field type to be ignored.