How to set a default Alarm view in the USM alarm portlet

Document ID : KB000034729
Last Modified Date : 14/02/2018
Show Technical Document Details

Introduction

Default view for Alarms in USM

If you would like to automatically save a default view for the USM alarm console portlet using the USM alarm view page preferences, see below. For example:

{'minimal':1,'columns':['origin','source','message','assigned_to','time_origin','time_last','count'],'subView':'table','sort':'time_last'}

Note that this is a workaround using UMP liferay settings as setting a default view is not supported out of the box (as it was previously in the old/deprecated alarm console portlet).

1. Use the existing USM page or Add a page
2. Add the USM portlet if necessary
3. Maximize the Page View by clicking Manage Page Layout and set it to '1 Column'
4. Click on the wrench icon
5. Select Preferences
6. Set Height to a value of 800
7. Set View to Alarm
8. Set the View Options to:

{'minimal':1,'columns':['origin','source','message','assigned_to','time_origin','time_last','count'],'subView':'table','sort':'time_last'}

User-added image

Note that you can adjust the View options, e.g., columns, origins, etc. as necessary, e.g.,
{'minimal':1,'columns':['origin','source','message','assigned_to','time_origin','time_last','count'],'subView':'table','filters':['origin!=ABCCompany'],'sort':'time_last'}

9. Leave 'Initial Context. set to Default

10. Click Save to save the page view.

11. Refresh / Reload the page and it should now show the desired view.

User-added image



?




Procedure