Indus (v1.31) | Upgrade Instructions | December 2022

Our upgrade instructions provide guidance on new features that require manual updates in order not to conflict with any org-specific customization. Detailed information on Set-up, Configuration and Feature Information is available in the Installation Guide and User Guide for each release.

Contact support@verasolutions.org to share feedback.

Upgrading Amp Impact to Indus - v1.31

Note:Ā Ā 
A Salesforce environment with Amp installed can be directly upgraded to the latest version of Amp as long as the current version is v1.17.1 or later. If the version of Amp is an earlier version, you must first upgrade to v1.17.1 before upgrading to v1.31 (Indus). When upgrading to this version and skipping previous upgrades, please be sure to follow the Upgrade Instructions for every intermediate release as well to ensure the app continues working as expected.

  1. To upgrade to the latest release of Amp Impact, log into your Sandbox environment and use the installation link.

    1. Vera Employees can navigate to this page to access the link.

    2. Partners & customers, please get in touch with your Vera point of contact to access the link.

  2. Information will be displayed confirming that you have an earlier version installed and it can be upgraded while preserving existing data.Ā 

  3. Select which users you wish to install the package for (learn more here).Ā 

  4. Click "Upgrade".

  5. Refer to the release notes document and learn about the new features and bug fixes for this release.Ā 

  6. After reviewing the release notes, follow the steps outlined below.Ā 

  7. Perform your current use cases in the sandbox and if you are using any of the new features from this release, ensure that they are operating as expected.

  8. When you are ready to deploy to Production, use this installation link.

  9. Update any changes you make, for example to custom settings, in Production as these will not "carry over" from your sandbox.Ā 

Note:Ā 
If My Domain has already been set up, replace ā€œtestā€ or ā€œloginā€ in the installation links with the specific domain appended by .my. for the org.Ā See below for an example of a customized installation link: https://customdomain.my.salesforce.com/packaging/installPackage.apexp?p0=04t4o000002FIf5&isdtp=p1

Packaging Changes

Certain changes to the configuration will be automatically updated on installation of the upgrade, while others will need to be manually updated (in order not to conflict with any org-specific customization). For full details on what Salesforce supports when upgrading managed packages, refer to the Editing Components and Attributes After Installation and Special Behavior of Components in Packages pages.

Change

Automatic Update?

Manual Update Location

Example from Indus Release

Updated custom setting

YesĀ 

Ā 

New field ampi__Disable_Geographic_Area_Hierarchy__c has been added to ampi__SetTargets__c custom setting

New custom label

YesĀ 

Ā 

New custom label ADD_DISAGG_COMMENT_MESSAGE has been created.Ā 

Updated custom labelĀ 

YesĀ 

Ā 

Updated Categories to Targets, Results, Upload, Popup, Button, Excel, Spreadsheet, Template, Amp Impact

Ā 

New fieldĀ 

YesĀ 

Ā 

New checkbox field ampi__xx_Has_Baseline__c has been added to object ampi__Indicator__c

Updated fieldĀ 

YesĀ 

Ā 

Field labelĀ  for ampi__IATI_Organization_Type_Code__c on Account updated to ā€œIATI Organisation Type Codeā€

New record type

YesĀ 

Ā 

New record type Baseline on ampi__Reporting_Period__c

New page layoutĀ 

YesĀ 

Ā 

New page layout Baseline Layout was created

New validation ruleĀ 

Ā 

YesĀ 

Ā 

New validation rule IATI_Transaction_Organisation_Role_Check has been added to field ampi__IATI_Organization_Role__c

Updated flowĀ 

YesĀ 

Ā 

Updated Schedule_Reporting_Periods flow to include the following changes:Ā 

  • De-duplication of Reporting Periods

  • Naming convention updated

New email templateĀ 

Yes

Ā 

Added email template IATI_XML_Generated_Not_Validated

Ā 

Updated email templateĀ 

Yes

Ā 

Updated email template IATI_Activity_XML_Generation_Failure

Ā 

Updated field setĀ 

Yes

Ā 

Added field ampi__xx_Reporting_Picklist_Values__c

to ampi__ADD_NEW_INDICATOR_POPUP field set.Ā 

New picklist valueĀ 

NoĀ 

