Removing references to old package and namespaces
As part of development, Framework Model might need changes. Often the package names, namespaces names, and query subject names are changed. Sometimes when report is moved to another environment, such differences are encountered. This results in error; and needs every data item to be redefined.
In this recipe, we will see how to quickly change all the references without redefining all data items.
Getting ready
Take any report that is working fine and verifying without errors. We will take one report based on the 'GO Data Warehouse (query)' package.
How to do it...
Open the framework model for '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)' to 'GO Data Warehouse Renamed' and publish it.
Now open the report and change its package connection to 'GO Data Warehouse Renamed'. This will start the...