Amp Impact Digital Experiences
This page covers:
Amp Impact in Salesforce Digital Experiences
Salesforce’s Experience Cloud enables organizations to create digital experience sites to provide access to specific sections of Amp Impact for Implementation Partners, Funders, Grantees, and other stakeholders who require periodic access to a subset of data.
The functional areas typically exposed to these external stakeholders include elements of the Project Setup functionality, AddResults pages, and Performance Graphs.
Designing and configuring a digital experience site requires thorough planning and design and user adoption is often better with an iterative configuration and testing approach. This guide provides a high-level overview of the steps and some guidelines for Amp Impact-specific set up but we always recommend working with an Architect with experience in digital experiences.
Generally, setting up a digital experience site requires the following steps:
General User, Access & Permissions Set Up & Configuration
Organizations often start by defining the user groups and their access and permissions. There are many ways to set this up and we’ve shared a few guidelines and examples.
Set Up the Lightning Digital Experience Site
Next, you’ll choose a template and create the site, reviewing a few settings that pertain to Amp Impact.
Navigate the Experience Builder
Once the site is created, you’ll use the Experience Builder to configure the relevant pages for the audiences that will access the site. We share a few examples of Amp Impact features that organizations typically expose in their site.
General User, Access & Permissions Set Up & Configuration
Create Permission Set for Digital Experience Users
The first step is to create a permission set for the Digital Experience Users.
The permission set table below is an example to provide Digital Experience Users with access to all Project records, Activity Tracking, Add Results, and Performance Graphs pages. Permissions should be customised to an organization’s use case. Here is a comprehensive matrix of user permissions required for various user actions.
Note: Permission Sets will vary based on the user license. Not all object level permissions are available for all user licenses.
Navigate to the setup interface.
Type “Permission Sets” in Quick Find.
Find “Amp Impact Admin” and click “Clone”. Set the following:
Label: Amp Impact Community
API Name: Amp_Impact_Community
Click “Assigned Apps”. In the page that loads, click “Edit”.
Move ampi.Amp Impact (ampi__Amp_Impact) and ampi.Amp Impact (ampi__Amp_Impact_Lightning) from the “Enabled Apps” list to the “Available Apps” list and click “Save”.
Assigned Apps are not allowed for some Community User licenses.
Open “Object Settings” and navigate to the relevant objects to update the permissions.
Here is an example of how organizations would typically define access to Amp Impact objects:
Object | Read | Create | Edit | Delete | View All | Modify All |
---|---|---|---|---|---|---|
Activities | X | X | X | X |
|
|
Budgets | No access | |||||
Disaggregated Indicators | No access | |||||
Disaggregated Project Indicators | X | X | X |
| X |
|
Disaggregation Groups | X | X | X |
| X |
|
Disaggregation Values | X | X | X | X | X | X |
Disbursements | No access | |||||
Financials | No access | |||||
Geographic Areas | X |
|
|
|
|
|
IATI Policies | No access | |||||
IATI Sectors | No access | |||||
Implementation Plans | X | X | X |
|
|
|
Indicators | X | X | X |
|
|
|
Indicator Thematic Areas | No access | |||||
Objectives | X |
|
|
|
|
|
Organization Roles | X |
|
|
|
|
|
Project Geographic Areas | No access | |||||
Project IATI Policies | No access | |||||
Project IATI Sectors | No access | |||||
Project Indicator Geographic Areas | X | X | X |
| X |
|
Project Indicator Objectives | No access | |||||
Project Indicator Reporting Periods | X | X | X |
| X |
|
Project Indicators | X | X | X |
| X |
|
Project Indicator Thematic Areas | No access | |||||
Project Objectives | X |
|
|
|
|
|
Project Roles | X |
|
|
|
|
|
Projects | X | X |
|
| X |
|
Project Thematic Areas | No access | |||||
Questions | No access | |||||
Reporting Periods | X | X | X |
| X |
|
Results | X | X | X | X | X | X |
Sections | No access | |||||
Submissions | No access | |||||
Thematic Areas | X |
|
|
|
|
|
Visualforce Updates | X | X |
|
|
|
|
Create a Digital Experience Profile
Here is an example for creating a profile with the Customer Community Login User license. If you already have a digital experience user profile that you plan to use in a digital experience with Amp Impact, assign the permission set to those users. Otherwise, use the steps below as guidelines to a profile for digital experience users, and customize to the organization’s use case as needed.
Navigate to the setup interface.
Type “Profiles” in Quick Find and click the result.
Click “New Profile”.
For the Existing User picklist, select “Customer Community Login User”.
The User License should display “Customer Community Login”.
For the Name field, enter “Amp Impact Community User”.
Click “Save”.
Click “Edit”.
Scroll to Administrative Permissions and make sure the checkbox next to “API Enabled” is selected.
Click “Save”.
Navigate to Visualforce Page Access. Add “ampi.AddResults” and “ampi.PerformanceGraph” to the Enabled Visualforce Pages list. Click “Save”.
Create a Sharing Set with Read/Write Access for Project Indicator
These steps are an example to create a sharing set for the profile created in the previous step - Create Digital Experience Profile, enabling users with that profile to have read/write access to Project Indicators of which they are owner. Please read here for more information about Sharing Sets. Sharing Rules can also be used to provide this level of access, depending on the organization’s use case.
Navigate to the setup interface.
Type “Digital Experiences” in Quick Find and click “Settings” under the result.
In the Sharing Sets related list, click “New”.
Label: Amp Impact Community User
API Name: Amp_Impact_Community_User
Selected Profiles: Amp Impact Community User
Selected Objects: Project Indicator
Click Set Up in the Configure Access table.
Grant access where the User.Contact matches Target Project Indicator.Owner.Contact
Access Level: Read/Write
Click Update.
Click Save.
Create Digital Experience Users
Once the permissions and profile are in place, you are ready to create users and assign the appropriate permissions to them.
Salesforce has detailed documentation on creating Experience Cloud Site users.
As you create the user(s), ensure that you select the appropriate license,
Open a Contact record detail. The Contact record must have a parent Account in order to be able to follow the next steps listed below.
Enable the Contact as a Customer user by:
(Classic) Click “Manage External User” at the top of the record. Select “Enable Customer User” from the dropdown.
(Lightning) Click “Enable Customer User” button.
In the User record page, select User License as “Customer Community Login” and Profile as “Amp Impact Community User” (or the Profile created in the earlier section on “Create Digital Experience Profiles”).
Click “Save”.
Scroll down the User record page to the first related list (Permission Set Assignments). Click “Edit Assignments”.
Add “Amp Impact Community” and “Submission Response” in the multi-select picklist. Click “Save”.
Add Members to the Digital Experience
This step can be completed once the Experience Site is set up and ready to be tested.
In “Administration”, click “Members”. Add the “Amp Impact Community Profile” to the multi-select picklist. Click “Save”.
Click the icon in the top left corner to bring down the sidebar. Click “Settings”, and click “Activate Digital Experience”.
Set Up Lightning Digital Experience
The following steps will guide you in setting up a Lightning Digital Experience with Projects (as indicated in the "Set Up Projects" section below) and Submissions (as indicated in the "Set Up Submissions" section below). Depending on your specific use case, certain steps can be omitted or adjusted accordingly.
Enable Digital Experiences
Open the setup interface.
If Digital Experiences are not yet enabled, enable Digital Experience.
Type “Digital Experiences” in Quick Find and then select “All Sites”.
Select “Enable Digital Experiences”.
Click the “New” Digital Experience button.
Set Up CSP Trusted Site Record
Experience Builder sites utilize Content Security Policy (CSP) to enhance security by safeguarding against malicious resources and component vulnerabilities. To enable users to export media for the ampi__Project_Indicator__c object through the Performance Graph page in communities, please follow these steps to add the following CSP trusted site record:
Go to “CSP Trusted Sites” in the setup interface.
Click on the "New Trusted Site" button.
Provide the following information:
Set the "Trusted Site Name" as "Highcharts."
Set the "Trusted Site URL" value as https://export.highcharts.com.
Enter a brief "Description" such as "Enables media export of Project Indicators within the Performance Graph tab in communities."
Ensure the "Active" checkbox is selected.
In the CSP Directives section, check the box for "Allow site for frame-src" option.
By following these steps, you will establish the necessary CSP trusted site configuration to facilitate media export for Project Indicators through the Performance Graph tab in Experience Sites.
In Lightning Bolt Page:
Select “Customer Service”.
Click “Get Started”.
Name your community and (optional) set a URL. Click “Create”. You will be taken to the Digital Experience Workspace.
Experience Builder
Salesforce has comprehensive documentation on their Experience Builder. Below, we share some guidelines on how to set up specific Amp Impact features in the Experience Builder.
Set Up Amp Impact Projects
Read more about Project Setup & Modifications here.
Select “Builder”. You will be taken to the interactive builder.
Click on the Navigation Menu. A popup will appear on the top right.
Click on the “Navigation Menu” button and another popup will appear.
Click “+ Add Menu Item” button.
Name Menu Item as “Projects”, select Type as “Salesforce Object”, and select Object Type as “Project”. You can leave the Default List View at “Default”. Click “Save Menu”.
The following 6 steps (6-11) on setting up tabs should only be followed if your organization is not using the Nav Bar for digital experience users. If your organization would still like to use the Nav Bar in digital experience, please skip to the next section.
Create a Project record page in the Experience Builder.
Click the dropdown in the top left corner. A picklist will appear.
Scroll to the bottom of the Picklist and click the “+ New Page” button. A pop-up will appear.
Select “Object Pages”.
Find and select “Project” in the list of Objects.
Click “Create”. You will be navigated to the new Project Detail Page template.
Click into the Tab component. Click “Add” and customize the labels of the Visualforce pages or Lightning Web Components you want to make available in the digital experience.
Click into a tab (e.g. Add Results). From the Components menu on the left, drag the relevant Lightning Component (i.e. Visualforce Page for AddResults or the custom ActivityChart Lightning Component for Activity Tracking) into the tab’s space.
If a Visualforce Page was added in the previous step, a popup will appear in the top right. In the popup, select the Visualforce page to display in the tab. Customize as needed the Height (in pixels) field. Leave Record ID at the default value.
Repeat Steps 7-9 for each Visualforce page that needs to be made available to digital experience users.
To add the custom manageIndicators Lightning Web Component, the Record ID property must be manually set. Input {!recordId} into the text field under Record ID so that the component will render properly.
Note this value is case-sensitive and must be entered exactly as shown below.
Click “Publish”.
Set Up Amp Impact Submissions
Read more about Amp Impact Submissions here.
The steps in this section are only required if digital experience users will be filling out Submissions. If this is not required for your use case, please skip to the next section. If digital experience users will be using Submissions in another manner (i.e. reviewing submissions), please refer to the Amp Impact Installation Guide to understand how to customise the pages for that use case.
Click on the Navigation Menu. A popup will appear on the top right.
Click “Navigation Menu” button. Another popup will appear.
Click “+ Add Menu Item” button.
Name Menu Item as “Submissions”, select Type as “Salesforce Object”, and select Object Type as “Submission”. You can leave the Default List View at “Default”. Click “Save Menu”.
Create a Submission record page in the Digital Experience Builder.
Click the dropdown in the top left corner. A picklist will appear.
Scroll to the bottom of the Picklist and click the “+ New Page” button. A pop-up will appear.
Select “Object Pages”.
Find and select “Submission” in the list of Objects.
Click “Create”. You will be navigated to the new Submission Detail Page template.
Add the SubmissionResponseForm component to the Submission Detail Page.
Expand the Lightning Components Menu on the left side of the builder.
Find the SubmissionResponseForm component in the Custom Components section of the list.
Drag and drop the SubmissionResponseForm below the Record Detail component.
Click “Publish”.
Set Up Multi-Language Capability - Optional
This step is intended for users and systems that utilize the multi-language capability of Amp Impact. To ensure that Lightning Web Components are compatible with non-English user locales, it is necessary to enable Languages within the Digital Experience. This enables multi-language support and ensures compatibility for users with non-English user locales.
Click on the Gear icon to access Settings from Community Builder.
Under Settings, click “Languages”.
Click “Add Languages”.
Select language(s) from the available languages list and add it to the community languages list.