1. Enable Salesforce Customer Portal for Fielo
Switch to Salesforce ClassicCustomer Portal is only available in Salesforce Classic user interface. If you are using Salesforce Lightning, go to View Profile> Switch to Salesforce Classic and follow the steps below.
- From Setup, click Build> Customize> Customer Portal> Customer Portal Settings.
a. If Customer Portal is disabled:- Click Edit.
- Check Enable.
- Click Save.
2. Configure a Salesforce Customer Portal for Fielo
- Complete the Customer Portal Edit with the information from Table 1.
- Complete the Self-registration Settings with the information from Table 2.
- Click Save.
Table 1.
| Field | Description |
|---|---|
| Name | Fielo. |
| Description | Fielo. |
| Login | |
| Administrator | Click š and choose the Salesforce User you wish to be the Administrator. |
Table 2.
| Field | Description |
|---|---|
| Self Registration Enabled | |
| Default New User Licence | Authenticated Website. |
| Default New User Profile | Fielo REST. |
3. Configure objects from Salesforce Site
- From Setup, click:
In SF Lightning: Platform Tools> Objects and Fields> Object Manager.
In SF Classic: Build> Create> Objects. - For each object listed below, go to Details> Edit> Optional Features section. Check Available for Customer Portal.
- Member.
- Redemption.
- Redemption Item.
- Reward.
- Reward Item.
- Transaction.
- Click Save.
4. Configure Salesforce Site
- From Setup, click:
In SF Lightning: Platform Tools> User Interface> Sites and Domains> Sites.
In SF Classic: Build> Develop> Sites.
a. If you do not have a domain set:- Enter the chosen domain for your site
- Click Check availability.
- Tick I have read the terms of use....
- Click Register Myforce.com Domain.
- Continue creating the Site(s).
b. If you already have a domain/After finishing point a above:
- Click New to create a Salesforce Site.
- Complete Site Edit with the information from the table below.
- Click Save.
| Field | Description |
|---|---|
| Site Label | Fielo. |
| Site Name | Fielo. |
| Site Contact | Name of Salesforce Administrator. |
| Active | |
| Active Site Home Page | Click the š and choose SiteLogin . |
| Clickjack Protection Level | Allow framing by the same origin only. |
| Require Secure Connections (HTTPS) |
5. Configure Guest User Profile (In this case, only for Registration)
- From Setup, click:
In SF Lightning: Platform Tools> User Interface> Sites and Domains> Sites.
In SF Classic: Build> Develop> Sites. - In Site Label, click Fielo to access Site details.
a. Click Public Access Settings.
b. Click Edit.
c. From Standard Object Permissions section, set the following permissions for the objects listed below:
| Objects | Permission |
|---|---|
| Contacts | Read. |
| Documents | Read. |
d. From Custom Object Permissions section, set the following permissions for the object listed below:
| Objects | Permission |
|---|---|
| Members | Read, Create and Edit. |
e. Click Save.
f. From Field-Level Security section, click View for Member.
g. Click Edit.
h. Tick all Read Access and Edit Access checkboxes for every field. Important!: if Edit Access is not available to be checked, tick the Read Access checkbox.
i. Click Save.
6. Configure Login Settings for Salesforce Site.
- From Setup, click:
In SF Lightning: Platform Tools> User Interface> Sites and Domains> Sites.
In SF Classic: Build> Develop> Sites. - From Site Label, click Fielo> Site details.
- Click Login Settings.
- Click Edit and complete the following information:
| Field | Select |
|---|---|
| Enable Login For | Customer Portal: Fielo (See Configure a Salesforce Customer Portal for Fielo). |
- Click Save.
7. Configure REST Custom Setting
REST Custom Setting for Members and Redemption ItemsThe steps below should be applied when Members and Redemption Items include an External ID different from Salesforce Record ID.
- From Setup, click:
In SF Lightning: Platform Tools> Custom Code> Custom Settings.
In SF Classic: Build> Develop> Custom Settings. - Choose REST Settings.
- Click Manage> New.
- Complete the complete the following information:
| Field | Description/Value |
|---|---|
| Owner ID | Salesforce Owner ID. |
| Profile ID | Salesforce Profile ID. |
| Member External IDs | A comma-separated list of fields (API name) to return new fieldsets in the response (e.g. FieloPLT__Account__c;FieloPLT__ExternalId____c). |
| Redemption Items External IDs | A comma-separated list of fields (API name) to return new fieldsets in the response (e.g. FieloPLT__Account__c; FieloPLT__ExternalId__c). |
Good work!You've finished the configuration for Fielo's REST API.
