Define an action in File > New for the new item
Modify the creatables.conf file to define the new item in File > New.
- Open the creatables.conf file in your template directory.
-
Notice that the
Categoryelements organize the creatables into groups. Find theCategoryelement with a name attribute ofDatabase. Modify theFileelement to represent the newly defined database file by changing thelabel,extension, andsourceattributes.<Category index="30" label="Database" name="Database"> <File index="30" name="DBXNewERD" action="DBOpen" label="DB Schema (.4dbz)" description="Create a new DB schema" icon="document_newSchema" extension="4dbz" source="creatables/dbapp.4dbz" isTemplate="true"/> </Category> - Save the changes.
-
Since the
sourceelement was changed to creatables/dbapp.4dbz, create that file in the creatables subdirectory in your template directory. Copy and rename dbapp.4dbx to dbapp.4dbz.