Salesforce:Getting Started

From Melissa Data Wiki
Jump to navigation Jump to search

← Clean Suite for CRM:Salesforce

Salesforce Navigation
Introduction
Getting Started
Installation
Getting Started with Lightning Components
Credits
Lightning Components
Lightning Quick Actions
Lightning Lookups
Lightning Global Express Entry
Clean Suite Advanced Mappings
Clean Suite Batch Processing
Result Code Status Indicator
Visualforce Pages
Installing Visualforce Pages
Custom Visualforce Pages
Custom Code
APEX Triggers
Custom Clean Suite Batch Processing
Express Entry Lightning Action Override
Result Codes
Salesforce Result Codes



Getting Started with Clean Suite

This page will walk you through how to setup Personator in Clean Suite app for Salesforce.

App Install

  1. To get started with Clean Suite, download the app from the APP exchange. You have the option to install sandbox or production after clicking "Get It Now".
  2. https://appexchange.salesforce.com/appxListingDetail?listingId=a0N30000000pvskEAA&tab=e
    Download from the App Exchange
  3. When Prompted, log in to the org that you want to install Clean Suite in. If you are installing in a sandbox, make sure to log into the Primary org that the sandbox is tied to.
  4. Install Location
    Select which users you wish to install the app for. Select Install (select Upgrade if you already have an older version installed).
    Install for Users


License Keys and Administration

  1. Once installed, search for Clean Suite in the App Launcher.
  2. App Launcher
  3. Select Clean Suite and go to Listware/Clean Suite Administration Tab.
    1. Enter the License provided to you by your Salesrep under License & Credits tab.
    2. Enter License
    3. Select the service tab that will be used in the app and configure based on business needs. In the example below, we are using Personator.
    4. Select Desired Service
    5. Once the License is set and service is configured, it’s now time to create fields and relationship to store some of the important response from the service.


Fields and Relationships Setup

  1. Navigate to the object manager and select Contact (or whichever object you wish to configure the service on).
  2. Select Fields & Relationships.
  3. Select New.
  4. Select Lookup Relationships.
  5. Note: Lightning Lookups provide a one stop shop for quickly storing and displaying the contents of a CleanSuite response.
  6. Select Clean Suite Personator Result from the Related To dropdown.
  7. Note: Make sure not to select any of the MD_* options as these will not work for this case.
    Choose the Related Object
  8. You can name Field Label and Field Name to your preference or leave the default.
    1. New Relationship
    2. Set security settings as required and click Next.
    3. Set Security Settings
    4. Set page layouts as desired and click Next.
    5. Add Field to Page Layouts
    6. Set lists as desired and click Save.
    7. Add a Related List

      Best Practices

      • Make sure that the Lookup Field and Mapping use the same Clean Suite Service. For instance, a Personator Lookup should be mapped on a Personator Mapping.
      • Salesforce Objects can have multiple CleanSuite lookups mapped to them. For instance, you may have Global Email, Global Phone, and Personator Lookups all mapped to the Contact object.
      • Lookups can be used to store results without overwriting them. Instead of choosing the Input field as your Output, you can output all results to a lookup. This way your data will never be modified by CleanSuite.
  9. Create another field with Type Text (OPTIONAL).
    1. Name field label as Personator Result Code (this will auto populate Field Name).
      • This is where Result Code be mapped to when the service returns the returns result code in the response. Result Code is what indicates validity of the data that was sent in the service.
    2. Enter length 255.
    3. New Custom Field

Advanced Mapping Configuration

A Clean Suite Mapping or Mapping for short is a configuration specifying what data to look at and what to do with it. Each mapping is tied to a specific Salesforce object, either standard or custom as well as a Melissa Webservice. Mappings consist of two columns, Input and Output.

IMPORTANT NOTE: A mapping must be created before processing data through Clean Suite. This is how we know what data to work with.

  • In the screenshot below we can see a Personator Contact Mapping named Mailing Address Verification. The input column on the left specifies which data to send to the Personator service and the output column on the right specifies what to do with that data when it is returned.
Advanced Mapping

How to Create a Mapping

  1. Click the text box under SELECT OBJECT TYPE and type in the name of the Salesforce object you wish to work with. Select the object from the drop down.
  2. Select Object Type
  3. Select the Melissa Webservice you wish to use by clicking one of the buttons under ADD NEW MAPPING.
  4. Add New Mapping
  5. You will be prompted to name your new mapping. It is recommended to create a name that is memorable to you such as Mailing Address Verification or BillingAccountAddress.
  6. Name the New Mapping
  7. Select the inputs you wish to use by clicking the text box and typing. Select from the drop down.
  8. Select Inputs
  9. Do the same for the outputs you wish to use as well including Lookup Field and Result Code.
  10. Name Other Outputs
    Name Other Outputs
  11. Click Save All when done.


Lightning Action Setup

Lightning Quick actions allow CleanSuite users to quickly process single records on demand in one click of the mouse.

These actions are available for the following CleanSuite services: Personator, BusinessCoder, Global Address, Global Email, and Global Phone.

Set Up

Setting up quick actions is fast and easy.

  1. Start by navigating into Salesforce Setup, then head into the Object Manager and select the object you wish to add a Lightning Quick Action to. In this example we are using the Contact object.
  2. Select Buttons, Links, and Actions and click New Action.
  3. Select Buttons, Links and Actions
  4. In the Action Type dropdown choose Lightning Component.
  5. In the Lightning Component dropdown set the component as desired. In this example, we are using Personator so we selected MDPERSONATOR:CS_PersonatorAction. Set Label, Name, and Description as desired. Note that the Label field is how the button will display to your users. Click Save when you are done.
  6. Setup the Component
  7. Navigate back to the Object Manager and select the object we were working with again. In this example we select Contact because we are working with the Contact Object.
  8. Select Page Layouts and choose the Layout you wish to modify.
  9. Select Page Layouts
  10. In the Layout menu, select the Mobile & Lightning Actions category. Find the button we created in step #4 and drag it into the Salesforce Mobile and Lightning Experience Actions section as desired. When done, click Save at the top.
  11. Drag and Drop
  12. Navigate to the object we just modified and confirm that our lightning quick action is available.
  13. Clicking with the mapping setup correctly, clicking the lightning quick action button will populate the following fields Other Address, Personator Result Codes, and Clean Suite Personator Result fields:
    1. In the Other Address field, not only was it populated with the response from Personator, it also standardized the address by changing the first letter of the street name to upper case and adding plus-4 on postal code.
    2. Values in Personator Result Codes provides information about the validity of the address.
    3. Values in Clean Suite Personator Result provides a hyperlink to view all the information available from Personator response.


    Before validation
    Before Validation
    After validation
    After Validation
    Before validation
    Before Validation
    After validation
    After Validation