How to Create Form 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 create the form XML for a Configuration Manager property sheet, you create an XML file that describes an SmsFormData.

Every Configuration Manager console form extension has an associated form XML file that describes the assembly, the type of the form to be displayed, and—in the case of property sheets—how the property pages are organized. The property sheet XML file is referenced by the action XML when an action is selected.

Note

The name of the form XML file is significant because it is used in the action XML to identify the form XML.

The following procedure demonstrates how to create the form XML file for the control and property page you created in How to Create a Configuration Manager Property Sheet.

After completing the following procedure, you must create an action to load the property sheet. For more information, see How to Create Action XML for a Configuration Manager Property Sheet.

Note

To see the form XML used by the Configuration Manager 2007 console, see %ProgramFiles%\AdminUI\XmlStorage\Forms. These can be useful for creating your own form XML.

To create the form 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" encoding="utf-8"?>
    <SmsFormData xmlns="https://schemas.microsoft.com/SystemsManagementServer/2005/03/ConsoleFramework" FormatVersion="1">
      <Form Id="PROPERTYSHEETGUID" CustomData="SomeData" FormType="PropertySheet" ForceRefresh="true">
        <Assembly Name="ConfigMgrControl.dll" Namespace="Microsoft.ConfigurationManagement.AdminConsole.ConfigMgrPropertySheet" />
        <Pages>
          <Page VendorId="YOURCOMPANY" Id="VENDORGUID" Type="ConfigMgrControlPage" HelpID="" />
        </Pages>
      </Form>
    </SmsFormData>
    
  3. In Visual Studio 2005, on the Tools menu, click Create GUID.

  4. In the Create GUID dialog box, in the GUID format panel, select Registry Format.

  5. Click New GUID, and then click Copy.

  6. In the XML above, paste the GUID into PROPERTYSHEETGUID. A single opening { and a single closing } must wrap the GUID. For example, {642097f3-7744-40f6-816c-119d6ef34872}.

  7. Repeat steps 3 through 5, and paste the GUID into VENDORGUID.

  8. In the preceding XML, change YOURCOMPANY to your company name.

  9. Save the XML file in the folder %ProgramFiles%\AdminUI\XmlStorage\Extensions\Forms with the file name ConfigMgrPropertySheet.xml. Be sure to save the file as type All Files. If the Extensions folder and Forms folder do not yet exist, create them.

  10. Start the Configuration Manager console, and select the action you defined in How to Create Action XML for a Configuration Manager Property Sheet.

    The property sheet you created in How to Create a Configuration Manager Property Sheet appears.

See Also

Concepts

About Configuration Manager Console Forms
How to Create Action XML for a Configuration Manager Property Sheet
How to Create a Configuration Manager Property Sheet