Set Targets: Customization Options


This page covers:


Set Targets Components

The Set Targets feature comes with two customization options that organizations can choose from: Lightning Web Component or Visualforce Page.

  • Visualforce: is a page-centric web application model. A markup language like HTML is used for designing the layout of pages.

  • Lightning Web Component (LWC): a new app-centric model that provides business and datalogics to develop dynamic web applications meant for desktop and mobile devices. Because they’re built on code that runs natively in browsers, LWC are lightweight and deliver exceptional performance.

Organizations on earlier releases of Amp Impact might be using Visualforce pages to create and manage indicators. With Amp Impact’s Indus (Winter 2022) release, the Set Targets page was rebuilt as a Lightning Web Component (called SetTargets).

Refer to the https://verasolutions.atlassian.net/wiki/spaces/AIEP/pages/3732406300 page to learn more about the Set Targets Components.


Customise the Set Targets: Lightning Web Component Lightning Web Component

Design attributes control the display of various components on the Set Targets page.

  1. Navigate to Set Targets and click on the gear icon → Edit Page

2. This will take you to the Lightning App Builder. Click on the Set Targets component. It will display a list of design attributes on the right side of the page.

3. The following design attributes are available. Check/Uncheck them based on the table below:

Design Attribute

Related UI Element

UI if True

UI if False

Design Attribute

Related UI Element

UI if True

UI if False

Hide Submit?

Controls the display of
Submit button.

Submit button is not displayed.

Submit button is displayed.

Hide Comments?

Controls if comments
related to Project
Indicator targets will be
displayed on Set Targets table.

Comments related
to Project Indicator
Targets are hidden.

Comments related to
Project Indicator Targets are displayed.

View Only Mode?

Controls whether the
Project Indicator targets
can be edited or not.

Targets cannot be
edited. They can
only be viewed.

Targets can be edited.

Hide Refresh?

Controls the display of
Refresh button.

Refresh button is
displayed.

Refresh button is not
displayed.

Allow Users to Set
Baseline

Read more about the feature

Controls whether users
can set Baseline.

Users are allowed
to set a Baseline for
Project Indicators.

Users are unable to set a Baseline for Project
Indicators.

Hide Validation
Ranges?

Controls the behavior of
input fields on Set
Targets table.

Set Targets page
will not flag a user
based on the value
entered in the input
field, irrespective of
any values in the
Validation Range
fields.

Set Targets page flags a user if the value entered in the input field is outside of the validation range.

Hide Hyperlink in First
Column?

Controls if Project
Indicators are
hyper-linked to their
records in the Project
Indicator column on Set
Targets table.

Project indicators
are not hyper-linked
to their related
records.

Project indicators are
hyper-linked to their related records.

Round Off digits for
Large Numbers

Defines the round-off
digits to be displayed for large numbers (> 1
million) in view-only
mode on Set Targets
table. Accepts inputs
from 0-5.

NA

NA

Disable Geographic Area Hierarchy

Jarvis onwards

Controls whether Geographic Area hierarchy (parent-child relationships) is displayed in the picklist.

All Geographic Areas will display in an ascending alphabetical order in the picklist.

Parent - child hierarchy will be shown in Geographic Areas in the picklist.

Hide Targets Download Button
KALAUSI onwards

Controls the display of the Download Excel Template Button on the page

Button is not displayed

Button is displayed

Hide Targets Upload Button
KALAUSI onwards

Controls the display of the Upload Excel Template Button on the page

Button is not displayed

Button is displayed

Retain formatting of qualitative Targets on download/ upload

LIBERTAS onwards

Controls the display of HTML tags and characters on the downloaded template

HTML characters are displayed for downloaded targets.

HTML characters are not displayed for baseline values for qualitative indictors.

HTML characters are not displayed for downloaded targets

Refer to the https://verasolutions.atlassian.net/wiki/spaces/AIEP/pages/3732406300 page to know more about these features.

Information Icon Pop-Up Fields

Each Project Indicator has an information icon in the Project Indicator column. Hovering over the icon displays a pop-up with additional information stored on the Project Indicator record. By default,

Project Indicator Order

