Book Image

Microsoft System Center 2016 Service Manager Cookbook - Second Edition

By : Steve Buchanan, Steve Beaumont, Anders Asp, Dieter Gasser, Andreas Baumgarten
Book Image

Microsoft System Center 2016 Service Manager Cookbook - Second Edition

By: Steve Buchanan, Steve Beaumont, Anders Asp, Dieter Gasser, Andreas Baumgarten

Overview of this book

Keep your organization up to speed with the Microsoft System Center 2016 Service Manager Cookbook. Over 100 practical recipes for SCSM 2016 give you all the tools to master IT service management.
Table of Contents (23 chapters)
Microsoft System Center 2016 Service Manager Cookbook - Second Edition
Credits
Foreword
About the Authors
About the Reviewers
www.PacktPub.com
Customer Feedback
Preface

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 Manager console and go to the Work Item workspace.

  2. Right-click Incident Management and select Create View.

  3. As the Name of the view, enter All Active Incidents and select a management pack to store the view in.

  4. Click on Criteria on the left side of...