You can create an XML file to configure the New command on a folder shortcut menu in the Management Console. For example, you can add the option to create a new search folder or imported folder.
-
Create a new XML file called NewPopUpMenus.xml.
-
Type the following code:
<?xml version="1.0" encoding="utf-8"?>
<xml>
<PopupMenu id="{AF2EE992-B592-11D4-8B30-0050DA23CBE0}">
<Menuitem id="Folder" arg1="" action="" accel="" caption="&Folder"/>
<Menuitem id="Group1" caption="-"/>
<Menuitem id="Imported Folder" arg1="" action="" accel="" caption="&Imported Folder"/>
<Menuitem id="Search Folder" arg1="" action="" accel="" caption="My &Search Folder"/>
</PopupMenu>
</xml>
-
id - Specifies the package name. The name must correlate to a folder in <SymbolShare>\Drawings\Catalog\Packages. If the package name is not found, the system ignores the corresponding Menuitem, and the Error Log is updated.
-
Caption - Specifies the text that displays on the shortcut menu. Type "-" to insert a separation between commands. Each caption must be unique.
-
arg1, action, and accel are not currently used by the system.
-
PopupMenu id – Specifies that the menu applies to the folder in the Management Console. Do not edit or delete this value.
-
-
Save the NewPopUpMenus.xml file in the <SymbolShare>\Drawings\Catalog\Packages folder.
When you right-click a folder in the Management Console, the shortcut menu displays as shown: