You can add, change, and delete domain components.
Use caution when editing Domains that have been used for Ad Hoc views or Domain Topics. By default, if you remove or change Domain elements that are used in an Ad Hoc view or Topic, any dependencies are removed the next time the Ad Hoc view or topic is opens. In some cases, you might want to create a placeholder field to preserve the structure of the Ad Hoc view. |
To edit a Domain:
1. | Log into the server as an administrator and navigate to the Domain location in the repository. |
2. | Right-click the Domain and select Edit from the context menu. |
The Domain Designer opens on the Data Presentation tab. Click the tab with the information you want to edit and make your changes.
3. | If you want to change the data source, select Replace Data… from the |
If you change to a data source with a different database, the definitions in the Domain design may become invalid and you can't save the Domain. See Changing the Data Source for more information.
Before you switch the data source for a Domain, back up the Domain by exporting a Domain design file. |
4. | Save the Domain. |
After modifying a Domain, you must clear the Ad Hoc cache of all queries based on the Domain. This removes any data that was based on the old instance of the Domain and avoids inconsistencies in new reports. For instructions, see the JasperReports Server Administrator Guide.
Recommended Comments
There are no comments to display.