By default, all of the Project Indicators on the Set Targets table are listed in alphabetical order of their  “Indicator Definition” field.

  • To specify a different order in which the Project Indicators will display, use the field “STAR Project Indicator Order” on Project. This is a picklist field with values based on the fields that are available on the Project Indicator object. Choose a value in this field to display Project Indicators in alphabetically ascending order according to the selected field. This field will alter the order of the Project Indicators both on the Set Targets and the Add Results component.

  • For example, if the Project Indicators on Set Targets need to be displayed as per the ascending order of related Objectives that they are related to, select Objective in the “STAR Project Indicator Order” picklist on the Project record. 

  • In order to use the “ampi__STAR_Project_Indicator_Order__c” field, it should be added to the relevant page layout on the Project object. 

  • Additionally, the Project Indicators on the Set Targets table can be sorted by clicking on the Project Indicator column header. They can be shifted from ascending (a-z) to descending (z-a) and vice versa by clicking on the Project Indicator column header. 

Target Frequency and Geographic Area Dropdown Displays

The list of available Project Indicators that are available for entering Target data is determined by the “Target Frequency” and “Geographic Area” selections. This is defined on the Project Indicator level.

  • All Project Indicators which have a related Project Indicator Reporting Period record child to a parent Reporting Period record with same Target Frequency as  selected in the Target Frequency dropdown, and a related Project Indicator Geographic Area record child  to the selected Geographic Area will be displayed on the table. 

  • The “Target Frequency” dropdown will display the values in the “Target Frequency” field of all active Reporting Periods which have a child Project Indicator Reporting Period record related to one of the current Project’s Project Indicators.

  • The two fields that determine the frequency of Target data of a Project Indicator are the “Target Frequency” and “Reporting Frequency”  picklist fields. For more information on setting Frequency values refer to the Manage Indicators section in the User Guide. If an organization tracks a Project Indicator’s Targets and Results at the same frequency (Annual), they can choose to set only the “Reporting Frequency” field to Annual. That is, if the “Target Frequency” field is left blank, the “Reporting Frequency” field will be referenced as the Target Frequency.

  • The “Geographic Area” dropdown displays the values in the “Name” field of all active Geographic Areas that have a corresponding child Project Indicator Geographic Area record related to the current Project’s Project Indicators. 

  • It also displays parent Geographic Areas that have a child Project Indicator Geographic Area record related to the current Project’s Project Indicators. 

  • Geographic Areas are displayed in alphabetically ascending order.If a Geographic Area has a parent Geographic Area, it is grouped and sorted alphabetically under its parent Geographic Area with other Geographic Areas at the same hierarchical level. 

  • If parent Geographic Areas displayed in the dropdown do not have a corresponding Project Indicator, they are grayed out to indicate that they cannot be selected. 

  • Set Targets LWC is supported in systems with less than 50,000 catalog Geographic Areas. 

Search Bar and Filter Customization

As the text is entered into the Quick Search Bar, the search functionality filters down to those Project Indicators whose Indicator Definition or the fields added to the filterset contain the searched phrase. The search also accepts special character inputs.

The Project Indicators will only be filtered according to the values entered when “Apply filters” button is clicked. When the “Clear Filters” button  is clicked, the filters are all cleared and the table reverts to display all Project Indicators. 

Set Targets Data Entry Guidelines Lightning Web Component

The Set Targets component allows users to enter Targets for a Project Indicator across multiple Reporting Periods on the same table. 

If no Targets had been previously entered for a Project Indicator for that Geographic Area and Target Frequency, the Target data is saved into a new Result record.  If Targets had previously been entered for a Project Indicator for that Geographic Area and Target Frequency, the Target data is updated in the existing Result record. The Result record is not deleted but the Target data is cleared if the values are removed from the Set Targets table.

The following table references the fields where Target data is stored on the Result record:

Data Type 

Field 

Number, Currency, Percent 

Target Value 

Milestone 

Target Milestone Value

Qualitative

Target Qualitative Value

Picklist 

Target Qualitative Value (if Picklist Indicator is not mapped to numbers) 

Picklist Target Numeric Value (if Picklist Indicator is mapped to numbers) 

Set Baseline for Project Indicators 

For the Baseline frequency to be displayed in the dropdown, the design attribute “Allow Users to Set Baseline?” on Lightning App Builder should be marked as TRUE. By default, this design attribute is TRUE. If a Baseline Reporting Period exists, but the design attribute is set to FALSE, Baseline will not be displayed in the dropdown. 

When Baseline is selected in the “Target Frequency” dropdown and a selection is made in the “Geographic Area” dropdown, all Project Indicators that have a baseline (i.e. the value of “Has Baseline” checkbox is set to TRUE) will be displayed in the Set Targets table. 

