Set Targets: Customization Options
This page covers:
- 1 Set Targets Components
- 2 Customise the Set Targets: Lightning Web Component Lightning Web Component
- 3 Custom Settings: Set Targets Visualforce Page Visualforce Page
- 4 Field Sets: Set Targets Components Lightning Web Component Visualforce Page
- 4.1 Indicator info popover displayed by hovering on the info icon
- 4.2 Fields displayed in in “Show More Filters” search panel
- 4.3 Fields/Columns displayed in in the Targets Upload Download Excel template NASHIRA v1.38 onwards
- 4.4 Configurable Comment Pop-Up Lightning Web Component LIBertas v1.35 onwards
- 5 Custom Permissions NASHIRA v1.38 onwards
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 Set Targets 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.
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 |
---|---|---|---|
Hide Submit? | Controls the display of | Submit button is not displayed. | Submit button is displayed. |
Hide Comments? | Controls if comments | Comments related | Comments related to |
View Only Mode? | Controls whether the | Targets cannot be | Targets can be edited. |
Hide Refresh? | Controls the display of | Refresh button is | Refresh button is not |
Allow Users to Set Read more about the feature | Controls whether users | Users are allowed | Users are unable to set a Baseline for Project |
Hide Validation | Controls the behavior of | Set Targets page | Set Targets page flags a user if the value entered in the input field is outside of the validation range. |
Hide Hyperlink in First | Controls if Project | Project indicators | Project indicators are |
Round Off digits for | Defines the round-off | 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 | Controls the display of the Download Excel Template Button on the page | Button is not displayed | Button is displayed |
Hide Targets Upload Button | 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 downloaded targets |
Refer to the Set Targets page to know more about these features.
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, Numerator/Denominator | 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 |
---|---|
Cross-Disaggregated by Sex |
|
Disaggregated by Group | |
Cross-Disaggregated by Sex and Disaggregated by Group |
The display is the same for Percent indicators before the Mira Release.
For Percent Indicators, where Calculate Total is set to Don’t Sum Total Mira V1.37 onwards
As of the Mira Release (v1.37), users can input a summary value for a Percent Indicator that is set to Don’t Sum Total. This is what the pop-up would like:
For Numerator/Denominator Indicators, where Calculate Total is set to Don’t Sum Total Mira V1.37 onwards
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 (Summary value is an input value. Upon entering Summary Value, a pencil icon is displayed on the Set Targets table) |
|
For 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 |
c. Indicators of Numerator/Denominator typeMira V1.37 onwards
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 (Summary value is an input value. Upon entering Summary Value, a pencil icon 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 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, Percent or Numerator/Denominator) 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.
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.
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).
On the Set Targets page, the Targets are locked out and display as read-only when
Target_Locked__c = TRUE ,or
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.
Custom Settings: 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.
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:Set Targets or
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 |
---|---|---|---|---|
Disable | Set Targets | Controls how | Targets are not | Targets are displayed in |
Excel Upload | Set Targets | Controls if the Excel | Targets can be | Targets cannot be |
Hide | Set Targets | Controls if comments | Comments related | Comments related to |
Hide Excel | Set Targets | Controls if the Excel | Targets cannot be | Targets can be |
Round-Off | Set Targets | Defines the round-off | NA | NA |
View only | Set Targets | Controls whether | Targets cannot be | Targets can be edited. Comments on targets can also be edited. |
Submit Targets | Amp Impact | Controls the display of | Submit button is | Submit button is not |
Validation | Amp Impact | Controls the behavior | 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 | Amp Impact | Controls the display of | Chatter feed | Chatter feed does not |
Field Sets: Set Targets Components 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
The fieldset SET_TARGETS_INFO_POPOVER controls the fields displayed in pop-up when users hover over the information icon next to a Project Indicator.
Up till the Mira (v1.37) release, all columns in the Targets Excel Upload Download template except Indicator, Disaggregation and Reporting Period columns are controlled by this field set.
Object | Field set name | Default Behaviour |
---|---|---|
ampi__Project_Indicator__c | SET_TARGETS_INFO_POPOVER | The following fields are available out of the box:
|
Fields displayed in in “Show More Filters” search panel
The fieldset ampi__ST_SEARCH_FILTERS 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 |
---|---|---|---|
ampi__Project_Indicator__c | ampi__ST_SEARCH_FILTERS | The following fields are available out of the box:
|
Fields/Columns displayed in in the Targets Upload Download Excel template NASHIRA v1.38 onwards
The fieldset INDICATOR_FIELDS_SET_TARGETS_EXCEL_TEMPLATE controls the display of Indicator attribute fields on the Targets Upload Download Excel Template. It is available from Nashira (v1.38) release
Object | Field set name | Default Behaviour |
---|---|---|
ampi__Project_Indicator__c | ampi__INDICATOR_FIELDS_SET_TARGETS_EXCEL_TEMPL | The following fields are available out of the box:
|
Configurable Comment Pop-Up Lightning Web Component LIBertas v1.35 onwards
The fieldset ampi__COMMENT_POPUP_SETTARGETS 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 |
---|---|---|---|
ampi__Result__c | ampi__COMMENT_POPUP_SETTARGETS | The following field is available out of the box:
| The following field data types will not be supported:
|
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.
Custom Permissions NASHIRA v1.38 onwards
This section details the Custom Permissions that can be used to customize Set Targets LWC
This functionality is available from Nashira v1.38 release onwards
Label | API Name | Description |
---|---|---|
Override Locked Targets | Override_Locked_Targets | This custom permission grants an exception to the "Targets Locked" field. Assigned users will have the ability to edit targets through SetTargets LWC, including uploading Excel templates, even if the ampi__Targets_Locked__c on the ampi__Reporting_Period__c object is set to TRUE.
|
Override Locked Baseline | Override_Locked_Baseline | Grants an exception to the “Results Locked” field specifically for Baseline Reporting Periods. |