web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Automatically add an Asterisk to “Quick Find” Search

(0) ShareShare
ReportReport
Posted on by 105

Hi all...

If you or your clients are tired of entering asterisks at the beginning of each search, it's an unsupported workaround to make life easier :

It has been tested on Microsoft CRM 2011 Rollup 8, and it had no side effects...

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

*This post is locked for comments

I have the same question (0)
  • Gus Gonzalez Profile Picture
    27,113 on at

    Thanks for sharing Hamid!

  • G Christenhusz Profile Picture
    5 on at

    Great tip Hamid. Do you anyway to do the same for the Online version of CRM?

  • Suggested answer
    Karth Profile Picture
    on at

    That's a good one Hamid. Deserves a blog article.

    Thanks for sharing.

  • heguangm Profile Picture
    795 on at

    That did not work. I made the change at the server side, and reset IIS.

    No effect on Outlook Plugin and web UI. Even I added an js alert: did not see alert show up so did not work.

    I have CRM 2011, 5.0.9690.3731 (Rollup 16). Did not apply the most recent rollup 17 yet.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans