Muokkaa

Jaa


How to Create Action XML for a Configuration Manager Property Sheet

In Configuration Manager, to display a property sheet or dialog box in the Configuration Manager 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:

    <?xml version="1.0"?>  
    <ActionDescription Description="DisplayDescription" DisplayName="DisplayName" SynchronousAction="true" Class="ShowDialog" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">  
       <ShowOn>       <string>DefaultHomeTab</string>  
           <string>ContextMenu</string>   
       </ShowOn>   
       <DialogId>Package</DialogId>   
    </ActionDescription>  
    
  3. Save the XML file in the folder %ProgramFiles%\AdminConsole\XmlStorage\Extensions\Actions\9c69b0aa-a27c-43c9-8c26-5f964106a881. 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 DisplayName. A property sheet appears.

See Also

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 Node GUID