If you often using the XML criteria in SCSM (with SDK or in view with Advanced View Editor) then you can faced with two different notation used as value for properties of enumeration type (like Status, Category, Area and so on): $MPElement[Name=’’]$ and Guid format (xxxxxxxx-xxxx-xxx-xxxx-xxxxxxxxxxxx, or uniqueidentifier in T-SQL). In this article I will describe the deference and will explain why XML validation can fail when $MPElement$ notation used.
When you want to apply template on work item it’s extremely easy: you need to call ApplyTemplate method of the EnterpriseManagementObject or EnterpriseManagementObjectProjection class instance (with one exception – template shouldn’t contains activity for Service Requests, Change Requests or Release Records). But what if you want to create new object based on template? From first view it’s look not very hard – just call appropriated constructor. But in fact this is just first step of list of required steps: required or optional.
Posted in How-To
Tagged C#, Powershell, SDK
With SCSM 2012 (SP1 and R2) we can use three different tokens: [now], [me] and [mygroups]. If two of them are simple and already described (here small help about [now]), than [mygroups] is more complex and required some explanation.
This is list of fixed bug in SCSM 2012 R2 RTM. The list contains bugs founded in SCSM 2012 SP1 and SCSM 2012 R2 Preview.
Please note: this is not an official list of fixed bugs.
Posted in News
Tagged SCSM 2012 R2
The new version of the Advanced View Editor now available! This update brings new feature for Pro version: localization for views, folders and columns. Now you able to translate view or folder name, description and column’s header without need to export management pack! Read more.
Other changes are listed below:
- Able to remove columns with missed properties. For instance, if management pack with class extension was removed.
- Properties in Code Snippets Menu are sorted
- Fixed: Issue with view with custom namespace
You can download new version here (for both Free and Pro version)
Posted in AVE
Tagged AVE, AVE Pro
The small poll about your experience of using knowledge base in SCSM 2012 (SP1). If you’ve implemented couple of SCSM installations please select the most popular answer in your cases. You can vote here or on right sidebar. Any comment are appreciated. Continue reading
Using standard columns you can display only values from view’s fields. But what if you want to display some complex information: get values from several fields, format values or display values in with custom control? Using standard view editor this is impossible. But even in out-of-box views you can find examples of custom columns. For instance, “Incidents with Service Level Breached” view contain calculated column “Service Level Target”. This column check all target times from all SLO attached to incident and display the earliest target date.
Advanced View Editor 2 Pro allow you to add custom column. You can create your own custom columns and add it to AVE 2 Pro UI using simple template.
Posted in AVE, News
Tagged AVE Pro
If you already read my blog posts about SLA in SCSM 2012 (Object model, How it’s works and “Hidden” features and “pausing” SLA) then you know what SLA process in SCSM 2012 is really complex and depend from many internal features of the SCSM. We are working in IT and know what sometime a things can work wrong even if no one touch it (or touch but don’t want to talk about this). This article is attempt to summaries information about issues with SLA in SCSM 2012 and how to troubleshoot them and solve.
The SCSM have a great notification engine. And heart of this engine is notification templates. With notification templates you can define text of email message in plain text format or HTML format and insert links to object’s properties. You can use special tags like <group> to define complex table. Also you can define notification text for each language. But to test each template you must send tons of emails. In large environment, with lots of template, this is can be really painful.
Posted in News
As you know when you deleted connector in SCSM all configuration items discovered (or imported) by this connector will also be deleted. But good question is how determinate which CIs will be deleted? This can be done using some SQL queries but this is complex, unsupported way and you must have SQL Management Studio installed. But we have a power of PowerShell and can use it to get this information.
UPDATED: Thanks to Aaron to pointing me to the right direction. Approach below allows you get CIs updated by specified connector. But SCSM stores all connectors for CI object and even if no properties was updated during connector’s sync process, this connector will be added to object. In other words, if you have object that discovered by more than one connector then this object will be removed only if all connectors will be removed.
Posted in How-To