Indicating VIPs Through Form Customization

A customer I visited last week had a requirement to show whether or not an affected user was a VIP or not.  Their current system has a little red label next to the users name that indicates whether they are a VIP or not.  My challenge was to figure out how to replicate that with SCSM.  Like this:


Here is how I did it.

1) Open the Authoring Tool.

2) Create a new MP.

3) Use the form browser to find the incident MP.  Right click on it and choose View.

4) Click the Customize button at the top of the form.

5) Drag a label control from the form customization toolbox to the form just underneath the Assigned To User in the stack panel (see this blog post for hints on how to do this right).

6) Change the label properties to look like this:


Notice that because the background is transparent and the height and width are set to auto, this label will only show up when the Affected User Notes property has something in it.  Otherwise it will be like it isn’t even there.  If you want to have it be even more noticeable you can change the background color to something else.

Also notice how this property is bound to the Affected User Notes property.

Your label should now look like this on the form in customization mode.


If you import this MP into SCSM and go to the incident form you should see this:


Looks like normal right?  That’s good because we haven’t selected a user yet.  Let’s select one that is not a VIP -  Charlie (my manager) Smile :


Still looks like normal.  Now let’s select a VIP – me Smile



Now – how did I get VERY VERY VIP to show up there?  Remember that this label is bound to the Affected User Notes property.  We don’t expose the notes property on the  user form right now.  It is only settable through CSV import or by using PowerShell SMLets.

I chose to use SMLets in PowerShell like this:


If you want to have people be able to edit this property value in the UI you could use one of the other user properties that we expose on the user form.  I can see reasons why you would want to make it editable in the UI and reasons why you would not want to.