You can display 360Learning widgets in specific Salesforce pages (such as Opportunity pages), that will suggest content based on the value of a field in your page.
For instance, if you link the widget to your field "Competitors", and the value for that field in your page is "Acme", the widget will show you the four most relevant search results in 360Learning for "Acme".
You can also manually search for content in 360Learning directly from the widget, via a search field.
Step 1: add your 360Learning URL to the CSP trusted sites in Salesforce
This will allow the package to retrieve info from your 360Learning platform without being blocked by Salesforce.
Learn more about managing CSP trusted sites in Salesforce’s official documentation ↗.
- Connect to Salesforce with an admin account.
- At the top right, click the gear icon, and select
Setup
. - On the top left, in the Quick Find search box, enter « CSP » and select
CSP Trusted Sites
. - At the top of the table, click
New Trusted Site
. - In
Trusted Site Name
, enter the name of your 360Learning platform (replace spaces with underscores). - In
Trusted Site URL
, enter the URL of your 360Learning platform.- It should be either https://yourcompanyname.360learning.com or your fully customized domain.
- In the section
CSP Directives
, checkAllow site for connect-src
, and uncheckAllow site for img-src
. - At the bottom, click
Save
.
Step 2: install the 360Learning package in Salesforce
We recommend you to install the package on your Salesforce sandbox environment first. When you’ve performed all your tests and are happy with the setup, install and configure the package in your production environment.
- Connect to Salesforce with an admin account.
- Click on the following link:
- For the sandbox environment (recommended for tests): https://test.salesforce.com/?ec=302&startURL=%2Fpackaging%2FinstallPackage.apexp%3Fp0%3D04t090000011bNc.
- For the production environment: https://login.salesforce.com/packaging/installPackage.apexp?p0=04t090000011bNc
- Select
Install for All Users
.- If you wish for learning content to be suggested to Salesforce admins only, or specific profiles, select
Install for Admins Only
orInstall for Specific Profiles…
.
- If you wish for learning content to be suggested to Salesforce admins only, or specific profiles, select
- Since the 360Learning app isn’t part of Salesforce’s AppExchange Partner Program, check the option
I acknowledge…
. - Click
Install
.
This typically takes a few minutes, but can take up to 30 minutes. In that case, you will receive a confirmation email once it is completed.
You can check the app is correctly installed by doing the following (check Salesforce’s official documentation for accessing installed packages ↗):
- In Salesforce, at the top right, click the gear icon, and select
Setup
. - On the top left, in the Quick Find search box, enter "Installed" and select
Installed packages
.
In the column Package Name, you should see 360learning_App_Prod
.
Step 3: configure the Salesforce page
The suggested learning content section can be displayed in various pages in Salesforce. We recommend adding it to the Opportunity page.
- Connect to Salesforce with an admin account.
- At the top right of the page where you want to add the section (for instance: an Opportunity page), click the gear icon, and select
Edit page
. - In the left sidebar, in the section
Custom
, look for the components360Learning
and360Learning Administration
.- You can filter on the term
360
in the search field, or collapse the sectionStandard
to display only the sectionCustom
.
- You can filter on the term
- Drag and drop both components somewhere in your page (we recommend the right side of the page).
Step 4: filter the admin component
Configure the component 360Learning Administration
, so that it is only visible for Salesforce admins.
This requires that you can easily filter admins in your user list (for instance: have « admin » in their name, or a specific field in their user profile).
- Click on the component
360Learning Administration
. - In the right sidebar, click the button
+ Add Filter
. - In
Filter Type
, selectAdvanced
. - In
Field
, clickSelect
. - Select the field that you use to identify admins (for instance:
User > Last name
). - Select the operator and value (for instance:
Contains "admin"
). - At the bottom right, click
Done
. - At the top right of the page, click
Save
. - At the top left, click
Back
.
Step 5: configure the admin component
- Open a page where the admin component is displayed, with an account that can see it (depending on the conditions added in the previous section).
- In
Tenant URL
, enter to your 360learning URL.- It should be either https://yourcompanyname.360learning.com or your fully customized domain.
- This should be identical to the CSP trusted site URL you entered in step 1.
- In
Competitor field
, enter the API name of the field in the current page that should be used to search for learning content in 360Learning.- For example, enter
MainCompetitor_c
if you want to show all courses, programs and paths from your 360Learning platform containing the value of the field whose API name isMainCompetitor_c
. - You can check the API name of a specific field in your page by opening your Object Manager in Salesforce (see Salesforce’s official documentation ↗).
- For example, enter