Skip to main content
New
Stack Overflow Jobs powered by Indeed: A job site that puts thousands of tech jobs at your fingertips (U.S. only). Search jobs
7 votes
Accepted

SOSL query the encrypted text field is possible but NOT in Apex test class?

In test classes, SOSL queries don't return anything by default. You have to define the results of the search yourself using Test.setFixedSearchResults. For example: @isTest public static void ...
fred's user avatar
  • 3,420
4 votes
Accepted

SOSL Find query not returning Standard Profiles, only Custom

The standard profiles have different names that are indexed. They are labeled PT1 through PT14. Some of those profiles have since been retired. Summer '07 was supposed to eradicate those old names (e....
sfdcfox's user avatar
  • 494k

Only top scored, non community-wiki answers of a minimum length are eligible