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

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Quick Find phone number search

(0) ShareShare
ReportReport
Posted on by

I'm having trouble finding a fix for what I'm trying to accomplish. I have added javascript to the phone number field to format the phone number to (xxx) xxx-xxxx but when users use quick find I want them to be able to type xxxxxxxxxx and have the lead come up. I don't want to use wildcards because it would be the same as typing the parentheses and dashes. Any suggestions.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    MihirShah Profile Picture
    4,036 on at
    RE: Quick Find phone number search

    Hi,

    You can create another field which will copy and store the Phone # in the format xxxxxxxxxx and enable quick find on it.

    So when a user searches the record will show.

    Mihir

  • Community Member Profile Picture
    on at
    RE: Quick Find phone number search

    I tried copying the field but it copies in the (xxx) xxx-xxxx format and can't get it revert back to xxxxxxxxxx even with javascript. How would you suggest I copy the field?

  • Suggested answer
    MihirShah Profile Picture
    4,036 on at
    RE: Quick Find phone number search

    Create a new text only field.

    Write a JS to copy the data to the text only field without formatting.

    Or

    a workflow to copy the data before it does formatting from the original phone field to new text field.

    Mihir

  • Community Member Profile Picture
    on at
    RE: Quick Find phone number search

    What would the JS be to copy from text field "mobilephone" to "new_primaryphonesearch" ?

    I tried a workflow to copy the field but it happens after the the format changes. Thank you for your help.

  • Verified answer
    Nithya Gopinath Profile Picture
    17,078 on at
    RE: Quick Find phone number search

    Hi Brad,

    Please try the following JS code.

    var mobilephone = Xrm.Page.getAttribute("mobilephone").getValue();
    mobilephone = mobilephone.replace(/\D+/g, "");
    Xrm.Page.getAttribute("new_primaryphonesearch").setValue(mobilephone);

    Hope this helps.

  • Community Member Profile Picture
    on at
    RE: Quick Find phone number search

    Hello Brad,

    A CTI solution such as Tenfold not only will allow integration between Asterisk and your CRM but also allow users to have features like call pop up which shows the details of the customer regardless if it's an incoming or outgoing call as long as there's a match from your CRM record; and a click to dial features which turns any found phone numbers (web, spreadsheets, etc) and make them click to dial. They support MS Dynamics integration. You can check out the integrations list for Tenfold here www.tenfold.com/.../dynamics

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…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Community Member Profile Picture

Community Member 2

#1
UllrSki Profile Picture

UllrSki 2

#3
SC-08081331-0 Profile Picture

SC-08081331-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans