FXL Data Grid Setup v1 (Deprecated)

This document is for the deprecated version of the original Data Grid. To see documentation for the current version please click here.

Prerequisites

Basics

  • The FXL Data Grid is a versatile record management tool in FieldFX Back Office when using Lightning Experience.

  • You can set up an FXL Data Grid for use with any record type in FieldFX.

  • You can also set up FXL Bulk Editing, [FXL Stage Pricing, and the FXL Bundle Maker for use with an FXL Data Grid after you have already added and configured it.

Setting Up FXL Data Grid

  1. Access FieldFX Back Office

  2. Switch to the Lightning Experience

  3. Access the applicable record page

    Example 1. Managing price book item records with a data grid

    You want to use the FXL Data Grid to manage price book item records.

    1. From your Home page, click Price Books

      Screenshot of selecting Price Books
    2. Click the price book for which you want to use the FXL Data Grid to manage price book items

      Screenshot of selecting a specific price book
    1. Drop the FXL Data Grid on the record page

    2. Configure FXL Data Grid Details

    3. Set up Bulk Editing to be used with the FXL Data Grid

    4. Set up Stage Pricing to be used with the FXL Data Grid

Configuring FXL Data Grid Details

Basics

  • The API names of Salesforce objects and object fields are required to configure any of the FXL Data Grid fields.

  • The most accurate way to enter the API names is to obtain them from the Object Manager.

The FXL Data Grid supports the use of and displays image fields as read-only.

Step-by-Step Guide

  1. Click the gear icon and select Edit Page

  2. Select the FXL Data Grid where it is placed on the page to display the configurable fields to the right

  3. Obtain the API name of the records' object and enter it in Salesforce Object

  4. Obtain the API names of the object’s fields you want to display in the FXL Data Grid and enter them separated by commas in Object fields

    Screenshot showing the Object Fields options in the component setup

    The FXL Data Grid supports the DateTime data type, but is not currently compatible with fields of the Time data type.

    Specifically, the controls will not display for users during field update. For updates about SFDC resolution of this issue, please see this article.

  5. Optionally complete one or more of the following:

    • To limit the items displayed in the FXL Data Grid to a specific master object record, Obtain the API name of the master object and enter it in Related Object Lookup.

    • To freeze columns on the left of the FXL Data Grid when horizontally scrolling, enter the number of columns to freeze in Number of sticky columns.

    • To enable users to save a filter configuration of the data grid so that it displays each time they access the page, enter a unique name for this data grid in Unique name for data grid.

    • To remove the defaulted compact display format for the FXL Data Grid, click Compact.

    • To unfreeze the header row of the FXL Data Grid when vertically scrolling, click Sticky columns.

    • To remove the column with a link to the record at the beginning of each row, click Display link to view record.

    • To override the default and activate the ability to add records in the FXL Data Grid, click Disable Adding.

    • To override the default and activate the ability to copy records, click Disable Copying.

  6. Configure any other optional setting available that benefits your company

  7. Click Save

  8. If this is the first time the FXL Data Grid has been set up on the page, activate the configuration of the page as the Org default

  9. Click Back

    Screenshot of the Lightning Record Page setup screen’s Back button
  10. Verify the FXL Data Grid is displaying the object and fields you have entered where you expected them to display

    Screenshot of verifying that settings display where expected

Setting Up FXL Bulk Edit

Basics

  • The API names of Salesforce objects and object fields are required to configure the FXL Bulk Edit fields for the FXL Data Grid.

  • The most accurate way to enter the API names is to obtain them from the Object Manager.

  • The object for FXL Bulk Edit must match the object for the FXL Data Grid you have already added and configured.

Step-by-Step Guide

  1. Drop FXL Bulk Edit to the record page with the FXL Data Grid already added and configured

  2. Select FXL Bulk Edit where it is placed on the page to display the configurable fields to the right

  3. Obtain the API name of the records' object and enter it in sObjectType to bulk edit

  4. Obtain the API names of any additional objects you want to display in FXL Bulk Edit and enter them separated by commas in Identifying fields to display in results

  5. Optionally choose only one of the following:

    • Obtain the API names of the specific fields you want to limit bulk editing to and enter them separated by commas in Include Only These Fields.

    • Obtain the API names of the specific fields you want to exclude from bulk editing and enter them separated by commas in Exclude These Fields.

      Screenshot of the FXL Bulk Edit settings
  6. Click Save

  7. If this is the first time FXL Bulk Edit has been set up on the page, activate the configuration of the page as the Org default

  8. Click Back

    Screenshot of the Lightning Record Page setup screen’s Back button
  9. Verify FXL Bulk Edit is displaying the object you selected

    Screenshot of verifying the Bulk Edit component appears where expected

Setting up Bulk Edit for Dependent Lookup Fields

Basics

For most fields, the default Salesforce Lookup Control functions as expected.

The default lookup control does not work for dependent fields.

A custom search popup provides a filtered lookup for dependent fields.

Step-By-Step Guide

  1. Obtain the API names of objects for the dependent fields

  2. Obtain the API names of the dependent fields you want to filter for bulk editing

  3. Add a bulkEdit function to the fxl_searchSettings Static Resource file

  4. Verify the Bulk Edit Control is added to the object’s lightning page

  5. Verify the fields have been added to the grid columns on the lightning page

Example 1 - Bulk Edit Contacts Should Match the 'First Letter of Contact' Field

Scenario

On Quote Items, we have a verification that the entry in Contact field starts with the character entered in a first_letter_of_contact field.

When doing a bulk edit on the Contact field, only valid entries that match the entry in first_letter_of_contact for the controlling record should display.

For this example, we assume the objects, fields, and verification rule already exist.

To accomplish this lookup with verification for a bulk edit, the following code is added to the fxl_searchSettings.js Static Resource file.

bulkEdit: {
  "FX5__Quote_Item__c": {
    "Contact__c": {
      "QueryFilter": "(LastName=NULL OR LastName LIKE '@@first_letter_of_contact__c@@%')",
      "QueryFields": "Name,LastName,FirstName",
      "KeywordSearchFields": "LastName",
      "OrderBy": "LastName"
    }
  }
}

Example 2 - Bulk Edit Wells for Selected Quote

Scenario

We have an object that tracks well sections.

The Quotes object has a reference field to the well sections object.
We also have a lookup from the Quote Items to the well section object.

When we are looking at Quote Items, we want to be able to bulk edit the well section, but the bulk edit should only allow well sections for the displayed quote.

For this example, we assume that the objects and fields already exist.

To accomplish this, we add the following code to the fxl_searchSettings.js Static Resource file.

bulkEdit: {
  "FX5__Quote_Item__c": {
    "well_section__c": {
      "QueryFilter": "(Quote__c='@@FX5__Quote__c@@')",
      "QueryFields": "Name",
      "KeywordSearchFields": "Name",
      "OrderBy": "Name"
    }
  }
}

Setting Up FXL Stage Pricing

Basics

Stage pricing can be set up on Tickets and Quotes.

The object for FXL Stage Pricing must match the object for the FXL Data Grid you have already added and configured.

Step-by-Step Guide

  1. Drop FXL Stage Pricing to the record page with the FXL Data Grid already added and configured

  2. Click Save

  3. If this is the first time FXL Stage Pricing has been set up on the page, activate the configuration of the page as the Org default

  4. Click Back

    Screenshot of the Lightning Record Page setup screen’s Back button
  5. Verify FXL Stage Pricing is displaying where you expected

Setting Up the FXL Bundle Maker

Basics

The FXL Bundle Maker enables dynamic item parenting within the FXL Data Grid.

Step-by-Step Guide

  1. Drop FXL Bundle Maker to the record page with the FXL Data Grid already added and configured

  2. Click Save

  3. If this is the first time the FXL Bundle Maker has been set up on the page, activate the configuration of the page as the Org default

  4. Click Back

    Screenshot of the Lightning Record Page setup screen’s Back button
  5. Verify FXL Bundle Maker is displaying where you expected