Non-Disaggregated Target Data

For non-disaggregated Project Indicators, Target data is auto-saved for each input field after the user enters a value and clicks out from the data input cell. 

Disaggregated Target Data

The Set Targets table also allows you to capture Targets for Project Indicators that are Disaggregated by Sex, Age, Income, etc. The fields that control disaggregation of Target data on the Set Targets table are:

  • Targets are Disaggregated?  

  • Cross-Disaggregation by Sex

  • Disaggregation Group 

These fields are populated while creating or editing a Project Indicator. 

Target values will be Disaggregated only when the “Targets are Disaggregated?” checkbox field is marked as TRUE while creating/editing an Indicator on the Manage Indicators page. If the “Cross-Disaggregation by Sex” checkbox field is marked as TRUE or the “Disaggregation Group” field has a value, but the “Targets are Disaggregated?” checkbox field is marked as FALSE, Results and Baseline will be Disaggregated, but Targets will not be disaggregated. 

Disaggregated Project Indicators for different data types have different displays.


Entering Target Values for a Project Indicator LIGHTNING WEB COMPONENT

Targets can be captured for Project Indicators in a variety of qualitative and quantitative data formats. By default, the first column displays the value saved in the Indicator Definition field. The format of these input fields varies based on the Project Indicator’s Data Type and Target Type. 

For Quantitative Indicators, where Calculate Total is set to Don’t Sum Total

Total values are not displayed in an additional row or column. 

The following table displays how the disaggregated pop-up looks when the Project Indicator is disaggregated.

Disaggregation Type

How the disaggregated values are displayed in the popup

Disaggregation Type

How the disaggregated values are displayed in the popup

Cross-Disaggregated by Sex

Disaggregated by Group

Cross-Disaggregated by Sex and Disaggregated by Group 

For Quantitative Indicators, where Calculate Total is set to Sum Total 

a. Indicators of Number and Currency Data Type 

The pop-up will display Total value(s) in an additional row or column or both. The Total values are auto calculated. The following table displays how the disaggregated pop-up looks when the Project Indicator is disaggregated.

Disaggregation Type

How the disaggregated values are displayed in the popup

Cross-Disaggregated by Sex 

Disaggregated by Group

Cross-Disaggregated by Sex and Disaggregated by Group

 

The Total value will be shown on the Set Targets table as a hyperlinked value.         

b. Indicators of Percent Data Type 

Data Type

Level of Disaggregation

How the disaggregated values are displayed inside the popup

How the total value/ icons is displayed on the Set Targets tablee 

Percent 

Cross Disaggregated by Sex 

The pop-up will display an input field for Total value (Summary Value) in an additional column. The Total value is not auto-calculated as sum of the Male, Female and Unknown Values. 

 

 

Until the Total value is not entered, a pencil icon is displayed on the Set Targets table. Once a Total value is entered, it is visible on the Set Targets table as a hyperlinked value. 

Percent 

Disaggregated by Group 

The pop-up will display Total value as an additional row on top of the disaggregated values.The Total Percent value is auto-calculated as a sum of the individual disaggregated values. 

Once Targets for disaggregated values are entered, the Total value is displayed as a hyperlink on the Set Targets table. 

Percent 

Cross Disaggregated by Sex and Disaggregated by Group 

The pop-up will display input fields for Total values (Summary Values) as additional rows in the table for each disaggregation value in the group. These are not auto-calculated as sum of the Male, Female and Unknown Values. 

Once these Total values (Summary Values) are entered, their sum is auto-calculated and displayed as a Total value in an additional row on the top. Total of all Male, Female and Unknown values in also shown in the row on top. 

A pencil icon is displayed when Targets are entered for each level of disaggregation. 

 

Once a Total value (Summary Value) is entered, it is shown on the Set Targets table. When all Total values (Summary Values) are entered the sum of all Total values is displayed on the Set Targets table

For Qualitative Indicators

For Qualitative Indicators, the pop-up accepts rich text input. The users can scroll vertically and horizontally to view all the disaggregated target inputs. Once a Target is entered, a pencil icon is displayed on the Set Targets table.

The following table displays how the disaggregated pop-up looks when the Project Indicator is disaggregated.

Disaggregation Type

How the disaggregated values are displayed in the popup

Cross-Disaggregated by Sex 

Disaggregated by Group

Cross-Disaggregated by Sex and Disaggregated by Group

For Milestone/Picklist Indicators

