This blog post is from one of our community contributors – Markus Klein. Thanks for sharing Markus!
Extending classes are common tasks in System Center Service Manager to bind external or additional information to a base class.
This example shows how to extend the AD User Class with two new attributes called test1 and test2 using the authoring tool.
The goal is to have these properties appear on the Incident Form and bind additional information to the Affected User.
Using the Authoring Tool you can add a new Tab-Item Test to the System.WorkItem.Incident.ConsoleForm and on it add two labels and two new textboxes for the new attributes to the form.
Now you have to change the binding property of both textboxes to the extended attributes created before. Unfortunately, these attributes are not shown in the attribute list of the “Affected User” relationship.
To add this attributes to the form, you will have to add the prefix “Affected User.” in front of the attribute name for the binding property.
Finally we need to seal the management pack and import it to System Center Service Manager.
The Incident Form displays now all new properties depending on the affected user.
Note from Travis: You may want to do this with labels instead of textboxes in case you don’t want the text to be editable.