In Microsoft System Center Configuration Manager 2007, to display a dialog box in the Configuration Manager console, you create a Configuration Manager ShowDialog Action action. To define the ShowDialog action, you create an XML file that describes a Microsoft.ConfigurationManagement.AdminConsole.Schema.ActionDescription element.

The following procedure creates the action XML for showing a dialog box. You must complete the procedures in the How to Create a Configuration Manager Dialog Box and How to Create Form XML for a Configuration Manager Dialog Box topics before you complete this procedure.

Note
The dialog identifier <DialogId> must match the file name, without the XML extension, of the form XML you created in How to Create Form XML for a Configuration Manager Dialog Box.

To create an action for a dialog box

  1. If it is open, close the Configuration Manager 2007 console.

  2. In Notepad, create an XML file that contains the following XML:

      Copy Code
    <ActionDescription Class="ShowDialog" DisplayName="Show my Dialog Box" MnemonicDisplayName="Mnemonic" Description="Description">
    	<DialogId>ConfigMgrDialogControl</DialogId>
    </ActionDescription>
    
  3. Save the XML file in the folder, %ProgramFiles%\AdminUI\XmlStorage\Extensions\Actions\32815086-cce9-42de-95a4-0941da31114e. The GUID value identifies packages in the results pane. The file name can be anything with an .xml extension. Be sure to save the file as type All Files.

  4. Start the Configuration Manager console, and in the console tree Packages node, right-click a package in the results pane, and then click Show my Dialog Box. A dialog box appears.

See Also


Send comments about this topic to Microsoft.