Hello
Is there any way to exclude a field from being exported/ imported?
We have a “pointer” field used to point ut several media assets to products. If we export this field it will be empty, and if we then use the file to import data from other fields and forget about the empty media assets field we will wipe away all of the data in the field in the backoffice.
With validators you can validate if you want to allow update of an entity and you can also change the entity in the validator. And there are two validation modes modify and create to know if you are creating or modifying and entity. But it is not possible to know if you are doing it from litium ui or via import.
But to be clear a validator doesn’t have to validate anything it could be used just to set default values on entities, for logging or what ever.
Not sure how to make Litium not update a field but perhaps one can remove the field from the entity in the validator and Litium then ignores that property.
But for me it sound like a bug that it is not possible to export values at the same time as it is possible to import. This could cause issues for many people that export large amount or product and then import just to see some links be removed. Media pointers if not using the generic one i think will export the path to the file.