Opti.Addons.DeleteMissingCmsPropertiesScheduledJob
0.2.0
dotnet add package Opti.Addons.DeleteMissingCmsPropertiesScheduledJob --version 0.2.0
NuGet\Install-Package Opti.Addons.DeleteMissingCmsPropertiesScheduledJob -Version 0.2.0
<PackageReference Include="Opti.Addons.DeleteMissingCmsPropertiesScheduledJob" Version="0.2.0" />
paket add Opti.Addons.DeleteMissingCmsPropertiesScheduledJob --version 0.2.0
#r "nuget: Opti.Addons.DeleteMissingCmsPropertiesScheduledJob, 0.2.0"
// Install Opti.Addons.DeleteMissingCmsPropertiesScheduledJob as a Cake Addin #addin nuget:?package=Opti.Addons.DeleteMissingCmsPropertiesScheduledJob&version=0.2.0 // Install Opti.Addons.DeleteMissingCmsPropertiesScheduledJob as a Cake Tool #tool nuget:?package=Opti.Addons.DeleteMissingCmsPropertiesScheduledJob&version=0.2.0
[!CAUTION] This scheduled job was tested locally with only a few test cases. Please review the code and test it in your environment before running it in production. Please also make sure you have a backup of your database before running this scheduled job. The software is provided as is and you use it at your own risk.
ℹ️ Delete Missing CMS Properties Scheduled Job
This scheduled job will delete any missing CMS properties from the database. This is useful when you have removed a property from your code and you want to remove it from the database. By default, Optimizely code does not remove properties from the database when you remove them from the code.
- [Opti.Addons] Delete missing CMS data: List
- The one is read-only and will list all the missing properties.
- [Opti.Addons] Delete missing CMS data: Delete
- The other one will delete all the missing properties.
🚀 Installation
NuGet URL: https://www.nuget.org/packages/Opti.Addons.DeleteMissingCmsPropertiesScheduledJob
Install the package and the scheduled jobs will be available in the list of scheduled jobs.
Add to the Startup.cs
:
services.AddDeleteMissingCmsProperties();
If the version of your .NET or CMS package are different, you may either:
- Fork the code and update the references.
- Just copy and paste the code into your solution.
📃 Version history
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
-
net6.0
- EPiServer.CMS.Core (>= 12.0.0 && < 13.0.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 9.0.1)
-
net7.0
- EPiServer.CMS.Core (>= 12.0.0 && < 13.0.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 9.0.1)
-
net8.0
- EPiServer.CMS.Core (>= 12.0.0 && < 13.0.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 9.0.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.