Object ā†’ Fields and Relationships ā†’ Field

New picklist value ā€œPicklistā€ added to the ampi__Data_Type__c field on ampi__Indicator__c

Updated page layoutĀ 

NoĀ 

Object ā†’ Page Layouts

ampi__xx_Has_Baseline__c added the following fields to the Project Indicator Layout

Update Profiles and Custom Permission Sets for New Objects and Fields

While permission sets in the package are automatically updated to provide access to these new fields (New field ampi__xx_Has_Baseline__c on object ampi__Indicator__c), profiles and custom permission sets must be manually updated to include these new artifacts if the relevant user(s) requires access to them.Ā Refer to the Packaging Changes section in the release notes to determine which objects and fields need to be added to any custom profiles or permission sets.Ā 

Update the Indicator Object to use Picklist Indicators and Read Only Results

Salesforce does not support the update of picklist values in a field while upgrading a managed package. This needs to be manually done in order to use the new functionality. When upgrading to Indus, you need to make the following updates to the ampi__Indicator__c object:

1. Add ā€˜Picklistā€™ picklist value within the Data Type (ampi__Data_Type__c) field

2. Add ā€˜Read Onlyā€™ picklist value within Type of Results (ampi__Type_of_Results__c) field

Please follow the steps mentioned below to complete the setup of the Indicator object.

Add ā€œPicklistā€ picklist value within the Data Type Field

You can add ā€˜Picklistā€™ as a picklist value within the Data Type (ampi__Data_Type__c)Ā  field by following the steps mentioned below:

  1. Navigate to Salesforce Settings

  2. Click on Object ManagerĀ 

  3. Search for and click on the Indicator objectĀ 

  4. Click on the Fields & Relationships tabĀ 

  5. Search and click on the Data Type field (ampi__Data_Type__c)

  6. Navigate to the Values section and click on NewĀ 

  7. Type ā€˜Picklistā€™ in the input text box field.Ā 

  8. Click on Save.

Add ā€œRead Onlyā€ picklist value within Type of Results Field

You can add the ā€˜Read Onlyā€™ā€™ picklist value within the Type of Results (ampi__Type_of_Results__c)Ā  field by following the steps mentioned below:

  1. Navigate to Salesforce SettingsĀ 

  2. Click on Object Manager

  3. Search for and click on the Indicator objectĀ 

  4. Click on the Fields & Relationships tabĀ 

  5. Search and click on the Type Of Results field (ampi__Type_of_Results__c)Ā 

  6. Navigate to the Values section and click on NewĀ 

  7. Type ā€˜Read Onlyā€™ in the input text box field.Ā 

  8. Click on Save

Update the Project Indicator Object to use Read Only Results

Salesforce does not support the update of picklist values in a field while upgrading a managed package. This needs to be manually done in order to use the new functionality. When upgrading to Indus, you need to make the following updates to the ampi__Project_Indicator__c object:

  1. Add ā€˜Read Onlyā€™ picklist value within the Type of Results (ampi__Type_of_Results__c) field.Ā 

Add ā€˜Read Onlyā€™ option to Type of Results fieldĀ 

This step is required in order to use the Read Only Type of Result on the Project Indicator Object. You can add the ā€˜Read Onlyā€™ā€™ option within the Type of Results (ampi__Type_of_Results__c)Ā  field by following the steps mentioned below:

  1. Navigate to Salesforce SettingsĀ 

  2. Click on Object Manager

  3. Search for and click on the Project Indicator objectĀ 

  4. Click on the Fields & Relationships tabĀ 

  5. Search and click on the Type Of Results field (ampi__Type_of_Results__c)Ā 

  6. Navigate to the Values section and click on NewĀ 

  7. Type ā€˜Read Onlyā€™ in the input text box field.Ā 

  8. Click on Save

Update the Result Object to use the Baseline functionality

Salesforce does not support the update of picklist values in a field while upgrading a managed package. This needs to be manually done in order to use the new functionality. When upgrading to Indus, you need to make the following updates to the < > object:

  1. Add ā€˜Baselineā€™ picklist value within theĀ  Data Tracked (ampi__Data_Tracked__c)Ā  field

  2. Edit the label for ā€˜Bothā€™ picklist value within the Data Tracked (ampi__Data_Tracked__c) fieldĀ 

