Skip to content

Commit 049bcbd

Browse files
Apply suggestions from code review
Co-authored-by: sofietoft <[email protected]>
1 parent 266d18e commit 049bcbd

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

13/umbraco-deploy/deployment-workflow/import-export-v7.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ description: How to export content and schema from Umbraco 7 and import into a n
55

66
### Migrating from Umbraco 7
77

8-
The import and export features are available for Umbraco Deploy supporting Umbraco 8 and above. It's not been ported back to Umbraco 7, hence you cannot trigger an export from the backoffice or using the service.
8+
The import and export features are available for Umbraco Deploy supporting Umbraco 8 and above. It's not been ported back to Umbraco 7, hence you cannot trigger an export from the backoffice or use the service.
99

10-
However, we can still use this feature to help migrate from Umbraco 7 to a supported major version. This requires additional logic to be added to your Umbraco 7 project to create an export ZIP archive similar to newer versions.
10+
However, you can still use this feature to help migrate from Umbraco 7 to a supported major version. This requires adding additional logic to your Umbraco 7 project to create an export ZIP archive similar to newer versions.
1111

1212
#### Exporting Umbraco 7 content and schema
1313

14-
We can generate an export archive in the same format as used by the import/export feature. This is done by adding the [`Umbraco.Deploy.Contrib.Export` assembly](https://github.com/umbraco/Umbraco.Deploy.Contrib/releases/tag/release-2.0.0-export) to your Umbraco 7 project (that already has Deploy and Deploy Contrib installed, see below). This archive can then be imported into a newer Umbraco version by configuring the legacy import migrators. You can also apply additional migrators to update obsolete data types and property data into newer equivalents.
14+
You can generate an export archive in the same format as the import/export feature. This is done by adding the [`Umbraco.Deploy.Contrib.Export` assembly](https://github.com/umbraco/Umbraco.Deploy.Contrib/releases/tag/release-2.0.0-export) to your Umbraco 7 project (that already has Deploy and Deploy Contrib installed, see below). This archive can be imported into a newer Umbraco version by configuring the legacy import migrators. You can also apply additional migrators to update obsolete data types and property data into newer equivalents.
1515

1616
This is possible via code, by temporarily applying a composer to an Umbraco 7 project to generate the export archive on start-up:
1717

@@ -152,7 +152,7 @@ internal class LegacyImportComposer : IComposer
152152
.Append<ElementTypeArtifactMigrator>();
153153

154154
builder.DeployPropertyTypeMigrators()
155-
.AddLegacyMigrators(); // Available since Deploy Contrib 13.3.0 and 14.2.0+
155+
.AddLegacyMigrators(); // Available from Deploy Contrib 13.3.0 and 14.2.0+
156156
}
157157

158158
private class ElementTypeArtifactMigrator : ElementTypeArtifactMigratorBase
@@ -176,7 +176,7 @@ Umbraco Deploy for Umbraco 7 is no longer supported and was only available on Um
176176

177177
As such if you are looking to migrate from an Umbraco Cloud project running on Umbraco 7, you already have Umbraco Deploy installed.
178178

179-
If you have an Umbraco 7 on-premises website, you can use this guide to migrate from on-premises to Umbraco Cloud. Or to upgrade to a newer Deploy On-premises version. You will need to obtain and install Umbraco Deploy for Umbraco 7 into your project, solely to use the export feature.
179+
If you have an Umbraco 7 on-premises website, you can use this guide to migrate from on-premises to Umbraco Cloud. Or to upgrade to a newer Deploy On-premises version. You need to obtain and install Umbraco Deploy for Umbraco 7 into your project, solely to use the export feature.
180180

181181
The export feature can be used without a license.
182182

13/umbraco-deploy/deployment-workflow/import-with-migrations.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ Open source migrators may be built by HQ or the community for property editors f
123123

124124
#### Grid to Block Grid
125125

126-
The Grid editor introduced in Umbraco 7 can still be used in version 13, but has been removed from Umbraco 14. It's functionality is replaced with the Block Grid editor.
126+
The Grid editor introduced in Umbraco 7 can still be used in version 13 but has been removed from Umbraco 14. Its functionality is replaced with the Block Grid editor.
127127

128128
With Deploy migrators we have support for migrating Data Type configuration and property data between these property editors.
129129

@@ -147,7 +147,7 @@ internal sealed class DeployMigratorsComposer : IComposer
147147
```
148148

149149
{% hint style="info" %}
150-
The project you're importing into needs to know about any custom legacy Grid editor configurations to correctly migrate to the Block Grid editor. Make sure to either copy the `grid.editors.config.js` and `package.manifest` (containing grid editors) files or override the `GetGridEditors()` method of the artifact migrator to provide this.
150+
The project you are importing into needs to know about any custom legacy Grid editor configurations to migrate to the Block Grid editor correctly. Make sure to either copy the `grid.editors.config.js` and `package.manifest` (containing grid editors) files or override the `GetGridEditors()` method of the artifact migrator to provide this.
151151
{% endhint %}
152152

153153
These implementations make use of the following conventions to migrate the data:
@@ -234,7 +234,7 @@ The migrators add the following behavior:
234234
- `DocTypeGridEditorPropertyTypeMigrator` extends `GridPropertyTypeMigrator` and ensures the Doc Type Grid Editor values are mapped one-to-one to the block item data.
235235

236236
{% hint style="info" %}
237-
The artifact migrator adds the default DTGE grid editor configuration (with alias `docType`), which can be disabled by setting the `AddDefaultDocTypeGridEditor` property to `false` (in a custom/inherited class). Similar to the base migrator, any custom DTGE grid editor configurations need to be available to correctly migrate to the Block Grid editor.
237+
The artifact migrator adds the default DocTypeGridEditor configuration (with alias `docType`). This can be disabled by setting the `AddDefaultDocTypeGridEditor` property to `false` in a custom/inherited class. Similar to the base migrator, any custom DocTypeGridEditor configurations must be available to migrate to the Block Grid editor correctly.
238238
{% endhint %}
239239

240240
#### Migrating from Matryoshka

0 commit comments

Comments
 (0)