How to open CRM record from ASP.NET MVC application RRS feed

  • Question

  • Hello,

    I started working in new project. There is a mvc application with wizard that retriving data form web service, and then create account record in CRM (using OrganizationService)

    I need to extend this mvc web application.  Now when record is created, user see message that record was created. Is it possible to open newly created record? Is there a common method for CRM 2011 and CRM 2013? Because I need support both  CRM 2011 and 2013 Also I need server-side solution. 

    Thanks for help

    Monday, December 8, 2014 10:27 AM


All replies

  • use a service.Retrieve or a service.RetrieveMultiple to get the data and after show the results inside your mvc application

    My blog: www.crmanswers.net - Rockstar 365 Profile

    Monday, December 8, 2014 10:42 AM
  • Thanks for answer :)

    My question maybe wasn't precise enough, but I`am newbie in CRM. I need to redirect to CRM custom form that displaying this record. Because also exists CRM solution with custom form, that displaying this newly created account record

    Monday, December 8, 2014 10:54 AM
  • if the user has the rights to open CRM you can redirect him building an url (check this msdn article for the structure http://msdn.microsoft.com/en-gb/library/gg328483.aspx), but if the MVC application users don't have the right to open CRM, you need to build a custom page to display the data, CRM doesn't provide an OOTB functionality to expose a form outside CRM.

    My blog: www.crmanswers.net - Rockstar 365 Profile

    • Marked as answer by Waldek Bira Monday, December 8, 2014 11:01 AM
    Monday, December 8, 2014 11:00 AM