# US 2010/0306638 A1 · Object templates for data-driven applications

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2010/0306638 A1
- Document ID: US20100306638A1
- Status: Published application
- Kind: A1
- Application number: 12/474,282
- Filed: 2009-05-29
- Published: 2010-12-02
- Earliest claimed: 2009-05-29
- Assignees: Microsoft Corporation
- Inventors: Jakub M. Oleksy; Bogdan Berce; Bradley M. Hammond
- Web page: https://patentgrep.com/patent/US20100306638A1

## CPC

- G06F 40/186: Templates
- G06F 3/04842: Selection of displayed objects or displayed text elements (G06F3/0482 takes precedence)
- G06F 8/315: {Object-oriented languages}
- G06F 40/174: Form filling; Merging
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An object template system is described herein that allows an administrator of an IT management application to define templates that provide a streamlined mechanism for pre-populating IT objects with common values based on business logic and processes. The object template system addresses manipulation of objects both as part of a user interactive session as well as in programmatic workflows, while also allowing for referencing of existing objects to assume integrity of data. A metadata-driven schema allows for portable definitions of simple and complex extensible objects. The system validates these definitions against the extensible types that define the objects to ensure structural integrity. Users can then apply these definitions at runtime to both create and/or update simple and complex management objects. Thus, the object template system allows an administrator to define controlled processes for creating and modifying management objects within a flexible IT management application.

## Claims

### Claim 1

A computer-implemented method for applying a template to one or more objects in an object template system, the method comprising:
receiving from a user a template selection identifying a template to apply;
selecting a property defined in the template, wherein the template sets one or more properties of an instance of an object type with which the template is associated;
applying the selected template property to an object instance stored in the object template system;
determining whether the template includes multiple levels of objects; and
in response to determining that the template includes multiple levels of objects,
identifying at least one sub-object of the object instance that matches a pattern described in the template; and
applying properties of the sub-object specified in the template to the identified sub-object,
wherein the preceding steps are performed by at least one processor.

### Claim 2 (depends on 1)

The method of claim 1 wherein the method is invoked by an end user of a data-driven management application to modify objects of a data-driven object model to carry out business processes.

### Claim 3 (depends on 1)

The method of claim 1 wherein receiving a template selection comprises displaying a form related to an object in a user interface, wherein the user interface includes controls for selecting one or more templates to apply to the object.

### Claim 4 (depends on 1)

The method of claim 1 further comprising, after receiving the template selection, searching for an object instance that matches the template to which to apply the template.

### Claim 5 (depends on 1)

The method of claim 1 further comprising, after receiving the template selection, creating a new object instance of a type associated with the selected template.

### Claim 6 (depends on 1)

The method of claim 1 wherein the template is defined as a series of hierarchical elements, and wherein selecting the template property comprises enumerating the hierarchical elements.

### Claim 7 (depends on 1)

The method of claim 1 wherein applying the selected template property comprises overwriting an existing value for the property of the object instance identified by the template.

### Claim 8 (depends on 1)

The method of claim 1 wherein determining whether the template includes multiple levels of objects comprises navigating a hierarchy of the template and identifying sub-objects of a main object.

### Claim 9 (depends on 1)

The method of claim 1 wherein identifying at least one sub-object comprises creating a sub-object of a specified type in response to determining that none currently is associated with the object.

### Claim 10 (depends on 1)

The method of claim 1 further comprising, after applying the selected template property, returning control to a user interface of a management application and displaying the modified object to the user.

### Claim 11

A computer system for managing objects in a data-driven management application, the system comprising:
a processor and memory configured to execute software instructions;
a template store configured to provide persistent storage for object templates;
a template authoring component configured to allow a template author to define an object template through a user interface;
a template installation component configured to provide a process for installing new templates to a management application object model;
an object model store configured to store object types, instances, and relationships for a particular installation of a management application;
an object model management component configured to maintain an in-memory model of an object model stored by the object model store;
a template selection component configured to receive a selection of a template from a user that the user wants to apply to an object instance; and
a template processing component configured to apply a selected template to create a new object instance or modify an existing object instance, wherein the template processing component receives a selected template from the template selection component, loads the template, and applies one or more properties and relationships set in the template to create a new object instance or modify an existing object instance.

### Claim 12 (depends on 11)

The system of claim 11 wherein the template store is further configured to be populated by an administrator authoring new templates using the template authoring component.

### Claim 13 (depends on 11)

The system of claim 11 wherein the template authoring component is further configured to include a custom user interface that displays a blank form for an object type for which a template author wants to create an object template

### Claim 14 (depends on 13)

The system of claim 13 wherein the template author can define properties of the object type arbitrarily deep by drilling down into sub-objects of the provided form and filling in property values to be applied by the template.

### Claim 15 (depends on 11)

The system of claim 11 wherein the template authoring component is further configured to define a template in extensible markup language (XML) as a hierarchical schemas.

### Claim 16 (depends on 11)

The system of claim 11 wherein the template authoring component is further configured to output a management pack that the template author or an administrator can apply to one or more installations of a data-driven management system, wherein a management pack is a form of portable template store that may be transferred between installations.

### Claim 17 (depends on 11)

The system of claim 11 wherein the object model management component is further configured to provide an application-programming interface (API) for manipulating the object model programmatically, so that other applications can interact with the management application.

### Claim 18 (depends on 11)

The system of claim 11 wherein the template processing component is further configured to determine whether an object instance is selected at a time a user requests to apply the selected template, and if so, apply the selected template to the selected object instance to update the object instance's properties in accordance with the values of the template.

### Claim 19

A computer-readable storage medium comprising instructions for controlling a computer system to define a new object template, wherein the instructions, when executed, cause a processor to perform actions comprising:
displaying a blank form for a type of object for which an author is creating a template;
receiving from the author a selection of at least one property for which the author wants the template to modify a value;
receiving from the author a value for the selected property;
receiving an identification of a sub-object type of the object type for which the author wants to define a hierarchical relationship in the template;
displaying a blank form for modifying the sub-object type of the originally selected object type, wherein the form includes modifiable fields of the object;
receiving one or more sub-object field values from the template author;
validating the value provided by the author for the template to insure structural and referential integrity; and
storing the template in a template store.

### Claim 20 (depends on 19)

The medium of claim 19 wherein receiving a value for the selected property comprises receiving a well known replacement value for which the system can fill in an appropriate replacement value at runtime.
