SharePoint BCS profile form and the dreaded Minimal Download Strategy
SharePoint Version: SharePoint 2013 Enterprise, (October 2013 CU)
Came across a nice little nugget from SharePoint 2013 recently. I had to create a BCS connection to external data in a SQL Azure database. Got the BCS connection working (eventually).
When I created the external list in a team site, I could see the list items ok, but when I clicked to open one by selecting View Profile, I would get the lovely:
But that’s ok, because we have a correlation ID we can trace in the logs. The Correlation ID is
00000000-0000-0000-0000-000000000000. Try finding that in the logs.
After much messing around with the BCS (obviously thinking that the issue is in the profile form), it turns out it had nothing to do with BCS. It was actually the feature Minimal Download Strategy.
Disable this feature, and the profile form works fine.
This is not the first time this (unbelievably poorly implemented) feature has bitten me. It is now our standard practice to disable this for every site. How sad is that.