Stack Exchange Network

Stack Exchange network consists of 175 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
1answer
33 views

Salesforce searching capability

We're trying to provide a search interface in lightning community, where user can search Accounts and Contacts. No of Accounts and Contacts are in range of 2-4 millions in our Org. Currently, what we ...
0
votes
0answers
8 views

Search in static pages in community

We have a community with many static pages which are created using community builder with a rich text content editor. The content of this static page is created using this rich text content editor. ...
0
votes
1answer
26 views

ActionFunction is loosing letters when making a dynamic search

I have a search input which every character that printed on the keyboard will show the closest result, using actionFunction. for example : If I printed "uni" all accounts that they names include the ...
0
votes
0answers
8 views

Filter/Search Chatter from User X to Me?

Is there a way to list down (view) all chatter that is from a specific User (say X) to me? Currently, I can only do "To Me" but can't sub-filter that list to show a specific User's post to me. ...
1
vote
1answer
50 views

Searching for records in list view when more than 2000 rows

I have a custom object that has more than 2000 records. I have a custom field, id__c, that is a number that is searchable. The records I have in there have id__c's ranging from 1 to 3000. I am ...
0
votes
0answers
18 views

Searching email templates

I am needing to find a way to find all email templates in my org that havent been used in the last X amount of time (not sure on exact date or # of months yet). Is there a way i can either just use a ...
0
votes
0answers
21 views

Global Search is able to find the records while advanced search is returning zero records- Is this Salesforce Bug

I have looking for account using account number field which is unique in each account. Global Search is able to find the record while advance search is saying no record. Is this salesforce bug or any ...
0
votes
1answer
17 views

Object Searching best practice - between environments

I wonder what should be the recommended best practice regarding object searching. I have noticed that in case I have more than 1 Salesforce environment (I.E Production & Sandbox) all the objects ...
2
votes
0answers
64 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
25 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
8 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
19 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
62 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
29 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
69 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
8 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
35 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
38 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
68 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
43 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
115 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
21 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
21 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
41 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
26 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
317 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
32 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
43 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
441 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 ...
2
votes
0answers
311 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
138 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
73 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
424 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
56 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
108 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
92 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
1answer
907 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
28 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
6k 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
422 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
82 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
502 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
1k 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 ...
1
vote
1answer
572 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
490 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 ...