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
9 votes

Indexing software used in salesforce

Salesforce doesn't provide a lot of visibility into the inner workings and technologies underpinning their platform. The official engineering and developer relations blogs may provide some insight ...
Derek F's user avatar
  • 62.1k
8 votes
Accepted

Searchable Lightning Combobox LWC

It's a simpler implementation of the "searchable combobox" as Damecek proposed in the comments under the question. I used the standard lightning-input component of type "search" ...
Anton Kutishevsky's user avatar
7 votes

Indexing software used in salesforce

As you know, Salesforce has different services and sites. For the Salesforce Platform, as mentioned by @Derek F, and the video he pointed out: Apache Solr (screenshot from the presentation below): ...
glls's user avatar
  • 20.2k
5 votes
Accepted

Search Result missing from search layouts

Does the object in the org missing search results have a tab created ? Search and tabs are connected, if you do not have a tab for the object/ the user does not have access to the tab the search ...
Rao's user avatar
  • 16.7k
5 votes
Accepted

Salesforce Apex: Advanced Searching

First you need to tie down the meaning of the list of wrappers. My assumption (but ultimately its your choice as the designer/documentor of the API) is that you want only records where all 3 wrapper ...
Keith C's user avatar
  • 136k
5 votes
Accepted

Lightning Component - Attribute loses value

