Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

Questions tagged [search]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
22
votes
1answer
419 views

Records not being indexed or found with global search

I've come across an issue where Salesforce doesn't seem to be indexing records in a custom object that are created through the REST API. When searching for a record name or external ID no results are ...
13
votes
3answers
25k 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 ...
8
votes
4answers
1k views

Simplest way to search in Related List

Question in short: What is the simplest way to add a search box in the related List View (not the related in layout). Question extended: I was asked to add a filter/search input in the related list ...
7
votes
1answer
515 views

How to search through global methods of managed packages?

You can see global methods in the managed package classes via Web UI. I have hundreds of managed package API classes that I need to search through by a keyword, to find a method that does what I need ...
7
votes
3answers
724 views

How to search for a long list of arguments

We have reports to search all cases that contain certain serial numbers (strings) in a custom text area field that can contain a comma-separated list of serial numbers. Additionally, serial numbers ...
6
votes
2answers
347 views

Search By Data Category

We have implemented the Napili template for our Customer Community. We have many articles with associated categories, and have added Category/Product Tiles to the main page. You can click a tile and ...
6
votes
1answer
967 views

Is Lookup Auto-Completion really restricted to recent items?

We are using the Salesforce search setting "Lookup Auto-Completion" which provides auto-completed options as-you-type in lookup filters on your visual force pages. The suggested results that pop-up ...
5
votes
1answer
484 views

What is the max length of a SOSL search expression?

My SOSL query with an extremely long search expression failed with System.UnexpectedException: Search Term exceeded max length Searching the Documentation I could not find anything about a max ...
5
votes
3answers
2k views

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

We do not understand why we facing with this problem. Full Search.settings: <?xml version="1.0" encoding="UTF-8"?> <SearchSettings xmlns="http://soap.sforce.com/2006/04/metadata"> &...
5
votes
1answer
627 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 ...
4
votes
2answers
947 views

Is there a search feature in MavensMate?

I have started using Mavensmate along with Sublime last week and I am missing the search feature. I am referring to the search for Apex code and not the "Find" feature which already exists? So I did ...
4
votes
1answer
848 views

Auto Search Textbox with comma separator in visualforce (mutliselect autocomplete)

I want to create a auto search textbox in visualforce. There are many blogs about this scenario is available. But how to make that textbox to search multiple values like after selecting a value from ...
4
votes
1answer
275 views

<enableEnhancedLookup>false</enableEnhancedLookup> on some environments

Some developers when syncing with their server have this xml in the custom object, others have nothing (not true, just no tag). Anyone know what causes this. When we go to: Customize | Search | ...
4
votes
0answers
278 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 ...
4
votes
0answers
25 views

Developer Salesforce docs doesn't seem to be indexed by Google/Bing? [duplicate]

Did anyone else noticed that it's almost impossible to search anything on developer docs through google recently. Previously search like this: "salesforce schema get describe" would return https://...
4
votes
1answer
805 views

How to hide Salesforce standard search bar and bar tab on top in Lightning experience

I am trying to hide Salesforce standard search from custom Vf page in Classic and Lightning experience. By using below, i can able to hide in classic view but not in lightning experience. apex:page ...
4
votes
1answer
264 views

Salesforce search engine vs SOSL

Below is my SOSL query - FIND {searchString} IN ALL FIELDS RETURNING Account(Id,Account_Number__c, RecordType.Name,Name LIMIT 16) 1) When I put searchString = '42430' in sosl query Query 1: ...
3
votes
2answers
6k views

Restrict Access to certain objects from Global Search

I want to be able to restrict access to some of the objects from the global search. Is this possible?
3
votes
4answers
4k views

Hide global search

I need to hide global search under Manage Communities --> Edit --> Click on Tabs and Pages -->Select standard salesforce tabs --> select chatter tab..When i did this and when i change from Internal to ...
3
votes
2answers
869 views

Using wildcard in migration tool package xml

I know how to use tags for one object example: "Account_History__c". But I am looking for a way to select all objects that start with a specific pattern. In our org we prefix all objects with the ...
3
votes
1answer
1k 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 ...
3
votes
3answers
358 views

How do I search all notes for a particular contact

