Configuring Simplified Analytics

The ANALYTICSERVICE service enables analytic on a component page. This is configured from Manage Related Content Configurations page.

See Configuring Related Content, Related Actions, and Menu and Frame Layouts.

This example illustrates the Supplier Watch List application page with Unified Related Content Analytics pane visible on right. It even has ANALYTICSERVICE assigned as service. If the service was not assigned the Add Analytics button would not be visible.

Supplier Watch List page with Unified Related Content Analytics pane configured

Any simplified analytic requires a base template. A base template is a pivot grid model assigned to the component page with ANALYTIC SERVICE service. Consider:

  • Any Pivot Grid model in the database can be associated with the component as an analytic report template. However, instead of using an existing model in the database as described in this example, you can also create a new Pivot Grid model and then associate that model to the component as analytic report template.

  • No special setting is required in the Pivot Grid model to use it as a base template.

Note: The query behind the analytics template model should not use the same select field as a prompt or use the same select field as part of an expression that is used in the query criteria because the simplified analytics can create an error when that dimension is dragged as a fact while creating the analytic report.

To view the configurations of an existing Pivot Grid model that will be associated to the analytic report template:

  1. Select Reporting Tools, Pivot Grid, Pivot Grid Wizard.

  2. Search for and select the PO_NONCNTRCT_SPEND model.

  3. Use the Specify Pivot Grid Properties page to view the name and add or change the title or description of the model.

  4. Click the Next button to access the Select Data Source page, where you can view or update the data source and output columns of the model.

    This example illustrates the Select Data Source page displaying the data source and output columns of the PO_NONCNTRCT_SPEND model.

    Select Data Source page
  5. Click the Next button to access the Specify Data Model Values page, where you can view or update the settings of columns, aggregate functions, facets, tree options, formatting options, and so on.

    This example illustrates the Specify Data Model Values page displaying the settings of the data source in the PO_NONCNTRCT_SPEND model.

    Specify Data Model Values page
  6. Click the Next button to access the Specify Data Model Options page, where you can view the initial layout of the grid and the chart.

    This example illustrates the Specify Data Model Options page displaying the settings of the grid and chart for the PO_NONCNTRCT_SPEND model.

    Specify Data Model Options page
  7. Scroll down and expand the Fluid Mode Options section.

    This example illustrates the Specify Data Model Options page - Fluid Mode Options section.

    Specify Data Model Options page - Fluid Mode Options section
  8. Note the When used as analytics template, allow created reports to be accessed outside the component context option:

    • If this option is selected, the analytic reports that are created using the Create Analytics Wizard are not restricted, and these reports can be accessed from outside the component context.

    • If this option is deselected, the analytic reports that are created using the Create Analytics Wizard are restricted to be accessed within the component.

      See Security Considerations When Using Simplified Analytics.

  9. Accept all default settings in the PO_NONCNTRCT_SPEND report without any modification.

To associate the Pivot Grid template to a component using related content:

  1. Select PeopleTools, Portal, Related Content Services, Manage Related Content Service.

  2. Click the Assign Related Content to an Application Page link.

  3. In the Select a Content Reference page, select the Include Hidden Crefs option.

    This example illustrates the fields and controls on the Select a Content Reference page.

    Select a Content Reference page
  4. Select the content reference that you want to enable the Simplified Analytics feature.

    In this example, you select the Supplier Watch List application page under the Procurement Operations fluid component.

    Note: The association must be defined for CREF definitions pointing to the component. The association should not be defined on the content reference links.

    Simplified Analytics is only available for the fluid components.

    This example illustrates the fields and controls on the Assign Related Content page that appears after you select a fluid page from the Select a Content Reference page. The selected Supplier Watch List page appears as a link in the Content Reference field.

    Assign Related Content page
  5. To assign a page in the component that you want to associate the Simplified Analytics feature, use the Page search icon in the Page Level Related Content section to search for and select a page from the list of available pages.

    In this example, select the PO_SWL_WATCH_FL page. This page determines the page fields for the mapping.

    Note: The Simplified Analytics templates must be associated at the Page Level Related Content section.

    In this example illustrates the Look Up Page.

    Look Up Page
  6. Click the Select search icon in the Page Level Related Content section to display the Look Up Service ID page.

    This example illustrates the Look Up Service ID page. The Simplified Analytics feature must use the service ID ANALYTICSERVICE, which associates a page to the analytic report template.

    Look Up Service ID page
  7. Click the ANALYTICSERVICE link in the Service ID list to display the Choose Pivot Grid page.

    This example illustrates the Choose Pivot Grid page listing the available Pivot Grid models that you can use as the base analytic report template.

    Choose Pivot Grid page

    Note: The Pivot Grid model that you select at the Choose Pivot Grid page will be the source of the fields, prompts, criteria, query and settings for the analytic report template. This pivot grid template (or base template model) will be used to create new analytic reports for end users. The query used with the current Pivot Grid template will also be used for all analytic reports that will be created later using this template.

    Every Pivot Grid model that is available in the database can be selected as a base template model.

  8. Select a Pivot Grid model that will be used in the analytic report template.

    In this example, select the PO_NONCNTRCT_SPEND model.

    The Assign Related Content page reappears. In the Page Level Related Content section, the Page field is now set to PO_SWL_WATCH_FL and the Service ID field is set to ANALYTICSERVICE.

    Note: An error message appears if no pivot grid model is selected in the Choose Pivot Grid page.

  9. Click the Configure button in the Page Level Related Content section.

    The Configure Service page appears displaying a list of available parameters (prompts).

    This example illustrates the Configure Service page appears listing available parameters (prompts).

    Configure Service page
  10. Use the Mapping Type column to set the parameters as Page Field or Fixed Value.

    Note: If the parameter is set as a fixed value, the fixed value will override the default value in Pivot Grid Wizard. If the parameter has the mapping type set to Page Field, the value of the mapped field from the page will be passed dynamically from the page to the analytic report when creating or viewing the analytic report

    Mapping is optional. If the mapping option is not set, then the default values (Page Field for Mapping Type and Empty for Mapping Data) ensures the prompt is not mapped; in this case, the default values in the Pivot Grid Wizard for the template model are applied while creating or viewing the analytic report.

  11. Click the Select icon next to the Supplier parameter to display the Page Fields List page.

    This example illustrates the Page Fields List page listing all available fields on the Pivot Grid model.

    Page Fields List page
  12. Click the level-0 Supplier link in the Page Field Name column and return to the Configure Service page.

    Note: Simplified Analytic feature uses only level-0 fields for the mapping because Simplified Analytics is common to the entire page (in the right panel), so Simplified Analytics cannot be mapped to any specific row at level-1 and higher. A run-time error message appears if a field higher than level 0 is mapped.

    This example illustrates the Configure Service page. The VENDOR_NAME parameter from the prompt is mapped to the page field Supplier, which is a hidden field.

    Configure Service page
  13. Optionally, select the mapping type and mapping data for the other parameters.

    In this example, you will accept the default settings for all other parameters.

  14. Click the OK button to return to the Assigned Related Content page.

  15. Save your configurations.

    This example illustrates the Assign Related Content page displaying the Page Level Related Content section with the Page field set to PO_SWL_WATCH_FL and the Service ID field set to ANALYTICSERVICE.

    Assign Related Content page
  16. Preview the analytic report template by:

    Returning to the Supplier Watch List by clicking the Supplier Watch List link on the Assign Related Content page. Alternatively, select the Supplier Watch List from the Procurement Operations landing page.

    Note: You can associate more than one analytic report template (Pivot Grid template model) to a page in a component.