How to Define a Custom Action Add-in in the Manifest

How to Define a Custom Action Add-in in the Manifest

The information in this topic applies only to System Center 2012 SP1.

Custom actions are add-ins that display on the Virtual Machine Manager (VMM) console as ribbon buttons. When the button is clicked by the user, custom code defined in a .NET assembly will be invoked. For more information about how to create an assembly that can be called by a custom action, see Base Classes.

To add a custom action add-in to the manifest

  1. Inside the manifest’s root XML node, create a node named ActionAddIn.

  2. Add an attribute named Contexts to the action node and node and set the value to one or more context values. For more information about which context values can be used, see Manifests.

  3. Add an attribute named ActionType to the action node and set the value to Code.

  4. Add an attribute named AssemblyName to the action node and set the value to the assembly containing the code identified by the Name attribute. This is the file name of the assembly without the extension.

  5. Add an attribute named Name to the action node. The value of this XML attribute would be the name of the System.Addin.AddinAttribute attribute from the assembly identified by the AssemblyName XML attribute.

  6. Optionally add the Icon and ShowInContextMenu attributes.

See Also

Leave a Comment
  • Please add 3 and 3 and type the answer here:
  • Post
Wiki - Revision Comment List(Revision Comment)
Sort by: Published Date | Most Recent | Most Useful
Comments
Page 1 of 1 (1 items)
Wikis - Comment List
Sort by: Published Date | Most Recent | Most Useful
Posting comments is temporarily disabled until 10:00am PST on Saturday, December 14th. Thank you for your patience.
Comments
Page 1 of 1 (4 items)