How to Create Node XML for a Configuration Manager Console Grid View
Updated: November 1, 2013
Applies To: System Center 2012 Configuration Manager, System Center 2012 Configuration Manager SP1, System Center 2012 R2 Configuration Manager
To create the node XML for the System Center 2012 R2 Configuration Manager console default grid view you create an XML file describing a T:Microsoft.ConfigurationManagement.AdminConsole.Schema.RootNodeDescription element.
The XML in this procedure is used with the assembly you create in How to Create a Configuration Manager Console Custom View. When the user clicks on the “My Node” node, it displays a list of SMS_SCI_SysResUse classes in the Configuration Manager in the view pane.
The following elements and attributes are particularly important:
RootNodeDescription. The attribute NamespaceGuid identifies the Site Configuration node.
To create the node XML for a view
If it is open, close the Configuration Manager console.
In Notepad, create an XML file that contains the following XML:
<RootNodeDescription NamespaceGuid="c192799c-82cd-43cc-bc11-12996bca800f" Id="MyNode" DisplayName="NodeName" Description="NodeDescription"> <ResourceAssembly> <Assembly>UIExtensionsDemo.dll</Assembly> <Type>UIExtensionsDemo.Resources.resources</Type> </ResourceAssembly> <ImagesDescription> <ResourceAssembly> <Assembly>UIExtensionsDemo.dll</Assembly> <Type>UIExtensionsDemo.Resources.resources</Type> </ResourceAssembly> <ImageResourceName>NodeIcon</ImageResourceName> </ImagesDescription> <ViewAssemblyDescriptions> <ViewAssemblyDescription> <Assembly>AdminUI.ConsoleView.dll</Assembly> <Type>Microsoft.ConfigurationManagement.AdminConsole.ConsoleView.ViewDescription</Type> <CustomData> <ConfigurationData xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <PropertyItemsData> <Properties> <string>RoleName</string> <string>SiteCode</string> </Properties> <ClassName>SMS_SCI_SysResUse</ClassName> </PropertyItemsData> </ConfigurationData> </CustomData> </ViewAssemblyDescription> </ViewAssemblyDescriptions> <Actions> </Actions> <Queries> <QueryDescription NamespaceGuid="81957874-9c03-4261-84eb-3cf6c31bf251" Type="WQL"> <Query>SELECT * FROM SMS_SCI_SysResUse</Query> <ReturnedClassType>MyClass</ReturnedClassType> </QueryDescription> </Queries></RootNodeDescription>
Save the XML file in the folder %ProgramFiles%\AdminConsole\XmlStorage\Extensions\Nodes\c192799c-82cd-43cc-bc11-12996bca800f with the file name ConfigMgrObjectsView.xml. Be sure to save the file as type All Files. If the Extensions, Nodes, or GUID folders do not yet exist, create them.
Start the Configuration Manager console, select Site Configuration in the tree view, and select the My Node node. You should see a list of SMS_SCI_SysResUse classes in the view.