Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [search]

The tag has no usage guidance.

2
votes
0answers
26 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 ...
0
votes
0answers
21 views

Custom Search within a Ligtning Component on an array of Object [duplicate]

I have a component where I am displaying a list of records querying using APex and displaying data using aura:iteration. I now want to add a search bar so users can search from the aura iteration ...
0
votes
0answers
7 views

Default Refiner on Global Community Search

I am using the Global Search in a Customer Service Community. I would like for the search to return only a certain set of records in a custom object based on a picklist value. Is it possible to set ...
0
votes
2answers
14 views

How to add Search bar in ( tabs plus visual force) communities

I have one tabs plus visualforce community i want to show search bar in the community but i didn't find any configuration or setting. is there any way to enable like sale force classic search bar.
0
votes
0answers
17 views

MemberNumber field in MemberPlan object not searchable

We have installed Health Cloud and there is an object named Member Plan. This object is searchable in setup (like all the standard objects). We created a custom external ID text field in this object, ...
1
vote
1answer
34 views

Related list contacts not displaying in lookup filter in search results

i have created lookup filter in Vehicle object for contact. i want to see related account object contacts in vehicle object driver(contact) lookup field. when i am search related contacts driver ...
1
vote
1answer
23 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 ...
1
vote
1answer
48 views

SOQL query like statement question

I've made a search box in my lightning component to search for specific people in the database. However it seems like my like clause is not working correctly as it returns no guests. I have debugged ...
1
vote
1answer
7 views

Filter results in a Lookup Filter Field's search results

Custom Contact Field "Active" = Data type Checkbox. "Active" is filterable in Contact Search Layouts. If "Active" which is only a checkbox, & is a filter option in the Case>Contact Name>Lookup, ...
0
votes
1answer
27 views

Is there a way to make “Inactive” contacts unselectable in a Search?

Per a different question, we've clarified that there is no way to to make "InActive" contacts, stop appearing in a search. I lieu of that, this question is different but on the same topic. Is there ...
0
votes
1answer
31 views

SOQL is bringing users who are not visible to me

I have implemented a searchable drop-down using jquery and visual force. Whenever I start typing a string it will search the database and bring all the matched users. I am using a jquery to call a ...
0
votes
1answer
33 views

Lookup Searches Only the name field is searched

Is there any work around for "Lookup Searches - Only the name field is searched." when using the Mobile App? The information is taken from here: Search: What’s Different or Not Available in the ...
0
votes
1answer
48 views

External Id - Make unsearchable

I want to make the external Id field to be unsearchable from the global serach or sidebar search. Is it possible? If so how?
0
votes
1answer
36 views

Customize Lookup Field Search Results

I'm having difficulty configuring the Lookup list reference in lighting. For example in the image below I would like to set different fields per each object to make the search results more relevant. ...
1
vote
2answers
74 views

Is the Phone field type ever searchable?

Is the Phone field type ever searchable? Have platform dev questions about searchable fields but have come across conflicting answers. Basically I just want to understand is Phone field type ...
0
votes
0answers
19 views

Is it possible to search Task or Event(activities) with parameterizedSearch REST API?

I'm using this endpoint /vXX.X/parameterizedSearch/?q=search string, it works ok except, it doesn't work for Task and Event. I have this error: errorMsg: "sObject type 'Event' is not supported in ...
0
votes
1answer
17 views

Service Console Component at the top instead of the footer

I have implemented a customized external search component for the Service Console and I added this VisualForce page to the console using the Choose Console Components from the Console itself in Create ...
0
votes
1answer
33 views

how to assert search.query?

