Announcements
Hi everyone,
Can I find a contact from phone number? I need something like:
Thanks for reply,
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.
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
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.
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:
Then you can refer the following url:
https://xxx.crm.dynamics.com/api/data/v9.2/contacts?$select=fullname&$filter=mobilephone eq '05456667788'
using logic name of your phone field:
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
André Arnaud de Cal... 291,359 Super User 2024 Season 2
Martin Dráb 230,370 Most Valuable Professional
nmaenpaa 101,156