Add ā€˜Baselineā€™ picklist value to Data Tracked picklist field on Result ObjectĀ 

This step is required in order to use the Indicator Baseline functionality. You can add the ā€˜Baselineā€™ option within theĀ  Data Tracked (ampi__Data_Tracked__c) field by following the steps mentioned below:

  1. Navigate to Salesforce SettingsĀ 

  2. Click on Object Manager

  3. Search for and click on the Result objectĀ 

  4. Click on the Fields & Relationships tabĀ 

  5. Search and click on the Data Tracked field (ampi__Data_Tracked__c)Ā 

  6. Navigate to the Values section and click on NewĀ 

  7. Type ā€˜Baselineā€™ in the input text box field.Ā 

  8. Click on Save.Ā 

Edit the label for ā€˜Bothā€™ picklist value within the Data Tracked fieldĀ 

  1. Navigate to Salesforce SettingsĀ 

  2. Click on Object Manager

  3. Search for and click on the Result objectĀ 

  4. Click on the Fields & Relationships tabĀ 

  5. Search and click on the Data Tracked field (ampi__Data_Tracked__c)Ā 

  6. Navigate to the Values section and click on Edit next to the ā€˜Bothā€™ value

7. Change the Label to ā€˜Target and Resultā€™Ā 

8. Click ā€˜Saveā€™

Update the Project Indicator Reporting Period Object to use the Baseline functionality

Salesforce does not support the update of picklist values in a field while upgrading a managed package. This needs to be manually done in order to use the new functionality. When upgrading to Indus, you need to make the following updates to the ampi__Project_Indicator_Reporting_Period__c object:

  1. Add ā€˜Baselineā€™ picklist value within theĀ  Data Tracked (ampi__Data_Tracked__c)Ā  field

  2. Edit the label for ā€˜Bothā€™ picklist value within the Data Tracked (ampi__Data_Tracked__c) fieldĀ 

Add ā€˜Baselineā€™ picklist value to Data Tracked picklist field on Project Indicator Reporting Period ObjectĀ 

This step is required in order to use the Indicator Baseline functionality. You can add the ā€˜Baselineā€™ option within theĀ  Data Tracked (ampi__Data_Tracked__c) field by following the steps mentioned below:

  1. Navigate to Salesforce SettingsĀ 

  2. Click on Object Manager

  3. Search for and click on the Project Indicator Reporting Period objectĀ 

  4. Click on the Fields & Relationships tabĀ 

  5. Search and click on the Data Tracked field (ampi__Data_Tracked__c)Ā 

  6. Navigate to the Values section and click on NewĀ 

  7. Type ā€˜Baselineā€™ in the input text box field.Ā 

  8. Click on Save.Ā 

Edit the label for ā€˜Bothā€™ picklist value within the Data Tracked fieldĀ 

  1. Navigate to Salesforce SettingsĀ 

  2. Click on Object Manager

  3. Search for and click on the Project Indicator Reporting Period objectĀ 

  4. Ā Click on the Fields & Relationships tabĀ 

  5. Search and click on the Data Tracked field (ampi__Data_Tracked__c)Ā 

  6. Navigate to the Values section and click on Edit next to the ā€˜Bothā€™ value

  7. Change the Label to ā€˜Target and Resultā€™Ā 

  8. Click ā€˜Saveā€™

Add Translations for New Values

After following the previous steps and updating the concerned objects to use the new functionality, you can also leverage Salesforceā€™s translation feature by adding translations for each picklist value or field label. Please refer to this document to learn how to add or update translations for the Picklist Values and Field Labels referred to earlier.

Update Custom Settings

Disable Geographic AreaĀ  Hierarchy in the dropdown on Set Targets and Add Results Visualforce pagesĀ 

A new field Disable Geographic Area Hierarchy (ampi__Disable_Geographic_Area_Hierarchy__c) has been created within the Custom Setting for Set Targets (ampi__SetTargets__c). This field controls the display of geographic areas in the dropdown on Set Targets and Add Results Visualforce pages and allows users to toggle the structure of Geographic Areas between hierarchical and non-hierarchical.Ā 

