1

For example, I have an entity with field "description". In the settings of this entity in "Add Find Columns" I checked field "description". "description" has follow text: "some words about entity". when I type in Quick Find field text "some words" I get my entity, but when I type text "about entity" I get nothing. This looks like search engine try to find entity with field "description" which BEGINS WITH "some words", but doesn't try to find which CONTAINS typed text. How can I fix that?

anykey3
  • 273
  • 5
  • 20

2 Answers2

3

Try adding a * before and after the search phrase.

So search for: *about entity*

The * acts as a wildcard for any number of characters.

Jason Lattimer
  • 2,858
  • 15
  • 14
-1

I have found an answer.

  1. Go to the following path and find "stage.js" file "C:\Program Files\Microsoft Dynamics CRM\CRMWeb_static_common\scripts\"

  2. Create a backup copy of this file before any modification, so that you have the original copy too

  3. Open "stage.js" in a text editor such as EmEditor

  4. Find the following line of code: sFindCriteria=Trim(findCriteria.value.replace(/[*]+/,"*"));findCriteria.value=sFindCriteria;

  5. Now change it to : sFindCriteria=Trim(findCriteria.value.replace(/[*]+/,""));if (sFindCriteria != "" && sFindCriteria.substr(0, 1) != "") sFindCriteria = "*" + sFindCriteria;findCriteria.value=sFindCriteria;

  6. Save the file and try Quick Find to see the change

Dot_NET Pro
  • 2,095
  • 2
  • 21
  • 38
  • Unsupported approach. Bad practice and not recommended. Can be broken during of installation of UR and so on. Good and supported way to write plugin that will handle RetrieveMultiple message. – Andrew Butenko Feb 18 '14 at 11:15
  • 1
    @AndriiButenko It is working fine with RU-14. I cannot find a single way and you are telling about supported way. Post the supported way if you have any – Dot_NET Pro Feb 18 '14 at 11:18
  • Try to implement this approach with CRM Online and you will understand what I've meant. Supported way as I wrote - plugin that will handle RetrieveMultiple message, analyze it and replace conditions with required. I don't have source code for it now but I've done such kind of customization 2 years ago. – Andrew Butenko Feb 18 '14 at 11:26
  • @AndriiButenko My problem is On-premise so take care buddy – Dot_NET Pro Feb 18 '14 at 11:28
  • 1
    You recommend this solution to other person. I want this person know about possible issues. So take care buddy. – Andrew Butenko Feb 18 '14 at 11:41