Monday, January 19, 2015

Scenario: You have a SharePoint 2013 list and have just created a custom New/Edit/Display form and you want to connect a couple of webparts together but SharePoint is reporting a "No Provider Schema" error. Ok, what is that? How do I fix it? You spend several hours searching for an answer, most of which do not apply or are useless. Finally you stumble upon this post. I hope it helps.

I compared an out of the box form with connected webparts with a custom form to see the difference. I noticed two lines of code encapsulating the webpart connections so I decided to copy just those lines (omitting the connections since they will not apply on the custom form) and pasted them into the new form, inside the table and just before SPDataSource if you have one. Example below. Code in question is highlighted.