Condividi tramite


Administrator Approved Forms fails to upload to SharePoint server 2016, if you have "External Item Picker" control added to the Form

Yes it is true that if you have an "External Item Picker" in your admin approved Form you are no longer able  migrate to SharePoint server 2016.

But we have workaround to help you with the migration

  1. Save the admin approved Xsn as Cab File
  2. Extract the cab files
  3. Modify the view1.xsl (I had just one XSL file. In complex form there might be many depending upon the number of views. So if you have this control on different views then you may need to update all the impacted XSL’s)
  4. Search for the below line ( You may need to search for either “entitypicker” or classid="clsid:ad74fc20-e09f-4e47-8a87-1da49930867a")
  5. Change classid from

                <object class="xdActiveX" hideFocus="1" style="HEIGHT: 22px; WIDTH: 288px" tabIndex="0" tabStop="true" xd:xctname="entitypicker" xd:CtrlId="CTRL1" xd:server="https://" xd:bindingType="xmlNode" xd:bindingProperty="InfoPathValue"      xd:boundProp="xd:inline" classid="clsid:ad74fc20-e09f-4e47-8a87-1da49930867a" contentEditable="false" xd:binding="my:group">

  1. To below classid

                <object class="xdActiveX" hideFocus="1" style="HEIGHT: 22px; WIDTH: 288px" tabIndex="0" tabStop="true" xd:xctname="entitypicker" xd:CtrlId="CTRL1" xd:server="https://" xd:bindingType="xmlNode" xd:bindingProperty="InfoPathValue"      xd:boundProp="xd:inline" classid="clsid:AF339C70-E34E-4E03-B08E-42AB89EA2A0E" contentEditable="false" xd:binding="my:group">

  1. Open the manifest.xsf and try to republish as admin approved form and upload the same now to SharePoint Server 2016 successfully