Jump to content
We've recently updated our Privacy Statement, available here ×

Delete generated reports from Database


laggybuggy
Go to solution Solved by laggybuggy,

Recommended Posts

Our Jasper Server has been up for quite a long time. Due to this, some of the folders that contain the generated output reports contain a lot if files already and I'm unable to open it from the UI. I want to clean them up. I want to know how to navigate these files/directories from the database. Is there anyone who has done this? Thanks!

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

  • Solution

These are the following tables involved for deletion:

  • JICONTENTRESOURCE
  • JIRESOURCE

You can also check the following to filter down your search results:

  • JIRESOURCEFOLDER

Sample Query:

SELECT *FROM JIRESOURCE rsrcLEFT JOIN JIRESOURCEFOLDER folderON rsrc.parent_folder = folder.IDLEFT JOIN JICONTENTRESOURCE conrsrcON rsrc.ID = conrsrc.IDWHERE folder.URI = '/FolderName'[/code]

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...