When you create a new report template directory, you need to configure Genero Studio to
recognize the directory.
Templates used to create a new report must appear in the menu. When you create a directory to hold your custom template files,
you must update the creatables.conf configuration file to add
the custom templates to the menu.
The initial template directory is defined in the
createables.conf file provided in the Genero Studio
installation directory (at $GSTDIR/conf). It
is recommended that you do not modify this installed
createables.conf file, but create a user-specific
createables.conf file in your
$GSTSETUPDIR directory.
Before you begin, know the full path to the new template directory.
-
Open the creatables.conf file from your
$GSTSETUPDIR directory (for
example, C:\Users\Jean Dupont\AppData\Roaming\FourJs\Genero Studio
3.10.28-150486\tpl\dbapp4.0)
.
Tip: To see the value $GSTSETUPDIR directory, go
to and select the environment set for your template.
-
Add the following text directly under the
<Creatables>
root:
<DocumentDirectory index="35" label="Report From Template"
name="RWReportFromTemplate" icon="document_4rp" directoryPath="DirectoryPath">
<DocumentType extension="4rt" icon="document_4rt" action="RWTemplateWizard"/>
<DocumentType extension="4rp" icon="document_4rp" action="RWTemplateWizard"/>
</DocumentDirectory>
Update the directoryPath parameter to the location of your
template files.
Note: This createables.conf
file is merged with the GST installation
createables.conf file (located in
$GSTDIR/conf). The index
attribute of DocumentDirectory
indicates where the node is
inserted in the merged file. If the DocumentDirectory node's name is the
same as an existing node in the GST installation
createables.conf file, then the two nodes are
merged.
Tip: To list multiple directory paths,
separate the paths with a semicolon, for example,
directoryPath="D:/myTemplates;C:/Users/JeanDupont/MyTemplates"
-
Select .
The templates within the specified directory appear in the Report From
Template selection list when you select .