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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Dynamics and importing data from external data sources (mysql/rest api)

(0) ShareShare
ReportReport
Posted on by

Good afternoon,

We are a small company with a custom built mysql database backend which is integrated into a variety of custom build webservices. The boss decided we needed to setup a call centre before next years intake, and is heavily leaning to a company which will provide us with a CTI system using Cloud Dynamics CRM. This company's primary experience is in stand alone Dynamics installs, so I have a few questions about workflow and external data sources.

As I understand it, when an email/telephone call is made, the CTI pings the dynamics server and tells it there's incoming information. Then it fetches the CRM record (where it matches the telephone number or email) from the DB and loads the contact information for that customer. If there is no match found, it creates a new record, or lets you select from the variety of matches found.

Our external company is telling us we need to setup automated sync scripts to dump our customer database into the CRM, but that the CRM can save information directly back to ours via a rest api (which I will have to build. nothing new here). Is it not possible for the CRM to query an external data source at the same time it queries it's own DB so we can avoid having to dump the database nightly, and so that new contacts created in the DB can be linked correctly without creating a double entry (id speaking) in both the mysql and dynamics db?

I would really love to read more about this type of implementation, but I'm having a hard time finding decent links dealing with this issue.

*This post is locked for comments

I have the same question (0)
  • Turlapati Vishnu Nandan Profile Picture
    336 on at

    Hi There,

    Certainly it is possible to dump the CRM information into other DB and also query the data internally. You can leverage the CRM webservices for querying the data internally and for pushing the data externally you might have to see a common platform which will do the synchronization. For example if mysql accepts XML format of data it will be accordingly pushed to MySQL database.

    For querying inside the CRM please use the webservices: Navigate to Settings -- Customizations -- Developer Resources. You can see the different webservices. For querying data inside CRM you can use the below link:

    msdn.microsoft.com/.../mt608128.aspx

    For connecting to MySQL once you get the data in a right format which is accepted by MySQL from CRM you can push it accordingly.

    Let me know if you have any further queries.

    Thanks,

    Vishnu

  • Community Member Profile Picture
    on at

    The link you provided is for accessing the CRM DB from an external application.

    What I am trying to do is use the CRM interface to access an external database for lookup, and then populate the local database with that information, and finally when saving the record push the data back to the external database.

  • Turlapati Vishnu Nandan Profile Picture
    336 on at

    If you want to first access from CRM you can achieve by the following ways:

    1) Add a button on top of the CRM form. On click of the button trigger the event for capturing and updating information into the MYSQL database. This can be done by JQuery or C# .Net external ASP.Net application call.

    Please use the below link for more information of adding the button:

    msdn.microsoft.com/.../gg309639.aspx

    2) Second way is to have a plugin created which would be triggered based on some record create/update/delete/associate/disassociate events. This plugin would in turn trigger the MySQL database and fetch the records. Eventually once you get the data you will be updating the data back to CRM.

    Let me know if it helps.

  • Elijah Stownton Profile Picture
    192 on at

    You can use the Skyvia cloud data integration platform to connect Dynamics and MySQL with no coding. It is freemium

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans