Skip to content

This scheduled job will delete any missing commerce 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.

License

Notifications You must be signed in to change notification settings

Opti-Addons/Opti.Addons.DeleteMissingCommercePropertiesScheduledJob

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NuGet Version

Caution

This scheduled job was tested locally with 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 Commerce Properties Scheduled Job

This scheduled job will delete any missing commerce 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 Commerce data: List
    • The one is read-only and will list all the missing properties.
  • [Opti.Addons] Delete missing Commerce data: Delete
    • The other one will delete all the missing properties.

🚀 Installation

NuGet URL: https://www.nuget.org/packages/Opti.Addons.DeleteMissingCommercePropertiesScheduledJob

1: Install the package from the NuGet.

2: Add to the Startup.cs:

services.AddDeleteMissingCommerceProperties();

Now, your scheduled jobs will be available in the list of scheduled jobs.

If the version of your .NET or CMS/Commerce packages are different, you may either:

  • Fork the code and update the references.
  • Just copy and paste the code into your solution.

📃 Version history

See https://github.com/Opti-Addons/Opti.Addons.DeleteMissingCommercePropertiesScheduledJob/releases.

About

This scheduled job will delete any missing commerce 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.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages