Question: I want to modify a standard configuration report which uses DCS. How to properly take the report to extension so that I can modify it´s Data Composition Schema?
Answer: You cannot modify the original Data Composition Schema of the report. You can create a copy of it, modify it and then designate it as the main Data Composition Schema of the report though. Here´s how it´s done:
- Before adding anything to the extension, save the main configuration´s report as an external report (.erf file) first.
Open the just saved .erf file and modify the external report (effectively, the Data Composition Schema of the report) as you require. Once finished, save the .erf file again, then save the Data Composition Schema of the report to the hard disk as an .xml file.
Take the report to the extension. Please note that we only need to take the report to the extension, and not it´s Data Composition Schema. Afterwards, in the extension, add a template of template type Data Composition Schema to the report.
- Open the newly added template (Data Composition Schema) in the extension and load the .xml which you had saved to hard disk before to the template. Once loaded, you will get an error message “Error obtaining data set information” if not all of the fields you had referred to in the report query are already in the extension. In deed there is no need for these fields to be added to the extension for the report to work, so just do not bother with the error message, simply click OK.
Open the report properties in the extension, activate the “Main data composition schema” tick box, associated choice field will become available, choose the template you had created in the extension as the main data composition schema.
Save the main configuration, update the database configuration, that´s it.