Skip to main content

Notifications

Announcements

No record found.

Customer Service forum

How to generate dynamics 365 URL for contact search and open in other web browser

(0) ShareShare
ReportReport
Posted on by 70
From third party application, contact search should directly open up the dynamics URL and should show the results in a web browser.
Categories:
  • Narayana Swamy S Profile Picture
    Narayana Swamy S 70 on at
    RE: How to generate dynamics 365 URL for contact search and open in other web browser

    Thank you so much Andrew.

  • Suggested answer
    AndrewLy365lyf Profile Picture
    AndrewLy365lyf 1,356 Most Valuable Professional on at
    RE: How to generate dynamics 365 URL for contact search and open in other web browser

    You'll need to write some level of integration it seems.

    Using a fetch statement similar to :

    <fetch top="50" >
      <entity name="contact" >
        <attribute name="firstname" />
        <filter>
          <condition attribute="firstname" operator="eq" value="Jim" />
        </filter>
      </entity>
    </fetch>


    Where firstname can be replaced with your search criteria.

    If you enter this oData url into your iframe you will be presented with your results:

    yourorg.api.crm.dynamics.com/.../ContactSet$top=50&$select=FirstName&$filter=FirstName eq 'Jim'

    At that point, you will want to format the output to make it more pleasing to the eye.

  • Narayana Swamy S Profile Picture
    Narayana Swamy S 70 on at
    RE: How to generate dynamics 365 URL for contact search and open in other web browser

    Thanks Andrew for your valuable solutions.

    We have a web application and user enters a contact number and search for contact records in dynamics 365 application and would like to show the matched contact records in the web application inside iframe and add activities related contact within iframe.

  • Suggested answer
    AndrewLy365lyf Profile Picture
    AndrewLy365lyf 1,356 Most Valuable Professional on at
    RE: How to generate dynamics 365 URL for contact search and open in other web browser

    Couple of ways you can do this Narayana.  You can construct a fetchxml query from your third party application and retrieve all Contacts (see Settings > Customizations > Developer Resources).

    Or the quick way would be to leverage an existing view and embed as an iframe into your third party app.  Goto Sales > Contacts, click on Active Contacts view, Click the drop down next to "email a link" click on "Of this Current View".  The drawback is that you maintain the top navigation bar doing it this way.

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,503 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans