This post is for those of you that are starting to build custom web pages for integration with CRM. I spent a bit of time trying to figure out why one of my pages ran very well outside of CRM, but when I ran it under the CRM service it started acting very strange. At first I thought it might be due to the ajax that I had on the page, which it wasn't, but that reminds me to tell you that if you use ajax, or other script on the page, you need to set the property to allow scripts to run when you setup the iframe in crm to run the page in. Anyway, my flakey page problem was very simple, even though it took me a while to find it. The CRM site was not configured for ViewState. I enabled the view state at the page level on my page and all is good again. :)
Comments