Skip to main content
Skip table of contents

Part 3: Connecting Conexiom to Salesforce

End by end instructions to connect Conexiom to Salesforce.

Upload Config File

  1. Check that the.yaml file has the accurate Consumer Key & Consumer Secret. These 2 values should be the same as what was sent to Conexiom Support.

  2. If Conexiom Support provided and Environment parameter, proceed to step 1.1, otherwise, proceed to step 2:

    1. Navigate to Setup > Custom Code > Custom Settings > “Conexiom Settings” and click ‘manage.’ Populate the Environment field with the value provided by Conexiom HelpDesk.

  3. Open the Conexiom app from the App Launcher and navigate to the Conexiom Admin tab

  4. From the OAuth Setup section, upload or drop the installation file received from Conexiom helpdesk

  5. Upon clicking the “Upload” button or dropping a file, the system will check if a prior configuration of Conexiom to Salesforce exists.

    1. If a prior configuration exists, a dialog box pops-up appears - “This action will overwrite existing configuration. Would you like to proceed? (Yes/No)”

      1. Select “No” to cancel the upload

      2. Select “Yes” to proceed with the upload

  6. Once the installation process has completed, a confirmation message will appear with a link to establish your SSO connection: “Configuration successful. Click here to connect to Conexiom.”

  7. Click the here link in the message, this will navigate you to a Conexiom login page.

  8. Select the Sign In with Salesforce option.

  9. You will now be logged into Conexiom - please make sure that you have a role of “Super User” in the Conexiom Portal. Otherwise, you cannot see all of the records from the Portal on Salesforce. You can now continue with the remaining setup steps.

Update the Page Layout for Case

Add the alert component to any Lightning Pages where your users view alerts in cases, including the Conexiom Lightning App. Using the Lightning App builder, add the Custom Managed component named caseAlertContainer.

The container is designed for a larger area, so we recommend either full width or 2/3 width per the example below:

Use the following links for guidance on how to use the Lightning App Builder:

Update the Page Layout for Account

The majority of Conexiom data that users interact with in Salesforce is stored in the Conexiom Partner Portal. The data is displayed in a component which you must add to the Account Lightning Page which Conexiom users will use to interact with Conexiom. Resources on how to do this are included in this section.

Use the Lightning App builder to create or modify an existing Account Record Lightning Page to configure where your users view Conexiom customer information. Add the Custom Managed component named appContainer to this page.

The container is designed for a larger area, so we recommend either full width or 2/3 width per the example below:

 

Configuring Data Stored in Account Object

There are some fields in Salesforce that the application interacts with. This section guides you through fields on the account object. 

There are a few fields created by the application that are stored in Salesforce and play an important role in the proper functioning of the application. Those fields are covered below.[PS9] 

 

Custom Field Name

Description

Recommended Settings

cnxm__ConexiomId__c

An Id unique to each Conexiom customer used for making API calls. This value does not have a business application and is only used by system processes.

  • Hide from account page layout for all users.

  • This field must be editable by Salesforce users who have the Conexiom User and Conexiom Super User Permission Sets to allow proper functionality. Users should not manually change this field.

  • Do not change the Mapping.

cnxm__CustomerNumber__c

In Conexiom, the customer number field is required and must be unique for each customer.

The Conexiom Customer Number needs to be mapped to the unique identifier in Salesforce that matches this number. If you already use another field in Salesforce to store this value, you may continue to use that field. If you do not store this value on the account in Salesforce, use this field.

  • Available on account page layout for all users.

  • Editable for users with standard and Super User permission sets.

  • Change Mapping if a field with customer number value already is in use in Salesforce.

cnxm_ConexiomStatus__c

This field is updated with the Conexiom Status, we store this data on the Account Page to provide this visibility from Salesforce list views and reports.

  • This field should be included on the Account Page layout as read-only.

  • A batch job runs to update this field – you can set the frequency for the batch job from Setup > Custom Code > Custom Settings > Conexiom Settings

Mapping Conexiom Data to Account Fields

If you are using a standard or custom field other than the one created by this application to store the customer number which is used by Conexiom, you must update the default mapping settings. If you do not have a field that serves this purpose in Salesforce and plan to use the cnxm__CustomerNumber__c field, you may skip this step, as this field is mapped by default.

In addition, you can change the mapping of address fields and Account Name from Salesforce to Conexiom, which are used to populate fields in Conexiom when creating a new customer record from a Salesforce account. By default the fields from BillingAddress and Name are used if left unchanged. The default mapping is below:

Label

Salesforce Field API Name

Account Customer Number

cnxm_CustomerNumber__c

Account City

BillingCity

Account Country

BillingCountry

Account Postal Code

BillingPostalCode

Account State

BillingState

Account Street

BillingStreet

Account Name

Name

Account Shipping City

ShippingCity

Account Shipping Country

ShippingCountry

Account Shipping Postal Code

ShippingPostalCode

Account Shipping State

ShippingState

Account Shipping Street

ShippingStreet

 

Note: In the Object Manager for the Account Object, you will only find BillingAddress and ShippingAddress instead of the fields listed above as these are compound fields. 

 

OPTIONAL: If you need to change the mapping of the Customer Number and any other account fields, follow these steps:

  1. From the Setup Home page, enter Custom Metadata Types in the Quick Find box.

  2. Select Custom Code > Custom Metadata Types.

  3. Select Manage Records next to the Field Mapping Settings label.

  4. A list of fields available for mapping displays.

SFDC 3.5

It is recommended to create a New View and ad the Field API Name to the list of fields displayed to see all mappings from the list view. 

  1. Locate the Account Customer Number row, click Edit.

  2. In the Field API Name, enter the Field Name of the existing field you wish to use.

    You must use a field that exists on the account object. Enter the Field API Name exactly as it appears (e.g. 'AccountNumber').

  3. Click Save.

  4. Follow steps 5-8 for any other fields on the account for which you wish to change the mapping.

SFDC 3.7
SFDC 3.6

Incident Log and Retention Settings

The application includes a log where unexpected events are recorded for troubleshooting. You can access this log from the Conexiom App navigation menu. The log does not require configuration by default; however, you may want to update the settings to avoid exceeding data storage limits.

Setting Data Deletion Schedule

To configure data retention settings for the log object, follow these steps:

  1. Navigate to the Setup Home page. Enter Apex Classes in the Quick Find box.

  2. Select Custom Code > Apex Classes.

  3. Click Schedule Apex.

  4. Next to Apex Class field click the lookup icon.

  5. On the Lookup page, select DataRetentionScheduler (If the search results don't return the class, return to the list and find it in the list, click into the record, then return to step 2).

  6. Select Frequency. Either Weekly or Monthly.

  7. Select one or more days of the week or one day of the month for the job to recur

  8. Select Start and End dates.

  9. Select Preferred Start Time.

  10. Click Save.

  11. Navigate to the Setup Home page. Enter Custom Metadata Types in the Quick Find box.

  12. Select Custom Code > Custom Metadata Types.

  13. Select Data Retention Settings from the list view.

  14. Click Manage DataRetentionSettings.

  15. Click Edit for the AqLog item.

  16. Update Retention Period (Days) if desired. Records are retained for the indicated number of days and are deleted in accordance with the job scheduled in steps 1-11.

  17. Click Save

SFDC 3.10
SFDC 3.9
SFDC 3.8

Note: To manage and delete scheduled jobs, navigate to the Setup Home page and enter Scheduled Jobs in the Quick Find box. Select Environments > Jobs > Scheduled Jobs. 

 

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.