Removing references to old packages or items
As a part of development, a framework model might need changes. Often, the package names, namespaces names, and query subject names are changed. Sometimes, when the report is moved to another environment, such differences are encountered. This results in errors and needs every data item to be redefined.
In this recipe, we will see how to quickly change all the references without redefining all the data items.
Getting ready
Take any report that is working fine and verify that it is without any errors. We will take one report based on the GO Data Warehouse (query)
package.
How to do it...
The idea here is to remove these references from the XML specifications of the report. To do this, perform the following steps:
Open the framework model for the GO Data Warehouse (query
)
package. Change the name of the namespace being used by the report. Here we will change the Sales(query) namespace to Sales Renamed.Rename the package
GO Data Warehouse (query)
toGO...