By default, Geographic Areas will be displayed hierarchically in the dropdown on Set Targets and Add Results. To disable the hierarchy in the dropdown, follow the steps:

  1. Navigate to Salesforce SettingsĀ 

  2. Search for and click on Custom SettingsĀ 

  3. Under the Label column, click on Set Targets (ampi__SetTargets__c)

  4. Click on Manage at the top of the pageĀ 

  5. Click on Edit at the top of the pageĀ 

  6. Check the box next to Disable Geographic Area HierarchyĀ 

Update the Reporting Period Object

Page layout changes made to the ampi__Reporting_Period__c object will not be reflected when you upgrade to Indus. This is to ensure that any customizations made by users are not overridden. In order to meet the modifications made to the Reporting Period lightning record page, you need to modify the Reporting Period page layout assignments.Ā 

Update Page Layout for the Reporting Period Object

  1. Navigate to Salesforce settings

  2. Click on Object Manager

  3. Search for and click on the Reporting Period ObjectĀ 

  4. Click on the Page Layouts tab

  5. Click on the Page Layouts Assignment buttonĀ 

  6. Click on the Edit Assignment buttonĀ 

  7. Click on the Baseline column. It will turn purple to indicate it has been selected

  8. Click on the Page Layout to Use picklist and select Baseline LayoutĀ 

  9. Click on SaveĀ 

Update Field Help Text for IATI Reporting

Help text has been updated for several IATI-related fields on the objects mentioned below in order to support the end user entering data for IATI reporting. These are not automatically updated. Refer to this sheet to access the fields and the suggested help text.Ā 

  1. Budget__c Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  9.Ā  Organization_Role__c

  2. Project_IATI_Sector__c Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  10. IATI_Policy__c

  3. Project__c Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  11. Project_Indicator__cĀ Ā Ā Ā Ā 

  4. Account Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  12. Objective__c

  5. Disbursement__c Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  13. Project_IATI_Policy__c

  6. IATI_Sector__cĀ  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  Ā  14.Ā  ContentVersion

  7. Project_Geographic_Area__cĀ  Ā  Ā  Ā  Ā  Ā  15. Allocation__cĀ Ā Ā Ā Ā 

  8. Financial__c

Update Field Sets

In this release, we have added new fields to certain field sets, as mentioned in the table given below. The new field is placed at the end of the upgraded field set in whichever column it was added to. Fields can also be added/removed/re-ordered based on the organizationā€™s preferences.Ā 

Object API NameĀ 

Field Set API NameĀ 

Update(s)

ampi__Indicator__c

ampi__ADD_NEW_INDICATOR_POPUP

The following fields have been added to the field set:Ā 

  • ampi__xx_Has_Baseline__c ampi__xx_Reporting_Picklist_Values__cĀ 

  • ampi__xx_Map_Picklist_Values_To_Number__cĀ 

  • ampi__xx_Numbers_Mapped_To_Picklist_Values__cĀ 

ampi__Project_Indicator__cĀ 

ampi__EDIT_PROJECT_INDICATOR_POPUP

The following fields have been added to the field set:Ā 

  • ampi__xx_Has_Baseline__cĀ 

  • ampi__xx_Reporting_Picklist_Values__cĀ 

  • ampi__xx_Map_Picklist_Values_To_Number__cĀ 

  • ampi__xx_Numbers_Mapped_To_Picklist_Values__cĀ 

ampi__Project_Indicator__cĀ 

ampi__ADD_RESULTS_INFO_POPOVER

The following fields have been added to the field set:Ā 

  • ampi__Disaggregation_Group__cĀ 

  • ampi__Cross_Disaggregation_by_Sex__cĀ 

ampi__Project_Indicator__cĀ 

ampi__SET_TARGETS_INFO_POPOVER

The following fields have been added to the field set:Ā 

  • ampi__Disaggregation_Group__cĀ 

  • ampi__Cross_Disaggregation_by_Sex__cĀ 

Add Set Targets and Add Results Lightning Web Components to the Project Lightning Page

