Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Ajit 2 posts 72 karma points
    Jun 30, 2016 @ 07:37
    Ajit
    0

    Umbraco and MS dynamic CRM Connectivity

    Hi , I am new Umbraco. and looking for connectivity between Umbraco and MS dynamic CRM. if any one have any kind of link or input please let me know Thanks

  • Urvish 252 posts 776 karma points
    Jun 30, 2016 @ 10:32
    Urvish
    0

    Hi Ajit,

    There is no default connectivity provided by Umbraco for this.

    You need to find some package which can do this kind of thing or else you need to make you own code that connect to the CRM.

    Below is the link which may help you.

    https://www.youtube.com/watch?v=ubF8UPYEop0

    Regards, Urvish Mandaliya

  • Ajit 2 posts 72 karma points
    Jun 30, 2016 @ 11:47
    Ajit
    0

    Hi Urvish,

    Thanks for your reply

    But that link package or software is paid version. I am trying connect with CRM through coding but getting some references error. if u have any more input please let me know

    Thanks

  • Urvish 252 posts 776 karma points
    Jul 08, 2016 @ 06:18
    Urvish
    0

    Hi Ajit,

    Sorry for the late reply. I was busy with urgent tasks so i didnt checked.

    Long time ago we had integrated Ms Dynamic CRM in one website which was posting the form data to the crm and saved there.

    Below is the code we have used. It is simple service call of CRM.

                        var request = (HttpWebRequest)WebRequest.Create(crmUrl);
    
                        var postData = "CompanyId=xyz";
                        postData += "&ApiKey=" + crmapikey;
                        postData += "&Name=" + name;
                        postData += "&Email=" + email;
    
                        var data = Encoding.ASCII.GetBytes(postData);
    
                        request.Method = "POST";
                        request.ContentType = "application/x-www-form-urlencoded";
                        request.ContentLength = data.Length;
    
                        using (var stream = request.GetRequestStream())
                        {
                            stream.Write(data, 0, data.Length);
                        }
    
                        var response = (HttpWebResponse)request.GetResponse();
    
                        var responseString = new StreamReader(response.GetResponseStream(), Encoding.Default).ReadToEnd();
    

    I don't know its working or not but i find that from the old backups.

    Hope it will help to resolve the issue.

    Regards,

    Urvish Mandaliya

Please Sign in or register to post replies

Write your reply to:

Draft