diff --git a/10/umbraco-cms/extending/filesystemproviders/README.md b/10/umbraco-cms/extending/filesystemproviders/README.md index 9ec99b024cd..cf5613c9854 100644 --- a/10/umbraco-cms/extending/filesystemproviders/README.md +++ b/10/umbraco-cms/extending/filesystemproviders/README.md @@ -145,13 +145,15 @@ By default the MediaPath scheme used by Umbraco is the `UniqueMediaPathScheme` t `/media` is defined by the PhysicalFileSystem and 'dozdrg2f' is generated by the `UniqueMediaPathScheme`. -You can set the `MediaPathScheme` during composition, for example if you wanted to revert back to the V7 methodology in a migrated site: +You can create your own logic for the path by implementing `IMediaPathScheme` and setting it during composition with: -```c# - builder.Services.AddUnique(); +```csharp +builder.Services.AddUnique(); ``` -And you could create your own logic for the path by implementing `IMediaPathScheme`. +{% hint style="info" %} +`OriginalMediaPathScheme` is deprecated as of Umbraco 9. If you are migrating from earlier versions, we recommend using `IMediaPathScheme` to implement your own logic. +{% endhint %} ## Other IFileSystems diff --git a/13/umbraco-cms/extending/filesystemproviders/README.md b/13/umbraco-cms/extending/filesystemproviders/README.md index 9913eb37658..6168a7bbd31 100644 --- a/13/umbraco-cms/extending/filesystemproviders/README.md +++ b/13/umbraco-cms/extending/filesystemproviders/README.md @@ -144,13 +144,15 @@ By default the MediaPath scheme used by Umbraco is the `UniqueMediaPathScheme` t `/media` is defined by the PhysicalFileSystem and 'dozdrg2f' is generated by the `UniqueMediaPathScheme`. -You can set the `MediaPathScheme` during composition, for example if you wanted to revert back to the V7 methodology in a migrated site: +You can create your own logic for the path by implementing `IMediaPathScheme` and setting it during composition with: -``` - builder.Services.AddUnique(); +```csharp +builder.Services.AddUnique(); ``` -And you could create your own logic for the path by implementing `IMediaPathScheme`. +{% hint style="info" %} +`OriginalMediaPathScheme` is deprecated as of Umbraco 9. If you are migrating from earlier versions, we recommend using `IMediaPathScheme` to implement your own logic. +{% endhint %} ## Other IFileSystems diff --git a/14/umbraco-cms/extending/filesystemproviders/README.md b/14/umbraco-cms/extending/filesystemproviders/README.md index 5ce6069051c..18b491480c0 100644 --- a/14/umbraco-cms/extending/filesystemproviders/README.md +++ b/14/umbraco-cms/extending/filesystemproviders/README.md @@ -146,13 +146,11 @@ By default the MediaPath scheme used by Umbraco is the `UniqueMediaPathScheme` t `/media` is defined by the PhysicalFileSystem and 'dozdrg2f' is generated by the `UniqueMediaPathScheme`. -You can set the `MediaPathScheme` during composition, for example if you wanted to revert back to the V7 methodology in a migrated site: +You can create your own logic for the path by implementing `IMediaPathScheme` and setting it during composition with: +```csharp +builder.Services.AddUnique(); ``` - builder.Services.AddUnique(); -``` - -And you could create your own logic for the path by implementing `IMediaPathScheme`. ## Other IFileSystems diff --git a/15/umbraco-cms/extending/filesystemproviders/README.md b/15/umbraco-cms/extending/filesystemproviders/README.md index 5ce6069051c..18b491480c0 100644 --- a/15/umbraco-cms/extending/filesystemproviders/README.md +++ b/15/umbraco-cms/extending/filesystemproviders/README.md @@ -146,13 +146,11 @@ By default the MediaPath scheme used by Umbraco is the `UniqueMediaPathScheme` t `/media` is defined by the PhysicalFileSystem and 'dozdrg2f' is generated by the `UniqueMediaPathScheme`. -You can set the `MediaPathScheme` during composition, for example if you wanted to revert back to the V7 methodology in a migrated site: +You can create your own logic for the path by implementing `IMediaPathScheme` and setting it during composition with: +```csharp +builder.Services.AddUnique(); ``` - builder.Services.AddUnique(); -``` - -And you could create your own logic for the path by implementing `IMediaPathScheme`. ## Other IFileSystems