有个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模版,所以会发到管理中心