data source #2230
-
How can I update reports from the test environment to the production environment without modifying the data sources? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
I've converted this to a discussion. In the future, please use discussions to ask questions: https://github.com/eclipse-birt/birt/discussions Use issues only for reporting a problem that would require changes in the code or documentation or to address that: |
Beta Was this translation helpful? Give feedback.
-
There are multiple options to handle different connections for the same data source for specific environments. Option 1) Working with connection profiles: the setup would be externalized. The filename of the profile must have the same name for all environments. Option 2) Working with "Property Binding": with these options the values can be changed through scripting Option 3) Working with the DataSource->Scripting->beforeOpen()-method: scripting of the connection properties Option 3 would be my favorite. Because all information are concentrated at one location and here you can work with external property files which includes your connection values. Screen, Option 1) |
Beta Was this translation helpful? Give feedback.
There are multiple options to handle different connections for the same data source for specific environments.
Option 1) Working with connection profiles: the setup would be externalized. The filename of the profile must have the same name for all environments.
Option 2) Working with "Property Binding": with these options the values can be changed through scripting
Option 3) Working with the DataSource->Scripting->beforeOpen()-method: scripting of the connection properties
Option 3 would be my favorite. Because all information are concentrated at one location and here you can work with external property files which includes your connection values.
Screen, Option 1)
https://stackoverflow.…