To preserve existing functionality on the Project Lightning Record Page, the new Lightning Web Components (setTargets and addResults) have not been immediately added to the page. If your organization wishes to switch to this new interface (Please refer to User Guide) follow the below steps:

  1. Create a clone of the Project Lightning Record Page.

  2. In Lightning App Builder, click on the tabs to open up the Tab component editor on the right-hand pane.

  3. Remove the Visualforce pages from the respective tabs:

    1. SetTargets Visualforce page from the ā€œTargetsā€œ tabĀ 

    2. AddResults Visualforce page from the ā€œResultsā€œ tabĀ 

  4. On the left-hand pane, scroll down to Custom-Managed Components.

  5. Drag each Lightning Web Component from the pane and drop it into the respective tabs:

    1. setTargets Lightning Web Component into the ā€œTargetsā€œ tabĀ 

    2. addResults Lightning Web Component into the ā€œResultsā€œ tabĀ 

  6. Click ā€œSaveā€.

  7. Click ā€œActivationā€ and activate the Lightning Record Page according to your organizationā€™s use case.

Start Using Amp Impact in Spanish

Amp Impact now contains Spanish (language code ā€œesā€) translations for many of its features. To start using Amp Impact in Spanish, Translation Workbench must be enabled and Spanish must be activated. If these are not already in place, follow the steps below:

  1. Open Setup and go to Translation Settings.

  2. Click Enable.

  3. Click Add in the Supported Languages menu.

  4. Select Spanish and leave Active as checked.

  5. (Optional) Add a translator for the language.

  6. Click Save.

To set Spanish as the default language for all users in the org:

  1. Open Setup and go to Company Information.

  2. Click Edit.

  3. Set Default Language as Spanish.Ā 

  4. Click Save.

To set Spanish as the default language for a specific user:

  1. Open Setup and go to Users.

  2. Click Edit next to the User who will be using Amp in Spanish.

  3. Set Language to Spanish.

  4. Click Save.

Set Up Named Credential for IATI XML Validation

In order to validate the IATI Organisation or Activity XML while it is being generated, a Named Credential record will need to be created in order to connect an Amp Impact environment with the IATI Validator. Before you can create this, you will first need to obtain an IATI Gateway API Key.

Create IATI Gateway API Keys

  1. Navigate to https://developer.iatistandard.org

  2. Click ā€œSign Upā€.

  3. Follow the sign up process and confirm your account from an email link.

  4. Sign In to the API Gateway developer portal (same URL as above).

  5. Click Subscriptions > ā€œExploratoryā€/ā€œFull Accessā€ (as per requirement).

  6. Enter a Subscription Name (this can be anything you want) in the box.

  7. Check the box to agree to the Terms of Use.

  8. Click the Subscribe Button.

  9. Copy your Primary or Secondary Key from your Profile on the API Gateway webpage.

Create Named Credential Record in Salesforce

With the primary and secondary keys copied from the previous section, you are now ready to create a Named Credential record to connect Salesforce and Amp Impact to the IATI Public Validator.

  1. Go to setup and search for ā€œNamed Credentialsā€.

  2. Click on ā€œExternal Credentialsā€ and then click on ā€œNewā€.

  3. Fill in the following details and click Save.

    1. Label: IATI VALIDATOR EXTERNAL CREDS

    2. Name: IATI_VALIDATOR_EXTERNAL_CREDS

    3. Authentication Protocol: Custom

  4. Create a Permission Set Mapping for the External Credential. This Permission Set Mapping will help to authorize users such that users assigned to this permission set will only be allowed to utilize a specific OcpApimSubscriptionKey provided by the IATI.Ā 

  5. Input the OcpApimSubscriptionKey (Primary or Secondary Key) provided by the API Gateway in the value field of Parameter 1 and click Save.

  6. Create a custom header with the following inputs.Ā 

    1. Name: Ocp-Apim-Subscription-Key

    2. {!$Credential.IATI_VALIDATOR_EXTERNAL_CREDS.OcpApimSubscriptionKey}

    3. Sequence Number: 1

7. Now, create a Named Credential, with the following parameters.

a. Label: IATI VALIDATOR

b. Name: IATI_VALIDATOR

d. External Credential: IATI VALIDATOR EXTERNAL CREDS

e. Allowed Namespaces: ampi

8. Create a new custom header within the Named Credential with the following parameters:

  1. Name: Content-Type

  2. Value: text/plain

  3. Sequence Number: 1

Ā 

Ā 

Ā