If you are unable to create a new account, please email support@bspsoftware.com

 

How to keep the reports from breaking if namespace is changed?

Started by cognoid1, 15 Feb 2006 02:15:13 PM

Previous topic - Next topic

cognoid1

I have several ReportNet reports out on the Cognos Connection.  Recently, we went through clean house and changed the namespace(s) in our Framework Model(s).  Well, all the reports broke.

Is there a way to makethe existing report(s) that were created with an old namespace (Example: Namespace "A") use the new namespace (Example: Namespace "B").

Old design: [NameSpaceA].[old_query_subject].[same_query_item]

New design: [NameSpaceB].[new_query_subject].[same_query_item]

Thank You.

mikewalker

Hi cognoid1,

Have dealt with this problem before...the way we got around it was to:

  • open each report
  • re-model report using new package namespace
  • validate report (expect some errors)
  • fix any errors in the report with items in the new namespace

Alternative methods to fix this could also include:

  • using the SDK to "batch update" all namespace properties in chosen reports to the new namespace
  • copying report to XML and performing a "Find & Replace" operation in a text editor (Find [NameSpaceA] and Replace with [NameSpaceB], then open the report from the modified XML and validate it

HTH
Mike