Author Topic: How to keep the reports from breaking if namespace is changed?  (Read 876 times)

Offline cognoid1

  • Full Member
  • ***
  • Posts: 14
  • Forum Citizenship: +0/-1
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.

Offline biz_intel

  • Senior Member
  • ****
  • Posts: 59
  • Forum Citizenship: +2/-1
Re: How to keep the reports from breaking if namespace is changed?
« Reply #1 on: 15 Feb 2006 03:07:19 pm »
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