O'Reilly logo

Microsoft System Center 2016 Service Manager Cookbook - Second Edition by Dieter Casser, Steve Buchanan, Steve Beaumont, Andreas Baumgarten, Anders Asp

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Editing the XML of a view to alter the criteria to include AND instead of OR

Another time when some XML editing comes in handy is when you're trying to create some more customized views. Sure, you're able to create views from the console, but the Create View dialogue doesn't allow you to do things such as renaming column headers, set the order of columns, or something as simple as creating a view criteria that includes the same property twice, constructed with an AND instead of OR.

In this recipe, we will do just that - modify the view criteria through some XML editing so it is constructed with an AND instead of an OR.

Getting ready

In order to follow this recipe you will need to create a view from the console for us to edit in XML:

  1. Start the Service ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required