Replies: 3 comments
-
I assume this relates to Issue #92, where we had the same problem and I'd asked: |
Beta Was this translation helpful? Give feedback.
-
Hi, sorry super busy, so not really keeping up with this at the moment these elements are blocked by default because Umbraco writes them should the media be their, so having them in the file and umbraco writing them causes false posistives and makes syncing a bit slower (when the media exists). - because things will flag as changes when they are not. however this is behind an option, (BlockCommonTypes) . so you shouldn't need to have your own version of the whole code base, you need a custom migration plan/profile (see examples https://github.com/Jumoo/uSyncMigrations/blob/main/MyMigrations/MyMigrationProfile.cs) and then you could set the BlockCommonTypes option to false, and it wouldn't add these blocks to the migration. Kevin |
Beta Was this translation helpful? Give feedback.
-
@KevinJump Thanks for the heads up, I can see that now. However, how would this work if your migration consists of multiple steps? For instance mine currently uses |
Beta Was this translation helpful? Give feedback.
-
I note that in the
SyncMigrationService
class there is a method calledPrepareContext
in which the following code exists:We have a couple of custom properties on the Image media type and as a result of this blocking those properties are not included in the migration.
What would be the best way to introduce these properties as part of the migration process?
Beta Was this translation helpful? Give feedback.
All reactions