For Milestone/Picklist Indicators, the pop-up displays a dropdown for all the disaggregated http://values.It also allows users to scroll vertically and horizontally. Once a Target is entered, a pencil icon is displayed on the Set Targets table. 

Set Up Validation Ranges

Validation ranges for Indicators facilitate better data quality. This feature allows users to set a minimum and maximum value for Quantitative Indicators (where Data Type is either Number, Currency, or Percent) to be able to check if the values entered in the input fields are within the range of expected values. To utilize this feature, the fields “Validation Range Minimum” and “Validation Range Maximum” must be populated on  Project Indicators. 

By default, Validation Ranges are enabled in the Set Targets table. Mark the “Hide Validation Ranges?” design attribute as TRUE on the setTargets component in Lightning App Builder to disable them.  

In order to set validation ranges while creating and/ or editing a Project Indicator, please ensure that fields “Validation Range Minimum” and “Validation Range Maximum” are available in the ampi__ADD_NEW_INDICATOR_POPUP fieldset on the Indicator object and/ or  EDIT_PROJECT_INDICATOR_POPUP fieldset on the Project Indicator object 

If the target value entered is less than the value set in the Validation Range Minimum” field or more than the value set in the “Validation Range Maximum” field on the Project Indicator, a warning message appears at the top of the page and the input field is highlighted with an orange border. Please note that the target value is still saved in the Result record.

Users can click on the “x” on the warning message notification when it first appears and continue entering Target values. The message will not reappear if another value is entered outside the expected range once the warning message has been closed by the user, until the component is refreshed or if the user navigates away from the Set Targets component, returns to it and adds another value that is out of range.


Customize Submit Targets for Review Process Lightning Web Component

Once data entry is complete for Targets for a given Reporting Period, the “Submit” button can be used to lock the Targets. 

By default, the “Submit” button is visible on the Set Targets component. Mark the “Hide Submit?” design attribute as TRUE on Lightning App Builder to hide the button.                       

  1. Users are able to submit Targets for multiple Reporting Periods. For example, a user may need to submit Targets for Chile for quarter 2 and the semi-Annual report. They can select multiple Reporting Periods, enter data and then submit. 

  2. Users have the option to create workflows that trigger certain actions on the click of the Submit button. For example, clicking on the Submit button can set a specific Status and generate an email notification. On Click of “Submit’ on the Set Targets page, Target_Status__c = Submitted, thus making the Set Targets page uneditable.  To make the page uneditable when any other status is selected, the Target_Status__c field can also be configured through a workflow to edit the Targets_Locked__c field which can lock the Target input fields for the selected Reporting Periods and Geographic Area (un-editable so that users can no longer make any changes to the data entered).

  3. On the Set Targets page, the Targets are locked out and display as read-only when

    1. Target_Locked__c = TRUE ,or

    2. Target_Status__c = Submitted for the selected Reporting Period(s).


Considerations for the Refresh Functionality Lightning Web Component

Click the Refresh icon (as displayed in the screenshot below) on the Set Targets component to load and reflect the latest data on the Set Targets component along with all the Targets that have been previously recorded. For example, if the Project Indicator Definition is edited or a Geographic Area is marked Inactive, these changes will be reflected once the Set Targets component is refreshed. 

The Set Targets table will load with the previous selections made on the “Target Frequency” and “Geographic Area”dropdowns. It will also preserve the scroll position on the Set Targets table (both horizontal and vertical). 

If any changes are made on Manage Frameworks, Manage Indicators, or Add Results (either the Visualforce pages or the Lightning Web Component for all three), then the Set Targets Lightning Web Component will display a warning message alerting the user that the data on that page is not updated with the most accurate data. 

The user can then click on the Refresh icon to reload the component and display any data updates made on the related components.


Set Targets Visualforce Page Visualforce Page

Some key features in the product can be configured on/off depending on the client organization’s
preferences for the product. They can be disabled/enabled at the user/profile/organization level.

  1. To enable or disable any of the features in Set Targets, go to Setup → Custom Settings. Refer to the
    table on the next page and depending on the feature to be enabled/disabled, either click on:

    1. Set Targets or

    2. Amp Impact Setup

2. Click on Manage

3. Click on Edit

4. A list of settings would be displayed. Check/Uncheck these settings based on the table below:

Field Label

Custom Setting

Related UI Element

UI if True

UI if False

Field Label

Custom Setting

Related UI Element

