Skip to main content

Notifications

Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Can I filter contacts with phone number on URL?

(0) ShareShare
ReportReport
Posted on by 50
  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Can I filter contacts with phone number on URL?

    Hi Efnan,

    If you want to open the contact form through URL, you need get the guid of the contact.

    Based on the URL contains phone number, you can get some details about the contact, include contact id.

    pastedimage1659345600767v1.png

    Then you need use the following url to open the contact form:

    https://xxx.crm.dynamics.com/main.aspx?appid=APPID&pagetype=entityrecord&etn=contact&id=33b5b3f2-56e2-ec11-bb3d-0022480c5f41

  • Efnan Profile Picture
    Efnan 50 on at
    RE: Can I filter contacts with phone number on URL?

    Thank you Leah.

    Your answer is informative for me but not enough. Maybe I couldn't understand exactly you.

    I can reach the contact id with your solution but I need a URL contains phone number parameter and that open the contact form.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Can I filter contacts with phone number on URL?

    Hi Efnan,

    First, find the Web Api URL. You can get this by going to your org and going to Settings->Customizations->Developer Resources. It is under Service Root URL:

    pastedimage1659090145179v3.png

    Then you can refer the following url:

    https://xxx.crm.dynamics.com/api/data/v9.2/contacts?$select=fullname&$filter=mobilephone eq '05456667788'

    pastedimage1659089891581v1.png

    using logic name of your phone field:

    pastedimage1659090090601v2.png

    And you can reger following links for more details:

    Dynamics 365 Web API Retrieve, Select, Filter, Order By and Top - Carl de Souza

    Query data using the Web API (Microsoft Dataverse) - Power Apps | Microsoft Docs

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

News and Announcements

Announcing Category Subscriptions!

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,359 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,370 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans