Adding a new menu and handler

This sample application demonstrates how to create a custom menu that can perform actions through a specified method. The control is a plugin, which means that after you compile it and place it in an Act! installation, it is available in the Act! application.

To implement the plugin

  1. Locate the CustomMenuPlugin.zip file you downloaded with the SDK in the Code Samples folder, and unzip it.
  2. Open the CustomMenuPlugin.cs file in Microsoft Visual Studio 2005 or later.
  3. Edit the label in line 18, private const string CUSTOM_MENU_TEXT, to specify a name for the custom menu.
  4. Specify a method in line 78 to perform the action you want. For example, use the GetFieldDescriptor method to get a URL from a contact record.
  5. Create a Visual Studio project using the open CS file, referencing:
  1. Compile the project by clicking the Compile tool.
  2. Locate the DLL file that you just compiled, and copy it to the Plugins folder in your Act! installation.

The plugin loads next time you start Act!.