Source Filename property
The Source Filename property specifies the name of the external file or image URL to which the boilerplate is linked.
Linking to a file is useful for including the contents of files that are likely to change.
The boilerplate is automatically updated to reflect the latest contents of the file when you do any of the following:
paste the object
import the object
open the report
run the report
The contents of a file linked to a boilerplate object will appear in the Report Editor, but cannot be edited within the Report Editor.
A valid filename or image URL not to exceed 1K in length.
You can prefix a path to the filename.
If a path is not prefixed to the filename, Reports Builder uses its file path search order to find the file.
The maximum size of the file you specify depends upon your operating system.
The source filename may be operating-system dependent.
If you move the report to another operating system, you may need to update the filename.
This field appears only for objects created with the File Link tool.
If you specify a file that contains a layout object and its properties (i.e., a file that contains an exported layout object), the file is treated as an anonymous graphical object (i.e., the properties of the object will be ignored).
If you want the object's properties to be used, then you should import it instead of linking the file.
Usage notes
To ensure the portability of your reports, you can take advantage of the Reports Builder-specific environment variable called REPORTS_PATH.
You can use this variable to specify the default directory or directories where you want Reports Builder to search for external files you use in your reports (e.g., external queries, boilerplate, and PL/SQL).
This prevents the need to hardcode directory paths in your report.
You can also include files in your report using Read from File.
Partager