This page covers:
Table of Contents | ||||||
---|---|---|---|---|---|---|
|
Amp Impact in Salesforce Digital Experiences
Salesforce Digital Experiences are often used to expose parts frequently utilized to provide access to specific sections of Amp Impact to for Implementation Partners, Funders, Grantees, or and other stakeholders that need who require periodic access to a subset of data during regular intervals.
Typically, the The functional areas that are typically exposed to these external stakeholders are include elements of the Project functionality, Add Results pages, and Performance Graphs . Those are the areas we cover here and additional configuration might be needed if there are other relevant areas in your Digital Experience Site. Contact the Amp Impact Support team if you need additional guidance in these areas- that is what we’ll cover in this section. There might be additional configuration needed, depending on your use case.
General User, Access & Permissions Set Up & Configuration
Create Permission Set for Community Users
The first step is to create a permission set for the Digital Experience Users.
Info |
---|
This permission set is an example to provide Customer Community Users with access to all Project records and the Activity Tracking, Add Results, and Performance Graphs pages. Permissions should be customised to an organisation’s use case. Note: Permission Sets will vary based on the user license. Not all object level permissions are available for all user licenses. |
Go to Setup.
Type “Permission Sets” in Quick Find and click the result.
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”.
For each object in the table below, set the following permissions by clicking each object and then clicking “Edit”.
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 |
Object (continued) | Read | Create | Edit | Delete | View All | Modify All |
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 | |||||
Object (continued) | Read | Create | Edit | Delete | View All | Modify All |
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 Digital Experience Profile
Info |
---|
These steps are an example using 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 customise to the organisation’s use case as needed. |
Go to Setup.
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 Sharing Set with Read/Write Access for Project Indicator
Info |
---|
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 organisation’s use case. |
Go to Setup.
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
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”.
Set Up Lightning Digital Experience
These The following steps will walk you through how to set guide you in setting up a Lightning Digital Experience with Projects (as shown below under indicated in the "Set Up Projects" section below) and Submissions (as shown below under indicated in the "Set Up Submissions" section below). Depending on your specific use case, certain steps can be skipped omitted or modifiedadjusted accordingly.
Enable Digital Experiences
Open Setup.
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 use utilize Content Security Policy (CSP) to secure our sites from enhance security by safeguarding against malicious resources and component vulnerabilities. Please add following CSP trusted site record to allow user To enable users to export media for the ampi__Project_Indicator__c object via through the Performance Graph page in communities, please follow these steps to add the following CSP trusted site record:
Navigate Go to CSP Trusted Sites within Setup“CSP Trusted Sites” in the Setup section.
Click on the "New Trusted Site button " button.
Add Provide the following information:
Enter ‘Trusted Site Name’ as ‘Highcharts’
Enter the value for ‘Trusted Site URL’ as ‘Set the "Trusted Site Name" as "Highcharts."
Set the "Trusted Site URL" value as https://export.highcharts.com ’.
Enter ‘Description’ as ‘This allows exporting media a brief "Description" such as "Enables media export of Project Indicators from within the Performance Graph tab in communities.’"
Leave Ensure the ‘Active’ checkbox as checkedUnder "Active" checkbox is selected.
In the CSP Directives section
mark the “Allow, check the box for "Allow site for frame-
src” option as checkedsrc" 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 communities.
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.
Community Builder
Set Up Amp Impact Projects
Select “Builder”. You will be taken to the interactive builder.
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 “Projects”, select Type as “Salesforce Object”, and select Object Type as “Project”. You can leave the Default List View at “Default”. Click “Save Menu”.
Info |
---|
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. |
6. Create a Project record page in the Community Builder.
a. Click the dropdown in the top left corner. A picklist will appear.
b. Scroll to the bottom of the Picklist and click the “+ New Page” button. A pop-up will appear.
c. Select “Object Pages”.
d. Find and select “Project” in the list of Objects.
e. Click “Create”. You will be navigated to the new Project Detail Page template.
7. Click into the Tab component. Click “Add” and customize the labels of the Visualforce pages or Lightning Component you want to make available in the digital experience.
8. 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.
9. 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.
10. Repeat Steps 7-9 for each Visualforce page that needs to be made available to community users.
11. 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.
a. Note this value is case-sensitive and must be entered exactly as shown below.
12. Click “Publish”.
Set Up Amp Impact Submissions
Info |
---|
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 with of Amp Impact. To ensure multi-language compatibility of that Lightning Web Components for users are compatible with non-English user locales, it is necessary to enable Languages within the Digital Experience must have Languages enabled. 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.
Add Members to the Digital Experience
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”.