Hi all, We use iReport from another network application. This application maintain reports templates and xml datasource files. Each template has it's own xml datasource (witch is produce on the fly from others datas)). In the application, a user say he want to edit a template. A temporary local copy of the template is done (with all needed files as pictures, or sub-report templates), with a copy of the appropriate xml datasource file too (in a new temp folder). Then, the template is open with iReport. Here come the problem : for working, the user need the xml datasource file set as a xml datasource in iReport and be the default ! Adding each time a temporary xml file is a little complicated and not useful. A simple solution would be to copy the xml datasource file on a unic path, always the same for any template, but we don't want because if it becomes locked for any reason, user is blocked until restart machine. We have look at the ireport.properties file containing datasources and default, but modify it just before editing is not an easy solution, and it is in an uneasy path depending of the iReport version. One way would be to enter a relative path when setting the xml datasource in iReport, for example short name for saying in the same folder than the jrxml, or use an environement variable in this path. We have tried different syntaxes with no result. Is it possible ? Thanks a lot -- Thierry Hauchard Gesteam