How to Define a View in the Manifest
Applies To: System Center 2012 SP1
Views are defined in the manifest file. Like actions, views are displayed in the Virtual Machine Manager (VMM) console as ribbon buttons. When the user clicks the button, the view that is defined in a Microsoft .NET assembly is displayed. For more information about how to create an assembly that can be used by a view, see Base Classes.
To add a view add-in to the manifest file
Inside the root XML node of the manifest file, create a node named
ViewAddIn
.Add an attribute named
Contexts
to the view node, and set the value to one or more context values. For more information about which context values you can use, see Context values.Add an attribute named
AssemblyName
to the view node, and set the value to the assembly that contains the code that is identified by theName
attribute. This is the file name of the assembly without the extension.Add an attribute named
Name
to the view node. The value of this XML attribute should be the name of the System.Addin.AddinAttribute attribute from the assembly that is identified by theAssemblyName
XML attribute.Optionally, add the
Icon
andShowInContextMenu
attributes.
See Also
Scenario: Create a View Add-ins
How to Design a View
How to Use Context Objects with a View [VMMUISDK]