Admins can customize what fields are displayed in search results using the MDAPI. This helps differentiate between similar records (such as parties) by phone number, address, or other fields.

After the MDAPI is set up, you still must update the search layouts of objects you wish to customize.

Sandbox Setup Prerequisites

See the Set Up MDAPI in Sandbox guide if you are first testing these customizations in your Salesforce sandbox. 

How to Set Up the MDAPI

1. Configure Remote Site, Connected App, & Auth Provider

  1. Log in to Litify.
  2. Add the following to your URL after .com:  /apex/litify_pm__ConfigureMDAPI. You are directed to the page below.4.png
  3. Select Configure on step one. This automatically completes the first step:

2. Set Consumer Key & Secret Key

  1. In a separate tab, navigate to Setup > App Manager.
  2. Scroll to the App named LitifyMDAPI.
  3. Select the Dropdown View.6.gif
  4. Find the area labeled API (Enable OAuth Settings).
  5. Copy the a Consumer Key and Consumer Secret7.png
  6. Navigate to Setup > Auth. Providers. 
  7. Scroll to LitifyMDAPI.
  8. Select Edit.8.png
  9. Enter the Consumer Key and Consumer Secret in the corresponding fields.9.png
  10. Return to the /apex/litify_pm__ConfigureMDAPI page and it will complete the rest of the automated setup. 

3. Configure Scopes & Named Credential 

  1. Navigate to Setup > Named Credentials.
  2. Find LitifyMDAPI.
  3. Select Edit.
  4. Ensure that the Start Authentication Flow on Save checkbox is checked, which it should be by default.
  5. Save.
    • Important Note: If you get an error stating this or something similar (error=invalid_client_id&error_description=client%20identifier%20invalid) after saving, you simply have to wait a few minutes for the Auth Provider to complete setup. Wait a few minutes then refresh the page, then click Save again to continue.
  6. You will be redirected to the Salesforce login page. Log in using your Litify credentials.
  7. Select Allow to grant access. 

Setup is now complete. All steps at /apex/litify_pm__ConfigureMDAPI should now have checkmarks. 

Was this article helpful?
0 out of 0 found this helpful