Info | ||
---|---|---|
| ||
Special thanks to Chris Waymire, Aaron Grant, Mark Mace, Cindy Duggan, and Bruce Philips for providing the information in this manual page. |
Step 1: Setting Event Aggregation
The Portal Activity Portlet uses the three aggregations below and can be found listed in uportal-war/src/main/resources/properties/contexts/eventHandlerContext.xml
...
For further information see Event Aggregation Configuration and List of Events in uPortal 4.0
Step 2: Defining Groups, Intervals, Terms, and Quarters
By default, the <aggregated-group-config> that is defined in uportal-war/src/main/data/default_entities/event-aggregation/default.event-aggregation.xml specifies groups for the org.jasig.portal.events.aggr.IPortalEventAggregator class, which is a base class for all event aggregator classes.
...
For further information see Event Aggregation Configuration
Step 3: Setup the PortalActivity Portlet Preferences
- Modify the uportal-war/src/main/webapp/WEB-INF/portlet.xml file to enable the display of your defined groups in the PortalActivity Portlet
For example, to use the groups defined in Step 2, add the following code snippet within the <portlet-preferences> node:
...
The PortletActivity portlet iterates over each group being aggregated. If a group being aggregated is also listed as a value for the displayGroups preference in the portlet.xml the that group's total will be displayed in the PortalActivity's view. If a group being aggregated is not one of the displayGroups values then the totals for that group go in the "other" group totals.
Step 4: Redeploy Portal and Restart Tomcat
- You will need to redeploy the portal upon importing newly define groups in Step 2 and making modifications to the portlet preferences in Step 3
...