当前位置: 代码迷 >> SharePoint >> infopath form 不能直接发布到Sharepoint library, 而是要发布为Administrator-approved form,该如何处理
  详细解决方案

infopath form 不能直接发布到Sharepoint library, 而是要发布为Administrator-approved form,该如何处理

热度:289   发布时间:2016-05-02 07:32:55.0
infopath form 不能直接发布到Sharepoint library, 而是要发布为Administrator-approved form
有个INFOPATH FORM, 开始设计时是直接发布到SHAREPOINT LIBRARY 中, 后来我尝试加入VSTA代码, 后来发布就只能发布为 Administrator-approved form;

我再试把之前的代码删除掉(FILE - Advanced Form option - programming - 移除代码), 但重新发布, 但该FORM一直是提示发布为 Administrator-approved form

请问什么情况下FORM只能发布为 Administrator-approved form? 我怎样才能把我这个FORM变为可以直接发布到SHAREPOINT LIBRARY中, 谢谢!

------解决方案--------------------
If you opt for ‘Document Library’ a library will be created or updated and the template can only be used in this library. If you opt for ‘Site Content Type’, you can use your template in multiple document libraries on several sites. A site content type is nothing more than a type of document with some specific properties.
In this situation you cannot opt to create a document library or a content type because you used managed code. You must select ‘Administrator-approved form template (advanced)’.
------解决方案--------------------
如果你在Infopath中加入代码,就必须设置为完全信任,当然就需要管理员审批Infopath模版,所以会发到管理中心
  相关解决方案