Component Features Not Working

Filter Errors

Symptom

Error message appears or unexpected filter behavior.

Common Causes and Solutions

1. Text vs Number Confusion

❌ Wrong:

Amount = '50000'  // Amount is a number field, don't use quotes

✅ Correct:

Amount = 50000
Amount > 50000

2. Date Format Issues

❌ Wrong:

CreatedDate = '01/15/2024'  // Wrong format

✅ Correct:

CreatedDate = 2024-01-15
CreatedDate = TODAY
CreatedDate = LAST_N_DAYS:30

3. Picklist Value Mismatch

❌ Wrong:

Status = 'open'  // Case-sensitive

✅ Correct:

Status = 'Open'  // Match exact picklist value

4. Relationship Field Errors

❌ Wrong:

Filter: Account_Name = 'Acme'  // Incorrect relationship syntax

✅ Correct:

Filter: Account.Name = 'Acme'

Inline Editing Not Working

Symptom

Fields don't become editable when clicked, or edits don't save.

Common Causes and Solutions

1. Field Not in Editable Fields List

Check:

Editable Fields: StageName,CloseDate

Solution: Add the field to the Editable Fields property.

2. User Lacks Edit Permission

Check: User must have field-level Edit permission.

Solution:

  • Go to Setup > Object Manager > [Object] > Fields

  • Click field name

  • Set Field-Level Security

  • Enable Edit for user's profile

3. Record Is Locked

Check: Record may be locked by approval process or other mechanism.

Solution: Unlock the record or complete the approval process.

4. Field Type Not Editable

Check: Formula fields and roll-up summary fields cannot be edited inline.

Solution: Remove these field types from Editable Fields list.


Search Not Finding Records

Symptom

Search bar doesn't return expected results.

Common Causes and Solutions

1. Field Not in Searchable Fields List

Check:

Searchable Fields: Name,Email

Solution: Add the field to Searchable Fields property.

2. Partial Match Expectations

Note: Search behavior varies by component. Some require exact matches.

Solution: Test search with various terms to understand behavior.

3. Special Characters

Check: Special characters in search terms may cause issues.

Solution: Try searching without special characters.


Sorting Not Working

Symptom

Clicking column headers doesn't sort, or sort order seems wrong.

Common Causes and Solutions

1. Field Not in Sortable Fields List

Check:

Sortable Fields: Name,Amount,CloseDate

Solution: Add the field to Sortable Fields property or enable "Allow Sort on All Columns."

2. Data Type Issues

Check: Text fields containing numbers sort alphabetically (1, 10, 2) not numerically.

Solution: Use Number field types for numeric data.

Last updated

Was this helpful?