Skip to main content

Questions tagged [search]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
1k views

Keep rows checked in Lightning-datatable

Hello guys I have a Lightning-datatable that allows me pagination and a search. Until now I can select rows from any page in the datatable. The problem comes when the user inputs some name and check ...
3 votes
1 answer
15k views

Searchable Lightning Combobox LWC

Hello guys I have a lightning combobox that has like 600 values. I would like to be able to search the values instead of scrolling. My .js code is this one: picklistOrdered = []; connectedCallback(...
0 votes
2 answers
2k views

Search results not shown in Lightning view but shown in Classic

A user is unable to get any search results in Lightning view, while he's able to get that in Classic view. The user does have read/write access on the record/object that he searches & is able to ...
-1 votes
0 answers
17 views

Inside of an Experience Cloud help center, how can I auto filter search results based on the topic the search event occurred in?

I have a help center that organizes articles for many products offered by one company. To be exact, there is 12. Rather than building independent sites for each, I decided to build one for the main ...
0 votes
1 answer
4k views

"This list view isn't available in Lightning Experience. To see this list view, use Salesforce Classic or switch to another list view" error on search

We are getting 'This list view isn't available in Lightning Experience. To see this list view, use Salesforce Classic or switch to another list view.' error when trying to search records in a standard ...
1 vote
2 answers
5k views

Make Custom '__c' Field Searchable in Global Search Bar

I have a custom field at the Opportunity Product level that can't be searched at the moment on the global search, even if I click on 'search all' I have seen this link that selects 'external ID' on ...
2 votes
1 answer
980 views

Executing Search in custom forceCommunity:searchInterface component

I've seen the documentation listed at the link below: https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/components_config_for_builder_search_and_profile.htm?search_text=...
0 votes
0 answers
11 views

How to create multiple sessions/tabs?

We are working on a CTI application where we handle the calls and chat, we are using Open CTI JS APIs for the integration. For every call/chat we have to do a screen pop for the matched record in the ...
1 vote
2 answers
1k views

Make a delay to a dynamic search (onchange) when sending data to apex (Lightning)

I have a <lightning:input> which I send to the server the value inside it when it changes to search and return the closest results. I tried to do the following : CMP - look at the lightning:...
3 votes
1 answer
941 views

Possible to Search 'Standard' Community Pages?

Background I've created 'Standard' pages in my 'Customer Service' community via the Experience Builder. These pages include 'Rich Content Editor' Lightning components, which contains text. We would ...
1 vote
2 answers
2k views

Searchable lightning:select Component

Is it possible to have search functionality for a lightning:select component within an aura:iteration? I'm looking for the following picklist to have a search as there will be lots more options being ...
0 votes
0 answers
26 views

Custom Search Component in Digital Experiences Site disappears in occasionally (not happened frequently)

Custom Search Component in Digital Experiences Site disappears in occasionally (not happened frequently), and this issue never happened in Chrome Incognito Window (only happened in Chrome normal ...
0 votes
1 answer
1k views

Einstein Search not working as expected

We have enabled Einstein Search in our org, but when I search of "My open Cases" it's showing as the old search result. I referred to this article. https://www.salesforce.com/blog/2019/09/...
0 votes
1 answer
1k views

Apache Solr integration with Salesforce

I want to integrate 'Apache Solr' search functionality in 'Salesforce'. Is there any option to include solr search with salesforce?
1 vote
0 answers
32 views

Is there a way to force a product search to sort results based on certain keywords?

When a customer searches for let's say "battery" or "batteries" in the search in the header navbar on the site, the results page typically lists a handfull of other products that ...
1 vote
1 answer
1k views

Is there a way to customize or build on top of the Global Search Results component in the Napili template?

I was just wondering if there is a way to edit or build features on top of the Napili Community's Global Search Results Lightning Component. I'd like to add filters, change the layout, and control ...
0 votes
1 answer
117 views

SFCC: Using searchOrders() or queryOrders() and how to page?

When I use searchOrders() there is a limit of 1,000 orders, but I need to retrieve all orders. So, I tried using queryOrders() even though I knew it will deprecate soon. But the fact is that the ...
0 votes
2 answers
1k views

VSCode search results doesn't show all instances

I'm trying to figure out what's wrong with my search panel in VSCode when searching in a branch from BitBucket. When I try to look for a specific search term, it doesn't find ALL instances of that ...
21 votes
5 answers
62k views

Filtering by Long Text Area field in SOQL

I'm working on a custom search page, which will search through the fields of the Project object. I use dynamic SOQL query similar to that: String query = 'SELECT Name, Status__c ... FROM ...
0 votes
0 answers
42 views

How do I only search in Leads using searchAndScreenPop()?

The search API by default searches in Contacts, Leads, Accounts, etc. I want to limit it to either one because the user may not have privileges to Contacts or Accounts in this instance. The search API ...
0 votes
0 answers
106 views

Performing Fuzzy search by using multiple keywords, on a specific long text area field which has keywords, hashtags on a custom object

I have a requirement to perform fuzzy search on a specific long text area field on a custom object and return the results, where long text area field can have some keywords, hashtags or quantity of ...
0 votes
1 answer
54 views

How can I add Federated Search Results into Experience Cloud portal?

I am following the article https://help.salesforce.com/s/articleView?id=sf.search_experience_enable_obj.htm&type=5 and trying to setup Federated Search Results external Object (Blog__x) into ...
0 votes
1 answer
45 views

Does standard search index against content file body

I cannot find any documentation regarding if Standard Salesforce search performs the search against File Content, for example, if I have a PDF document with content 'ask my anything' or 'hallucinating'...
0 votes
1 answer
21 views

What are the possible values of KbChannel field on SearchActivity standard Object?

What are the possible values of KbChannel field on SearchActivity standard Object? I am trying to understand better SearchActivity standard Object, however, Object Reference Guide doesn't list this ...
0 votes
0 answers
203 views

How to displays results for contacts which have ACR in the search

We have enabled ACR (accountcontactrelation) in our Salesforce Org to stop duplication of contacts. When a user types in the contact details (name , email) in the search bar there is ability to hover ...
0 votes
0 answers
33 views

Can Einstein Search to be used to prefer selected knowledge articles?

Can Einstein Search to be used to prefer selected knowledge articles? My customers want to have ability to have some weighting implementation to prefer some selected knowledge articles over the ...
0 votes
1 answer
1k views

How to make a Field as searchable in Global search

I have a Field called Employees( Text Field) on Account object. I want to make a field as searchable. I have created a workflow and I have added a field to search layouts as well, but no luck. Can ...
1 vote
2 answers
539 views

Need Help Editing a Lightning Component Custom Search to show a second field in results

I have a custom Product search Lightning component on the Opportunity page and I need to change the second field in the search results below to display another field. Right now it shows the Product2....
0 votes
1 answer
483 views

Salesforce product variant are not shown - only simple products are shown?

I've have set up a store in Salesforce, where I for now have been listed "simple" products. These are have been shown shown in the store without any problems, the now occur after having ...
5 votes
1 answer
2k views

lightning global search url

Is there a readable URL for global search in Lightning, similar to Classic that use &startURL=/_ui/search/ui/UnifiedSearchResults?str=valueToSearch ?. I want to use this URL to add to Chrome ...
1 vote
2 answers
2k views

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

Asset Field _ 2 previews only In this example I'm seeing 2 fields that are part of my Asset object field. I'm looking for a way to increase the fields I can see in the preview to 3 fields. Any ...
3 votes
2 answers
1k views

Is there a way to catch the "Search Unavailable" exception that is thrown when doing a SOSL query?

We have a try/catch block around the line doing the query, but we still get this exception mailed to us on some SOSL queries: List<List<SObject>> ret, queryResult; try { ...
0 votes
0 answers
75 views

API Search only returns User Records but no Contact Records

Problem: Via Postman, I'm trying to search Contact Records with 'email address' as the query string. I'm able to get a response but it only includes the User Record matches as the type. { "...
-2 votes
1 answer
245 views

Custom lookup search filter how do I set [closed]

The custom lookup Set to lookup the object "User". I want to display only users whose Department in the user object is "service". <c:customLookup objectAPIName="User" ...
2 votes
2 answers
7k views

Account Address search(Powered by Google) in Salesforce

I am trying to implement Address Search in Account Mailing and Shipping Address. I went through the following documentation https://help.salesforce.com/articleView?id=customize_maps_autocomplete....
0 votes
2 answers
1k views

Make salesforce lightning lookups more useable

I'm running into a few inconveniences with lightning lookup search and want to know how to make this better. I have a filtered lookup on an object to another object and currently, there are 3 major ...
0 votes
1 answer
297 views

SOQL Query for a search bar, where records are returned based on multiple fields using only 1 input string

I am looking to create a search bar like function in my LWC component where users will be able to add records to a list based on criteria entered into a Search input component. My issue is where it ...
1 vote
2 answers
535 views

Bulk search all objects from csv

Is there anyway to run a bulk search in my instance looking to match one column (email address) from a csv? I get some long files that need mass checks for compliance reasons (400 rows - match on one ...
0 votes
0 answers
63 views

'includes' search behavior on SOSL

Reading about 'includes' filter on SOSL I have a question: What happens if I do: ...MyCustomField__c includes ('valueA,valueB') ? What i know:. If I do: ...MyCustomField__c includes ('valueA;valueB') ...
3 votes
1 answer
5k views

exclude search strings from vscode search results

I want to search the files having "write" but at the same time I don't want my search results to include "writeful". So if there is write writeful writer fwrite foowrite Write I ...
0 votes
1 answer
602 views

How to maintain state of selected records after search in Lightning datatable

I'm not able to maintain the checkbox state, when lightning:datatable records change after searching records in the datatable. I have a searchbar above the Lightning datatable and records with ...
2 votes
1 answer
269 views

SOSL Alphanumeric Search String Behavior, solution using %

I'm trying to understand some SOSL behavior. I had an issue where I needed to do a SOSL search using alphanumeric search strings. EX: 'blue1' We found that attempts to search using alphanumeric data ...
-1 votes
1 answer
80 views

Searchability of a field [closed]

I have a text field in the account object and it has the searchable option ticked. But yet when I search using the global search it is not visible. Why is it so?
2 votes
1 answer
2k views

How to add onload event handler on dynamically created iframe component in lightning?

I am dynamically creating and adding an iframe like this - $A.createComponent( 'iframe', { 'aura:id': 'iframe', src: iframeUrl, }, function(createdIframe, ...
0 votes
1 answer
369 views

Custom field searchable [closed]

I have a formula field in the account object and I want to make this field searchable. What should I do? I saw one method where we have to create a workflow rule and a field update for this. Is this ...
0 votes
1 answer
43 views

Search dialog box

Is this search dialog box possible in SF (search trigger by letters, partial name)? Or is there any way to get a scroll box with all the objects on the lookup field
3 votes
0 answers
114 views

Search Roles in salesforce metadata

There are 3 roles which I want to know if it is referred in metadata or not. But my question is using which keyword I need to search the roles ? Currently I am using Role and UserRole keyword to ...
0 votes
2 answers
2k views

Clear custom input text field

i have a custom search bar created using LWC in wich i can write something, but i have 2 problems: 1: I can't figure how to make a clear button that reset what it is inside the input search bar if the ...
0 votes
1 answer
730 views

showing a list of results showed while user is writing something in search box

I'm trying to create a search box where the user write something, and while he do that a listbox with all the matching results appears (like in the figure below) (!! I'm asking only how to show the ...
3 votes
4 answers
6k views

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

we have a requirement where we need to search metadata within Salesforce for some specifc keywords? and also replace them. As an outside tool we can use Eclipse, but how it can be done within ...

1
2 3 4 5 6