Commands
Right-click the Template Definition node and select Commands to add a Commands subnode () where you can add commands to the form template.
In the Label field, enter a label for the Commands node, if desired.
The Button orientation list is enabled when the commands added are represented as buttons. This is the case when the selected node in the Add Content To Target tree is a Form Reference or a Form Collection. You can then choose Horizontal (the default) or Vertical.
Add Content to Target
The tree under Add Content to Target contains all nodes that actions can be added to. This includes menus, ribbon sections, toolbars on forms, and subforms referring to an empty form.
The menus and ribbons defined in the add-in file with the template definition will be added to the application where the template definition is used. You can use this functionality to include some standard actions such as Save, Save As, and About in the template and have that transferred to the app where the template is used. If a menu or ribbon tab with the same name already exists in the application it is replaced by the menu or ribbon tab from the template definition. Select a node or right-click it to choose Edit Node to move to that node and open its Settings window. For applicable nodes you can also choose Use as Target. The Use as Target selection determines where in the form the Form wizard will place the added form objects. It lets the Template Definition control the layout produced by the Form wizard.
If the target for the action is set to some child node of Main Window the Menu type from the add-in with the template definition is also set on the application where the template is used. That is it is set to Ribbon or Menu bar to allow to properly show the content defined by the template.
If a form is selected as target, large buttons with a flat style are added directly on that form, and if a toolbar is selected, toolbar buttons are added as items to that toolbar.