Here's the problem I need to solve. Let's say I have added 'Tesco' as a contact in my SalesForce. Over the years I have added hundreds and hundreds of notes detailing my correspondence with them (...
3
votes
1answer
7k views

Customizing Global Search

I am trying to figure out the best way to customize global search. There is a need for a rep to be able to quickly search for an account. Right now, with Global search enabled, the rep must type the ...
3
votes
1answer
128 views

Bot, I assume, are making searches on my Public Knowledge Base. Can I stop them?

I run support.telect.com. We use the Public Knowledge Base app. As part of this, from a report, we can see what terms people search, and then if they don't find anything we can create results articles ...
3
votes
2answers
532 views

How to get a list of sidebar fields programmatically?

Is there a way to programmatically determine which fields of an object are searched during sidebar search? Also, for custom objects, how does Salesforce decide which fields should be searched?
3
votes
1answer
289 views

Searching “everything” in Salesforce

I don't see a similar Question here or via Google searches. Is there a way (I would presume it would be outside the SF GUI) to search "everything" in SF? That would translate into all object field ...
3
votes
2answers
741 views

replicate salesforce alphabetic sorting feature on list views

Has anyone ever tried to replicate the alphabet sorting functionality you see in the list views? Any ideas on how to achieve this?
3
votes
1answer
85 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 ...
3
votes
1answer
427 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 { ...
3
votes
2answers
2k views

Wrapper class Fetching all the Values

By using search function i need to fetch parent record and child record, the search function is happening in child record. Search function is fine But it is showing all child records in parent. this ...
3
votes
1answer
48 views

Salesforce api.status.salesforce.com returns no data

I have registered a custom domain (My Domain) in my Enterprise Edition Org and I am able to successfully login through the custom domain url. Custom Domain: mobilecustomdomain URL: https://...
3
votes
2answers
2k views

Napili community lightning component custom header with search bar

I developed a lightning component using Bootstrap for a custom header for my self-service community. I have been able to include Global Search via <form action="/<community name>/search/...
3
votes
1answer
962 views

searchAndScreenPop() search only against phone fields

The function searchAndScreenPop() of the OpenCti Api searches for a given string in all records specified in the SoftPhone layout and returns the search results as a Json string. Unfortunately, the ...
3
votes
0answers
72 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 ...
2
votes
2answers
1k views

Can't search all contact fields

I am an administrator with the Nonprofit CRM version of Salesforce I am trying to make a contact database for people who have volunteered at the organization Reservoir Hill Improvement Council (RHIC). ...
2
votes
3answers
2k 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 ...
2
votes
1answer
5k views

How to search on object lookup on custom field

I have a lookup field that displays the standard "name" field (renamed to Service ID) of a lookup object. However, this "Service ID" field stores the autonumberID of the object record and is not ...
2
votes
2answers
57 views

Advance search in Visual Force

I need to implement advance search (smart search) in my VF page. I will have a search input field, once i start entering values in the field it should query the values in the DB accordingly and ...
2
votes
1answer
307 views

How to do searching from 10 million records [closed]

There is an object and it has approximately 10 million record and i want to apply searching in VF page can any one tell me how to do that without reaching the governor limits. Any idea or some code ...
2
votes
1answer
41 views

SOSL not returning all expected results

I'm trying to SOSL search a custom object we have, by a phone number field but the results are not working as I'd expect. The issue seems to be around missing characters at the start of the search ...
2
votes
1answer
138 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....
2
votes
2answers
642 views

Visualforce Search Page - SOQL Results Pagination [closed]

I've been building a VF search page and have run into a slight issue. I want to add pagination so that I can return all of my results and allow users to go through the results at 20 records a page. ...
2
votes
1answer
53 views

I have a free app that I would like to place on the Appexchange. What steps are necessary to move forward

I would like to place my app on the Appexchange. My app is free. What do I do?
2
votes
1answer
4k views

How to filter the search in Salesforce global search for displaying data of the field in an object

Can we filter the search to show the results of only one field in the particular object in salesforce global search ? Thanks
2
votes
1answer
37 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 ...
2
votes
4answers
1k views

Unable to Search a related record in Global Search

Scenario: When I search for Opportunity with Opportunity name in Global Search, it should popup Project record also as a result. Relationship b/w object Opportunity has a one to many relationship ...
2
votes
1answer
51 views

Has phone normalization logic changed recently (November'15)?

The thing is that previously we were able to find contact, for instance, via searchAndScreenPop, with phone number slightly different from one that is actually used in search query. For example, ...
2
votes
1answer
216 views

SOQL Query to lookup field dependency?

A change needs to be done to this attribute/field Global Account Flag_c. In order to do so, I want to lookup dependency of this field Global Account Flag_c in all the objects present in our Salesforce ...
2
votes
1answer
185 views

Showing matching keyword sentences from SOSL/SOQL results

We have a requirement to search in large text area field (for e.g. Description). We are using SOSL for the same. While showing results on the VF page we want to only few sentence from Description ...
2
votes
1answer
334 views

Field level security and UI search / API search

I have noticed that if I use field level security to hide a field for a custom profile, a user in the profile can still global search for text in that field and the record will appear in the results, ...