共用方式為


How to Create Action XML for a Configuration Manager Property Sheet

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 property sheet or dialog box in the Configuration Manager 2007 console, you create a ShowDialog action. Like other actions, the ShowDialog action defines a context menu and action pane action that the user selects to show the dialog box. To define the ShowDialog action, you create an XML file that describes a ActionDescription element.

For more information about property sheet and dialog box actions, see Configuration Manager ShowDialog Action.

The following procedure creates the action XML for showing the property sheet you created in How to Create a Configuration Manager Property Sheet. You must also complete How to Create Form XML for a Configuration Manager Property Sheet before completing the following procedure.

To create action XML for a property sheet

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

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

    <ActionDescription Class="ShowDialog" DisplayName="Show my Property Sheet" MnemonicDisplayName="Mnemonic" Description="Description">
          <DialogId>ConfigMgrPropertySheet</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. If they do not exist, create the Actions folder and Actions subfolder.

  4. Load the Configuration Manager console, and in the console tree Packages node, right-click a package in the results pane, and then click Show my Property Sheet. A property sheet appears.

See Also

Concepts

How to Create a Configuration Manager Property Sheet
How to Add a Property Page to an Existing Configuration Manager Property Sheet
How to Create Form XML for a Configuration Manager Property Sheet
How to Find a Configuration Manager Console Node GUID