SalesHood/Salesforce content management package configuration guide

After you’ve installed the SalesHood Application via the AppExchange into your Salesforce instance, please follow these steps to configure it for your organization:

Overview

  1. Setup App ID and App secret
  2. Setup “Remote Site Settings”
  3. Add SalesHood Application to Opportunity Layout
  4. Allow User Profiles to access the custom pages

Step 1: Setup App ID and App Secret

  1. Request SalesHood for App ID and App secret. Contact Infosupport@saleshood.com
  2. Input your App ID and App secret in your Salesforce Organization
    • Create “App Credential” tab in your Organization:
      • Login as System Admin
      • Go to Setup, in Quick Find box type in “Tabs” and choose Tabs
      • In Custom Object Tabs section, Click New
      • Select “App Credential” from Object drop-down list
      • Select a Tab style
      • Click next
      • In the ‘Apply on tab visibility to all profiles’ drop-down list, select Tab Hidden
      • Select ‘Apply a different tab visibility for each profile’ checkbox
      • Set Default On for System Administrator in Profile panel
      • Click Next
      • Click Save
    • Save your App ID and App Secret into the App Credential
      • Navigate to App Credential tab
      • Click New, and input these (case sensitive):
        • App Credential Name: SalesHood Content
        • App Id and App Secret: provided by SalesHood
        • Credential Name: SalesHood

Step 2: Set API Endpoint (optional)

This step is only mandatory for those who utilize API’s URL skillshood.com

  1. Go to Setup -> Quick Find “Custom Metadata Types.”
  2. Look up “Custom Domain” and click on Manage Records 
  3. Create a new record for Custom Domains
  4. In domain dropdown, select the domain you want to connect
    1. If installed to SFDC Production, select app.skillshood.com
    2. If installed to SFDC Sandbox, select app.preview.skillshood.com

5. The Label and Custom Domain Name field can be any name.

6. Click Save

Step 3: Add SalesHood Application’s custom page to Opportunity layout

  • In Lightning Experience: Go to Setup -> Quick Find ”Object Manager” -> Choose Opportunity -> Page Layouts
  • In Salesforce Classic: Go to Setup -> Quick Find “Opportunities” -> Page Layouts
  1. Choose to edit the opportunity layouts that should have the new Content view from SalesHood App
  2. In the edit layout page, drag and drop Fields / Section to wanted part of the opportunity page. Choose 1-Column layout
  3. Drag and drop Visualforce Pages / opportunityCustomPage to the new Section
  4. On the opportunityCustomPage Properties, choose:
    • Height (in pixels): 500
    • Check show scrollbars
    • Click Save

Step 4: Allow User Profile to access the custom page

A User Profile needs to have the following rights:

  • App Credential: Read
    • App Id field: Read Access
    • App Secret field: Read Access
  • User Credential: Read, Create, Edit
    • enc_accessToken field: Read Access, Edit Access
    • enc_refreshToken field: Read Access, Edit Access
  • Enable Visualforce Page Access to opportunityCustomPage and SalesHoodOauthRedirectingPage

Instructions:

  • Go to Setup -> Profiles
  • Choose wanted profiles to edit
  • In the edit page of the profile, click Edit
  • Navigate to Custom Object Permissions:
    • Check Read on App Credentials
    • Check Read, Create, Edit on User Credentials
    • Click Save
  • Navigate to Custom Field-Level Security:
    • On App Credential and User Credential, click View -> Edit, and change to the following:
      • App Credential:
        • App Id: Read Access
        • App Secret: Read Access
      • User Credential:
        • enc_accessToken: Read Access, Edit Access
        • enc_refreshToken: Read Access, Edit Access
      • Click Save
  • Navigate to Enable Visualforce Page Access
    • Click Edit
    • Add opportunityCustomPage and SalesHoodOauthRedirectingPage
    • Click Save

Was this article helpful?

Related Articles

Leave A Comment?

You must be logged in to post a comment.