How To Display User Class Extended Properties on Incident Form

How To Display User Class Extended Properties on Incident Form

  • Comments 2
  • Likes

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.

clip_image002

The goal is to have these properties appear on the Incident Form and bind additional information to the Affected User.

clip_image004

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.

clip_image006

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.

clip_image008

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.

clip_image010

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.

clip_image012

--------------------

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.

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment
  • <p>Hi.</p> <p>I could not get the same result. may be necessary to extend another class? not AD User class?</p> <p>Please describe the solution more</p>

  • <p>I didn&#39;t get the same results either.</p>