The ShowDialog action, in System Center 2012 R2 Configuration Manager, opens a property sheet or regular dialog box in the Configuration Manager console. With the ShowDialog action, you can display existing dialog boxes or extension dialog boxes that you create.

The following attributes and elements are specific to an action that opens a dialog box:

Sample ShowDialog Action XML

The following XML shows how to show a dialog box with the identifier PrototypeForm:

  Copy Code
<ActionDescription Class="ShowDialog" DisplayName="Test Action (dialog)" MnemonicDisplayName="Mnemonic" Description="Description"> <ShowOn> 		<string>DefaultHomeTab</string> <string>ContextMenu</string> 	 </ShowOn>
 <DialogId>PrototypeForm</DialogId>
</ActionDescription>

Sample Properties ShowDialog Action XML

The following attributes and elements are specific to an action that adds a property page to a properties property sheet:

  • The ActionDescription element ActionVerb attribute is set to Properties.

  • The DialogID element identifies a property sheet containing the property page to be displayed in the Properties dialog.

The following XML shows how to integrate a property page (PrototypeForm) into a properties context menu option:

  Copy Code
<ActionDescription ActionVerb="Properties" Class="ShowDialog">  <ShowOn> <string>DefaultHomeTab</string> <string>ContextMenu</string>  </ShowOn>  <DialogId>PrototypeForm</DialogId>
</ActionDescription>

For more information about creating and showing dialog boxes, see Configuration Manager Console Forms.

See Also