How to Create Action XML for a Configuration Manager Dialog Box

Applies To: System Center Configuration Manager 2007, System Center Configuration Manager 2007 R2, System Center Configuration Manager 2007 R3, System Center Configuration Manager 2007 SP1, System Center Configuration Manager 2007 SP2

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 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:

    <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

Concepts

How to Create a Configuration Manager Dialog Box
How to Create Form XML for a Configuration Manager Dialog Box
How to Create Action XML for a Configuration Manager Property Sheet
How to Use Objects Passed to a Configuration Manager Form
How to Bind Configuration Manager Data to a Form