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 365 | Integration, Dataverse...
Suggested answer

Can I filter contacts with phone number on URL?

(0) ShareShare
ReportReport
Posted on by 50
I have the same question (0)
  • Suggested answer
    Community Member Profile Picture
    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
    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
    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

Quick Links

Responsible AI policies

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

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Sahan Hasitha Profile Picture

Sahan Hasitha 394

#2
Nimsara Jayathilaka. Profile Picture

Nimsara Jayathilaka. 123

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 106 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans