Hey,
it is possilbe to delete a blog post in Confluence after a certain time?
Kind regards,
Tobi
Confluence Command Line Interface can be used without taking Confluence offline or worrying about corrupting your database. Use the query in runFromSql. An alternative for OnDemand or if you don't want to do SQL is to use getBlogList to a csv file and a small script to select rows by date. In either case, use something like:
--action removeContent --id nnnnnnnn
Matthew's answer can be used indeed. A script can be created to delete blogposts, however, note that the blogposts are inside the "content" table and this table consists of multiple FKs in the database. So, if you are willing to create a script, be sure to not violate any constraint in the process and keep the database clean.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
While it's certainly not a built in feature, you could write a SQL statement against the Confluence database that runs at some interval (as a cron job, perhaps) and cleans up/removes entries that are older than a certain date.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.