In a web application with a Managed Solutions Gallery, when you publish an InfoPath form that contains custom code, the form no longer renders in a browser and users can no longer fill in the form using a browser. When you publish an InfoPath form that contains custom code, it creates a category of sandbox solution that cannot be approved using the Managed Solutions Gallery, so publishing fails and the form can no longer be rendered by InfoPath Forms Services.
In a web application with a Managed Solutions Gallery:
- Avoid republishing or modifying InfoPath forms that contain custom code. Modifications include changes to the form’s code or to the form itself such as changing a label or modifying the controls on a form.
- The creation of new forms that contain code is not possible.
- Existing forms that contain code remain functional providing they are not modified.
- Forms with code may be added, edited, and republished if those forms will be viewed and filled in using only the client application, InfoPath 2013.
- Forms that do not contain code are not affected. You may continue to add, modify, and fill-in forms that do not contain code.
To learn more about the Managed Solutions Gallery refer to the release notes for the September 2016 PU for your specific version of SharePoint products at http://go.microsoft.com/fwlink/?LinkId=827584&clcid=0x409.
Article ID: 3192603 - Last Review: Sep 17, 2016 - Revision: 1