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
  3. 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 next step, select how the tab visibility should appear for different profiles.
    • If you select ‘Apply on tab visibility to all profiles’ drop-down list, select Tab Hidden
    • If you select ‘Apply a different tab visibility for each profile’ checkbox, set Default On for System Administrator in Profile panel

  • Click Next
  • Click Save

4. Save your App ID and App Secret into the App Credential

  • Back in your Home menu, use the App Launcher to search for App Credentials
  • 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. Click on the wrench in top right of the opportunityCustomPage frame to access 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 Object Settings:
    • 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.