Skip to content

Kentico 8.2 module for moving files from the database to the file system and cleaning out unnecessary attachment histories.

License

Notifications You must be signed in to change notification settings

CityOfNewOrleans/KenticoSpringCleaningModule

Repository files navigation

Kentico Spring Cleaning Module

This module does two things:

  • Moves all attachments from the database to the file system, clearing the binary data out of the db as it goes.
  • Removes unneeded attachment history.

All you need to do is install this module in a Kentico 8.2 instance, then a single click will accomplish either of those two things.

Installing

In the Kentico Admin interface:

  1. Go to the Modules module.

  2. Click New Module.

  3. Fill out the following values:

    • Module Display Name: Spring Cleaning
    • Module Code Name: SpringCleaning
  4. Click Save.

  5. On the side menu that appears, go to Sites and assign the module to any sites you want it to appear in the admin interface for. It needs to be assigned to at least one site or it will be inaccessible.

  6. Go to User Interface. On the CMS tree navigator on the side, expand Administration > Custom.

  7. Select Custom and hit the + button. Fill out the following values:

    • Display name: Spring Cleaning
    • Code name: SpringCleaning
    • Element Content Type: URL
    • Element Target URL: ~\CMSModules\SpringCleaning\Default.aspx
  8. Click Save.

  9. In File Explorer, copy the App_Code, CMSModules, and CMSScripts folders from this repo to the CMS folder in you Kentico instance.

  10. Go to the System module and restart the site, then do a full page refresh.

After all that, the Spring Cleaning module should appear in the Kentico Admin menu for the sites you assigned it to.

Using the Module

Couldn't be simpler. For each of the tasks, just hit Start. To stop, Hit stop. I would however, recommend reloading page in between running either task.

About

Kentico 8.2 module for moving files from the database to the file system and cleaning out unnecessary attachment histories.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published