Text Search your Org
  • 1 Minute to read
  • Dark
  • PDF

Text Search your Org

  • Dark
  • PDF

Article summary

Good to Know!
You can launch the Text Search analysis directly from within Salesforce using the ForeSight Chrome Extension

To locate and review the locations where a specific text/string appears - 

  1. Click on the New Analysis button
  2. Select the Search For Text option
  3. Type any text such as user name, email, or error messages and press Return.
The following special characters are currently not supported for Text Search:

'\\', '+' , '-', '!' , '(', ')', ':', '^', '[', ']', '"' , '{' , '}' , '~', '*', '?', '|', '&', '/'

  1. Select a component on the left side of the screen, and the related code will show on the right side of the screen. The occurrence of the string will be highlighted on both sides (2).
    Some components (like Aura) will have a number of tabs (1) related to the code which can be reviewed.
    Use the Forward and Backward arrows (3) to navigate between multiple occurrences within the code section of the selected component.
The search results are limited to 500 components (4); however, all occurrences of the searched text within the 500 components will be included as a line in the search results.

  1. Select one or more components to launch a 360 analysis, Export to Excel, or View in Salesforce,

Use the Expand and Collapse buttons to view the grouping by Component Type


Supported Components

The following components are supported for searching texts.

  • Apex Class
  • Apex Test Class
  • Apex Trigger
  • Approval Process
  • Assignment Rule (including Assignment Rule Entry)
  • Aura Component App
  • Aura Component (Aura Bundle)
  • Connected App
  • Custom Label
  • Custom Metadata Record (including Custom Metadata Record Field)
  • Custom Metadata Type
  • Custom Metadata Type Field
  • Custom Setting
  • Custom Setting Field
  • Dashboard
  • Email Template
  • Field (including Picklist Field)
  • Field Set
  • Flow
  • Global Value Set (including Global Value Set Value)
  • Lightning Page
  • Lightning Web Component
  • Object
  • Process Builder
  • Queue
  • Record Type
  • Remote Site Settings
  • Report
  • Static Resource
  • Validation Rule
  • Visualforce Component
  • Visualforce Page
  • Web Link
  • Workflow Email Alert
  • Workflow Field Update
  • Workflow Outbound Message
  • Workflow Rule
  • Workflow Task