anusha(salesforce developer)

Monday 22 August 2016

Salesforce Searchable Field and search on Custom Object and Chatter in salesforce

Salesforce Searchable Field:
As Salesforce admin, sometimes we confuse when user come to us and ask, why the record not return in search result when I search Phone Number or Email or a custom picklist field.

Here is the guide on searchable field types in using Salesforce global search:

  • All custom auto-number fields and custom fields that are set as an external ID field (you don't need to enter leading zeros.)
  • All custom fields type: email and phone
  • All custom fields type: text, text area, long text area, and rich text area
You see that FORMULA field is not searchable, it make sense because formula field is not stored in database.

When user search for a value, for records contained that value, global search result will include those records, even field contained for the search value is exist in a field that are not visible for that user, because of field-level securitysetting. Ideally, if user cannot see the value on that field, it should be not search-able for that particular user, vote for this Idea, currently it have only 160 point (9/9/15).


Search on Custom Object and Chatter in salesforce:

Salesforce will keeps track of which objects you use and how often you use them, and arranges the search results accordingly. Objects you use most frequent will appear at the top of the list. If you do not see the object, click Search Allat bottom.


Options
After you search something in Salesforce, you will see Options in search result page. From here, you can restrict search result only to records you owned.

Keywords
Salesforce search is case-insensitive for the whole data.

Wildcards and Operators
You can use the * (asterisk) and ? (question mark) wildcards to refine results. Use * to match one or more characters, or ? to match a single character. For example, searching for bob jo* finds items with Bob Jones and Bob Johnson, and searching for jo?n finds items with john and joan. You can also use the AND, OR, AND NOT, ( ) (parentheses), and " " (quotation marks) operators to refine results.
Sample: johan AND (singapore OR Indonesia); please note: operator support is case-insensitive.
See salesforce documentation on Operators for more information.


But, my search result still do not shown records from a custom object. Why? This is usually happened because administrator do not create tab for that object. That is why Salesforce search function will not search custom objects if the objects don't have tab. For more info related to this, read this blog Global Search Result on Custom Object.


Chatter search
If your company have Chatter enabled, Global search also returns Chatter feed result. From above screenshot, click "Search Feeds" link. This results include all relevant public posts, including posts from people you are not following andfrom public groups you are not a member of. In other words, Global search return more feed information than when you search and individual feed (Chatter home feed, record feed, group feed).

To search only from a particular feed, use the "Search in Feed" magnifying glass, if you type more than 1 word, it will search words appear together, as well as they appear separately.

Chatter Feed in Home tab

Feed in Chatter tab

Another way to search in Chatter using Topic, it will show all post or comment tagged with a topic, even from people you are not following, or group you are not a member of.  You also can follow the topic, so when someone use that topic, it will appear in your feed.

Bookmark is another way to follow a post, so you can easily looks for that post interested you from Chatter Bookmarked link.



No comments:

Post a Comment