anykey3
anykey3

Reputation: 273

MS Dynamics CRM Quick Find

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?

Upvotes: 1

Views: 942

Answers (2)

Dot_NET Pro
Dot_NET Pro

Reputation: 2123

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

Upvotes: -1

Jason Lattimer
Jason Lattimer

Reputation: 2848

Try adding a * before and after the search phrase.

So search for: *about entity*

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

Upvotes: 3

Related Questions