Content Type Update Issue in SharePoint 2016 - Hilary Stoupa
in

InfoPath Dev

Hilary Stoupa

Content Type Update Issue in SharePoint 2016

We saw an issue recently updating a content type in a SharePoint 2016 subsite. The error InfoPath returned on publish was "InfoPath has encountered an error. The operation failed. The parameter is incorrect."

Error Dialog 

Using Fiddler while attempting to publish, we noticed that not all content types were being returned from the library where they were stored when InfoPath queried for them. Turns out the view item limit was restricting the number of items returned to the query, so the content type we were trying to update wasn't being found:

Fiddler Screenshot with Item Count parameter 

Changing the default view for the library with the content type templates to include all items (i.e., increasing the item limit for the view) resolved this, and the content type could be updated successfully. In the SharePoint 2013 environment previously in use, this issue did not occur, so if you recently moved to SharePoint 2016 and have the same error updating content types - increase the default view limit and try again! 

Comments

No Comments

About Hilary Stoupa

I wandered into development after working as a business process analyst for a global manufacturing company. I create InfoPath solutions for our clients as well as work as a developer on company tools that extend InfoPath. I've also been instrumental in creating the InfoPath Master Class training provided by Qdabra.

Copyright © 2003-2018 Qdabra Software. All rights reserved.
View our Terms of Use.