COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Framework Manager => Topic started by: TheBrenda on 03 Mar 2016 08:59:40 AM

Title: How to delete old reports and packages
Post by: TheBrenda on 03 Mar 2016 08:59:40 AM
We have many customers. We Adminstration -> configuration -> content administration -> export from our integration environment and then have our customer Adminstration -> configuration -> content administration ->  Import to publish the new deployment. If we have obsolete reports, how do we delete them? My business analysis says that the import will only overlay existing objects, it will not remove objects (reports, packages). 

We have some obsolete reports and packages that I am tired of answering questions about and I want them deleted. we have hundreds of customers and we need an automated way of deleting them that does not include a third party tool.
Title: Re: How to delete old reports and packages
Post by: MFGF on 03 Mar 2016 10:21:52 AM
Quote from: TheBrenda on 03 Mar 2016 08:59:40 AM
We have many customers. We Adminstration -> configuration -> content administration -> export from our integration environment and then have our customer Adminstration -> configuration -> content administration ->  Import to publish the new deployment. If we have obsolete reports, how do we delete them? My business analysis says that the import will only overlay existing objects, it will not remove objects (reports, packages). 

We have some obsolete reports and packages that I am tired of answering questions about and I want them deleted. we have hundreds of customers and we need an automated way of deleting them that does not include a third party tool.

What governs if a package or report is obsolete? To do anything other than manually deleting them, you'd need to formulate a foolproof strategy for identifying what is to be deleted, then take advice on how that strategy might be implemented. It might be simple or it might involve writing an SDK application, but without knowing the criteria for deletion it's impossible to say.

MF.
Title: Re: How to delete old reports and packages
Post by: TheBrenda on 03 Mar 2016 11:57:58 AM
The criteria is that I say the report "Birmingham sales" in folder 'xyz' is obsolete and needs deleting.

I am asking for ideas, suggestions, on how to get reports and packages automatically deleted. We have several hundred customers with their own COGNOS.
Title: Re: How to delete old reports and packages
Post by: Lynn on 04 Mar 2016 02:28:11 AM
Quote from: TheBrenda on 03 Mar 2016 11:57:58 AM
The criteria is that I say the report "Birmingham sales" in folder 'xyz' is obsolete and needs deleting.

I am asking for ideas, suggestions, on how to get reports and packages automatically deleted. We have several hundred customers with their own COGNOS.

So you want an automated solution that can read your mind? If you want ideas and suggestions then it would be best if you answer the question already asked:

Quote from: MFGF on 03 Mar 2016 10:21:52 AM
What governs if a package or report is obsolete? To do anything other than manually deleting them, you'd need to formulate a foolproof strategy for identifying what is to be deleted, then take advice on how that strategy might be implemented. It might be simple or it might involve writing an SDK application, but without knowing the criteria for deletion it's impossible to say.

MF.
Title: Re: How to delete old reports and packages
Post by: MFGF on 04 Mar 2016 04:12:58 AM
Quote from: Lynn on 04 Mar 2016 02:28:11 AM
So you want an automated solution that can read your mind?

I would have suggested bus-pass-man's Clairvoyance Cap with an interface to the content store database to mark rows for deletion, but you can see from the post below that it's having technical difficulties, which means it wouldn't be a reliable solution. Shame - would have been a good project :)

http://www.cognoise.com/index.php/topic,30210.msg98181.html#msg98181

MF.
Title: Re: How to delete old reports and packages
Post by: Lynn on 04 Mar 2016 05:13:38 AM
 ;D ;D ;D ;D
Title: Re: How to delete old reports and packages
Post by: TheBrenda on 04 Mar 2016 01:22:18 PM
I am not asking for you to attend my business meetings where we decided what reports are getting sent out to pasture. I am asking you within the software how can reports and packages get automatically deleted.
Title: Re: How to delete old reports and packages
Post by: TheBrenda on 04 Mar 2016 03:52:54 PM
OK, I guess the confusion is because I say automatically. I know what reports or packages need to be deleted. I just do not want to write a HOW TO doc for the customers and have them manually select the reports and then click the delete button on the toolbar. We have done that and most of the customers still call complaining about reports that were deprecated years ago not working. How are the ways that a package and report can be deleted? 
Title: Re: How to delete old reports and packages
Post by: roddawg on 11 Mar 2016 01:34:59 PM
Probably better worded "You want to programmatically remove specified reports located in a specific content store." Correct? If the content store is located in the CRN_Content_Store_10_x table in your database I'd say develop a script that looks for relevant records and remove them from the database.