UI if True

UI if False

Disable
Geographic
Area Hierarchy

Set Targets

Controls how
Geographic Areas are displayed in the Geographic Areas dropdown.

Targets are not
displayed in
hierarchy. Child
Geographic Areas
do not nest under
parent Geographic

Targets are displayed in
hierarchy. Child
Geographic Areas nest under parent Geographic Areas.

Excel Upload
Enabled?

Set Targets

Controls if the Excel
template for Targets
can be uploaded.

Targets can be
uploaded via Excel
Template. The
upload icon will be
visible.

Targets cannot be
uploaded via Excel
Template. The upload
icon will not be visible.

Hide
Comments
Icon

Set Targets

Controls if comments
related to Project
Indicator Targets will
be displayed.

Comments related
to Project Indicator
Targets are hidden.

Comments related to
Project Indicator Targets are displayed.

Hide Excel
Download
Button

Set Targets

Controls if the Excel
template for targets
can be downloaded.

Targets cannot be
downloaded into an
Excel file. The
download icon will
not be visible.

Targets can be
downloaded. The
download icon will be
visible.

Round-Off
Digits for Large
Numbers

Set Targets

Defines the round-off
digits to be displayed
for large numbers (> 1
million) in view-only
mode on the Set
Targetstable. Accepts
inputs from 0-5.

NA

NA

View only
Mode

Set Targets

Controls whether
Targets can be edited
or not.

Targets cannot be
edited. Comments cannot be edited They can
only be viewed.

Targets can be edited. Comments on targets can also be edited.

Submit Targets
for Review
Enabled?

Amp Impact
Setup

Controls the display of
Submit button.

Submit button is
displayed.

Submit button is not
displayed.

Validation
Range
Enabled?

Amp Impact
Setup

Controls the behavior
of input fields on the
Set Targets table.

Set Targets page will flag a user if the value entered in the input field is outside of the validation range.

Set Targets will not flag a user based on the value entered in the input field.

Chatter
Enabled for Set
Targets?

Amp Impact
Setup

Controls the display of
Chatter feed on Set
Targets Visualforce
page.

Chatter feed
displays at the top
of Set Targets
Visualforce page.

Chatter feed does not
display at the top of Set Targets Visualforce page.


Set Targets Components: Customize Field Sets Lightning Web Component Visualforce Page

This section details how to customize the field sets on the Set Targets Lightning Web and VisualForce Components.

Indicator info popover displayed by hovering on the info icon

This fieldset controls the fields displayed shown in the pop-up displayed when users hover over the information icon next to a Project Indicator.

Object

Field set name

Default Behaviour

Object

Field set name

Default Behaviour

ampi__Project_Indicator__c

SET_TARGETS_INFO_POPOVER

The following fields are available out of the box:

  • ampi__Objective__c

  • ampi__Guideline__c

  • ampi__Disaggregation_Group__c

  • ampi__Cross_Disaggregation_by_Sex__c

Fields displayed in in “Show More Filters” search panel

This fieldset controls the fields displayed when user clicks the “Show More Filters“ button to filter Project indicators on the Set Targets table.

Object

Field set name

Default Behaviour

Additional Comments

Object

Field set name

Default Behaviour

Additional Comments

ampi__Project_Indicator__c

ampi__ST_SEARCH_FILTERS

The following fields are available out of the box:

  • ampi__Description__c

  • ampi__Data_Type__c

  • ampi__Thematic_Area_Text__c

  • ampi__Disaggregation_Group__c

Configurable Comment Pop-Up Lightning Web Component LIBertas v1.35 onwards

Controls the fields displayed in the pop-up displayed when suer clicks on the Comment icon next to a Project Indicator. It gives users the ability to add custom fields like rich text to facilitate the inclusion of longer comments and content such as images and links.

Object

Field set name

Default Behaviour

Additional Comments

Object

Field set name

Default Behaviour

Additional Comments

ampi__Result__c

ampi__COMMENT_POPUP_SETTARGETS

The following field is available out of the box:

  • ampi__Comments__c

The following field data types will not be supported:

  1. Text (Encrypted)

  2. Date/Time

Enabling Dynamic Display of fields in the Comment Pop-up
Fields can be conditionally displayed inside the Comment Pop-up. (ie. certain fields can be conditionally displayed depending upon the value entered in a controlling picklist type of type) Read more about it here.

When using this functionality in the Comment pop-up, ensure that the result record is populated.