Follow Us:
There is something to be said for simplicity. When writing custom web application for CRM you can get fancy with Infragistics or Telerik controls and do all kinds of interesting and fun things. There are situations where using third party controls is certainly warranted. In the past I've always leaned towards using third party controls because they can make my life easier. I like being able to just throw a grid on a web form and update a few properties and have most of the work for display of data taken care of for me. As of late I have seen the value of bare bones custom web applications for CRM. As always it just depends on what you are doing and what you need to accomplish as to the need for the overhead of third party controls. But if possible it can be better to try and use vanilla HTML, JavaScript and CSS to accomplish your goal.
Hey Stephan, I have tried this method and CRM still prevents the data model from being returned when using MVC and Knockout.js. When I make a JSON call it returns an empty object, however if I put in it's own web site it works great and returns that data expected. Any ideas why MVC would do this? Thanks Much ML
Upon further study, After much work and continued research we found the culprit to our issue. There is an ISAPI filter in the CRM web site in our environments called crm.default.addon this filter adds a "/default.aspx" to the end of any url that doesn't have an extension at the end. Thus when we would call to a service the parameter to lookup would always have a /default.aspx which is never found and returns an empty data object. Two way's around that I've tested and are equally effective(but I'm sure the are others):1) remove the ISAPI filter - removing the filter allows MVC url based method calls work without any issues.2) filter off the "/default.aspx" with the .split('/')[0] method and get the parameter that should be looked up. Method one was only cursorily tested, so other issue may arise from removal of the filter in CRM, I can't say for sure. Method 2 is what we're using in production until Microsoft has weighed in on removing the filter and it as been thoroughly tested by our QA. Hope this helps others ML
The complementary paper includes over 12 years of research, recent survey results, and CRM turnaround success stories.
Request Download
This 60-second assessment is designed to evaluate your organization's collaboration readiness.
Learn how you rank compared to organizations typically in years 1 to 5 of implementation - and which areas to focus on to improve.
This is a sandbox solution which can be activated per site collection to allow you to easily collect feedback from users into a custom Feedback list.
Whether you are upgrading to SharePoint Online, 2010, 2013 or the latest 2016, this checklist contains everything you need to know for a successful transition.