Try to change component.set("v.mapList", response.getReturnValue()); component.set("v.initialMapList", response.getReturnValue()); by component.set("v.mapList", response....
Sergio Alcocer's user avatar
4 votes
Accepted

How to search for a string in a list of strings?

The easiest way to implement that kind of lookup in code is with a Map. Your code could look like this: public class ChainReactionUserClass { @future public static void ChainReactionStart(set<...
mkorman's user avatar
  • 4,046
4 votes

Advance search in Visual Force

There's an existing implementation of this that you can use and save you much time in development: TypeAhead The OOB version handles Accounts: <c:Typeahead object="Account" />
cropredy's user avatar
  • 71.8k
4 votes
Accepted

What is the purpose of wildcards (asterisks) before and after SOSL Query?

Wildcards at the beginning of a search term are not supported. This can definitely cause you to get incorrect results, so don't do it. Wildcards at the end are acceptable, but will return more (less ...
sfdcfox's user avatar
  • 494k
4 votes
Accepted

LEX - change lookup field search options

You'll need to set-up the Search Layout Configuration options for the New Object in Lightning Setup, including the Lookup Dialogs and Search Filter Fields. See Configure Lookup Search Results in ...
crmprogdev's user avatar
4 votes
Accepted

How can I make the search results editable?

If you are trying to edit the values of the records from Search results, that is not possible. You can only edit the values by going to the record page. If you are looking to changing the columns, ...
sfdcFanBoy's user avatar
  • 4,064
4 votes

Related list contacts not displaying in lookup filter in search results

The lookup window shows "recently viewed" records when there is no search text. This is a list pulled from the MRU (Most Recently Used) cache, which only stores about 200 records per object per user (...
sfdcfox's user avatar
  • 494k
4 votes
Accepted

How to search all Apex Classes in IntelliJ Illuminated Cloud?

I use "Find in Path", in the context menu shown by right clicking on the root of the project in the project navigation pane. This does a string search in the whole project structure. If you want to ...
Phil W's user avatar
  • 36.7k
4 votes

Is it not possible to search by Id field with SOSL?

Id fields don't get search indexed, only various types of text fields, like Name and Phone. You can, however, use an ID as part of the filter: FIND {sometext} IN ALL FIELDS RETURNING Contact(Name ...
sfdcfox's user avatar
  • 494k
3 votes
Accepted

Unable to Search a related record in Global Search

Look up fields are indexed, but cannot be searched. If you want to have your project appear in the search results, it must contain text content that includes the project name. One easy way to do to ...
sfdcfox's user avatar
  • 494k
3 votes

SOAP deploy: "Entity is null or entity element's name is null" for few searchSettingsByObject in Search.settings

The error basically says that the object is missing. Are you sure that you have only the available objects in Search.settings? I had the same issue and I resolved it by simply checking if I use each ...
Nuru Nurdil's user avatar
3 votes

Filtering by Long Text Area field in SOQL

The other options here are good for using logic during page render or during data processing. But if you have a lot happening at this stage of your process these could be heavy. (maybe maybe not). ...
TheArchitecta's user avatar
3 votes

Using wildcard in migration tool package xml

Wildcards pull down all metadata of a specific type when referenced in package.xml files. You cant use them to do more specific filtering. However, ASIDE.IO does allow you to perform retrieves and ...
Phil Rymek's user avatar
  • 6,169
3 votes

Using wildcard in migration tool package xml

No. The only wildcard supported is the literal *, which matches everything. Of course, not all objects support the wildcard, so you need to check the manual. Personally, I'd recommend using a package (...
sfdcfox's user avatar
  • 494k
3 votes

How to do searching from 10 million records

There is specific developer documentation for dealing with scenarios like this in Best Practices for Deployments with Large Data Volumes. In particular, have a read of Large Data Volumes Case Studies -...
Daniel Ballinger's user avatar
3 votes
Accepted

Creating a tesclass error:Method does not exist or incorrect signature: void size() from the type accSearchController

It seems you wish to asset agains the size of your cont property. system.assertEquals(1, myController.cont.size(), 'Add an assertion message here'); It would be wise to first assert the property is ...
Adrian Larson's user avatar
  • 150k
3 votes
Accepted

how to assert search.query?

you have to use Test.setFixedSearchResults(fixedSearchResults) in test class else sosl return always empty list check this documentation https://developer.salesforce.com/docs/atlas.en-us.apexcode....
Ratan Paul's user avatar
  • 22.7k
3 votes
Accepted

Can I have more than 2 previews in a lookup field?

You can modify the fields that you see in the search. But you cannot add more than 2 fields (secondary field) in the results. The secondary field is configured in the Search Layout for the object and ...
Jayant Das's user avatar
  • 30.6k
3 votes
Accepted

Account Address search(Powered by Google) in Salesforce

Check your Organization Edition, Autocomplete on Standard Addresses documentation says: Available in: Professional, Enterprise, Performance, and Unlimited editions.
Raul's user avatar
  • 18.8k
3 votes

Salesforce - Search by field without knowing object

SOSL lets you search multiple objects to find matching data. An example search might look like: FIND 'Doe' IN NAME FIELDS If you do know some objects you want to limit it to, you could add them as ...
Adrian Larson's user avatar
  • 150k
3 votes
Accepted

Lightning input type search

You can use aura:if to hide the button when the v.disabled=true <aura:if isTrue={!v.disabled== true}> you can add the code without close(x) option here. <aura:set attribute = false> &...
Raja Sabarish's user avatar
3 votes
Accepted

How to pass lightning-input-field value as a parameter to controller class method in Lightning Web Component

Use event.detail.value to get the value updated value inside the change handler. handlePickChange(event) { this.objType = event.detail.value; console.log('objType:' + this.objType); } Also, ...
Rahul Gawale's user avatar
  • 12.2k
3 votes

Clear custom input text field

using document.getElementById("text-input-id-74"). is not a good practice in LWC. Access Elements the Component Owns additionally, using id's to identify dom elements in the markup is also ...
glls's user avatar
  • 20.2k
2 votes

Visualforce Search Page - SOQL Results Pagination

I would highly suggest that you look at the Salesforce StandardSetController class. It handles pagination out of the box for you and is very easy to use. There are a few 'gotchas' with support for ...
dsharrison's user avatar
  • 3,992
2 votes

Is there is a way to search metadata within Salesforce for some specifc keyword

Step 1: Retrieve all metadata source from org using package.xml in VS Code. Step 2: Use 'Find in Folder..' option on the root folder (./force-app/main/default) and search for your keyword.
psun's user avatar
  • 371

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