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)

Get data from Dynamics CRM Calendar to SharePoint

(0) ShareShare
ReportReport
Posted on by

Hi,

I need to retrieve data from some items in a calendar from Dynamics CRM 2015 so I can develop an events webpart in SharePoint 2016.

I was thinking developing the "Next Events" webpart in some content Editor Webpart in SharePoint 2016 making use of javascript, html and css. But the question here is: how can I get items with a specific query from a calendar that is situated in Dynamics CRM 2015.

How can I do that?

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Justinjose Profile Picture
    2,707 on at

    Hi Test Me 4 Real,

    You can create an ASP.Net Web Api which connect to CRM and get data from CRM by making request to Web API.

    Thanks

    Justin Jose

  • Community Member Profile Picture
    on at

    Hi Justin,

    can you be a little bit more specific? Can you give me an example code?

    I understood that i'll have to make requests to get the info, how do I make them? and how do I retrieve the data from them?

  • Suggested answer
    Justinjose Profile Picture
    2,707 on at

    Hi Test Me 4 Real,

     

    You have to create MVC web api (WCF). See below samples. First one is How to create a Web API and Second one related MVC CRM application. You have implement the Web API login into the MVC CRM  applicaiton.  So you can make a request to CRM from Web Api some thing like this  - https://mywebsite.com/api/crmaccount/id

    Build RESTful APIs with ASP.NET Web API

    https://docs.microsoft.com/en-us/aspnet/web-api/overview/older-versions/build-restful-apis-with-aspnet-web-api

    www.tutorialspoint.com/.../asp.net_mvc_web_api.htm

    Connecting ASP.NET MVC Application to Dynamics CRM

    http://scaleablesolutions.com/connecting-asp-net-mvc-application-to-dynamic-crm/

    Thanks 

    Justin Jose

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