- In your Salesforce account, click the gear icon, , from the top-right toolbar on the Salesforce page, and click Setup Home.
- Under PLATFORM TOOLS, click Apps > App Manager.
On the Lightning Experience App Manager screen, click the
down-arrow icon for the app that you created in 3. Configuring your app in Salesforce and select View.
In the API (Enable OAuth Settings) section, you'll see entries for the consumer key and consumer secret.
- Copy the code in the Consumer Key field.
In a separate browser window, log on to the Salesforce page of the Alfresco Admin
Console with your administrator credentials:
http://localhost:8080/alfresco/service/enterprise/admin/admin-salesforcewhere localhost:8080 is your Alfresco host name and port.
- In the Admin Console window, paste your Salesforce consumer key into Salesforce Consumer Token.
In the Salesforce window, click Click to reveal to reveal the
consumer secret, and copy the code.
Paste your Salesforce consumer secret into Salesforce Consumer
You can optionally hide the password when you have pasted it into the Admin Console.
Select the Salesforce Environment Type that Alfresco should use.
There are two options: Production (the default value) and
You can optionally change the list size of records that are displayed.
Enter a number in Recently Viewed Records List Size to specify how many recent Salesforce records are displayed when you link an Alfresco file or folder with a record. The default setting is 20 records.Note: Alternatively, you can set this in your alfresco-global.properties file using sfdc.canvas.recordMruSize. For example:
- Save your settings.