I have these lines in my test class: Contact con = new Contact(); con.FirstName = 'test'; con.LastName = 'test'; insert con; List<List<SObject>> toSearch = Search.query('find \...
1
vote
1answer
21 views

Global community peer-to-peer search bar

I inadvertently deleted the global community peer-to-peer search bar off of my community home page.  Now I have a blank rectangle where I want the search bar.  I can't figure out how to get it back.
0
votes
1answer
215 views

SOQL - Query for Last Name of Contacts

I am trying to query for Contacts by Last Name. I understand the error I am receiving, but I am unsure of the cause. I think one of the following might be the potential root causes: Name is of the ...
0
votes
0answers
18 views

Is this possible to get full text search results to find “FDD MatureApp” record using SOSL by search term “App” [duplicate]

To reproduce the problem, on a brand new fresh organization I have created two records insert new List<Account>{ new Account(Name = 'FDD App'), new Account(Name = 'FDD MatureApp') }; ...
1
vote
2answers
31 views

Case Records not returned in Classic or Console Search - Returned in Query Editor

I create a case, it is case number 123456789. If I search for case number 123456789, it is not returned Salesforce Classic search, this includes clicking search all. It is also not returned in the ...
0
votes
0answers
28 views

How to make ParameterizedSearch REST call with option “Limit to items I own”?

I cannot figure out how to make ParameterizedSearch REST call with option "Limit to items I own"? I didn't find such options at https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/...
1
vote
2answers
38 views

How can I make the search results editable?

In Lightning, if I go to Contacts->My Contacts, I can edit the columns of any returned value. But if I do a search, I cannot edit the columns. How can I change this?
1
vote
1answer
311 views

LEX - change lookup field search options

If I create a new object with a lookup field in lightning experience, I can search for / pick the object based on its name field: However, I'd like to be able to search on other fields from directly ...
1
vote
0answers
211 views

Salesforce limitation - SOSL search not returning records through keyword exists in the records

In our org there are more than 5 Millon CaseComment record exists. User will navigate from Account record and opens a page upon a button click. User enters the keyword and it should search on the ...
0
votes
1answer
115 views

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

I can't understand the purpose of putting asterisks before and after the SOSL query below. Is it to cover searches for the wildcards just Jsmith when the user searches smith or smithj when the user ...
3
votes
1answer
69 views

SOSL - URL Encode necessary with Asterisks?

My chief question: does Salesforce's SOSL/Parameterized search accept * wildcard searches? Related q: Does URL encoding a url with search string parameters including asterisk and + characters ...
4
votes
1answer
345 views

<lightning input type=“search”> reset to call a controller?

I using the search type input in a lightning component to do a dynamic search on a given field from a custom object. I've noticed when you click on the "X" to clear the data that came back from the ...
0
votes
1answer
50 views

search based on opportunity product field

I save metadata on each product line item - currently save in the description field. I'm looking for a way to search base on the field value via the global search. Seems like it's not supported Any ...
0
votes
1answer
29 views

Keep records on customer searches

I want to keep track on what a customer searches in my portal. Does Salesforce have a standard object able to implement this requirement?
0
votes
2answers
96 views

SOQL Query - Where Condition

I have below query to search for Existing Contact before creating new Contact in Salesforce. If there is a Contact with matching email and another Contact with matching Phone - results are not ...
-1
votes
1answer
89 views

How to customize search functionality in salesforce community?

My requirement is to display cases of only specific record type in search results on customer community. How can that search result be customized for this requirement.
0
votes
2answers
262 views

SOSL Query to find from entire object and bind to apex block table

I am facing an issue when retrieving results using SOSL Query. My requirement is : When I type some text, pass the text to controller and search entire object with that text and return relevant ...
0
votes
1answer
691 views

How can I dynamically set the focus on a lightning:input? [closed]

So I want to be able to set the focus on a lighting:input searchbar as soon as a tab is clicked, but I can't figure out how to target it. In javascript I could just do document.getElementById("someId")...
1
vote
0answers
26 views

Can we restrict the fields to filter in Products Lookup Dialogs?

Hi, In the above image of lookup dialog window of Products object(Standard), I have to filter the records by using filter by. Here I want only selected fields to be visible in the dropdown but not all ...
1
vote
2answers
5k views

How can I set the width of a lightning:input type=“search” without using pixels?

so I need to use a lightning:input type="search" searchbar, and I also need to put a button to the right of the searchbar on the same line. e.g.: the issue is, the only way I could figure out to get ...
0
votes
1answer
362 views

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

Im strying to write a testclass but im stuc on the following error:Method does not exist or incorrect signature: void size() from the type accSearchController. See my class and testclass public with ...
1
vote
1answer
70 views

Salesforce Apex: Advanced Searching

I am hoping for some help with a conceptual problem on the platform. As a best practice, I try to bulkify all of my logic in a service class to force callers to send a list of parameters. In certain ...
1
vote
2answers
453 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 ...
1
vote
1answer
977 views

SOSL query field limitations

Someone asked me why a SOQL query for a product value on the Case object returned all the records with the product name queried while a SOSL search on the same returned only 1 record. Example using ...
0
votes
0answers
31 views

Custom Button/Search - How can I run javascript with a Salesforce 'Field Merge' to search on-click and return a result in a small popup?

I am trying to create a custom button to return the time based on a lead's ZIP code. The buttons allow for on-click Javascript. Is there any way I can use Google Custom Search to do the following: ...
1
vote
1answer
507 views

Lightning: Change search and lookup dialog box

We are using the Account Hierarchy. Some accounts have 10-15 child accounts. The name of all these accounts is the same, the location (address) CAN be the same, but usually is not. When searching for ...
0
votes
2answers
430 views

Global Search Filter Error: Picklist value does not exist

I have set up a global search filter on a custom object that includes the Record Type field. This allows our users to filter down results by Record Type. However, when choosing one of the Record ...
0
votes
0answers
64 views

Enhance lookup for lead object

I am facing issue with lookup search. When i go to activity history on contact and click on send email button and click on lookup glass. I am getting enhance lookup search. Please see below screen ...
1
vote
2answers
103 views

Indexing software used in salesforce

Which indexing software is used by salesforce to index terms ? Is it lucene, Solr , ElasticSearch or something else ?
1
vote
1answer
31 views

PHP Toolkit Search Multiple Fields

Is it possible to search multiple fields? I am using the query: $search = 'FIND {'.$email.'} IN EMAIL FIELDS RETURNING CONTACT(ID)'; $response = $mySforceConnection->search($search); I would ...
0
votes
0answers
38 views

What can “Search in Files” locate?

I thought "Search in Files" was doing a simple text search in all my Apex files until I saw the following. The following string was found "sl.ScholarProg.Cluster_Assigned__c" but the following ...
0
votes
1answer
311 views

Custom Search on Community Pages?

Has anyone built a custom search lightning component that searches Community Pages as well as other things? I have created something that can query Salesforce objects, but I also want to be able to ...
3
votes
1answer
704 views

Search Result missing from search layouts

In my sandbox, I've made some edits to the search result search layout in lightning for a custom object. In another org, which is a production org, I'm trying to make those same changes, but there ...