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:
- Start the Service ...
Get Microsoft System Center 2016 Service Manager Cookbook - Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.