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
Category
elements organize the creatables into groups. Find theCategory
element with a name attribute ofDatabase
. Modify theFile
element to represent the newly defined database file by changing thelabel
,extension
, andsource
attributes.<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
source
element 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.