带附件的匿名表单。 [英] Anonymous form with attachments.
问题描述
我希望创建一个主要由匿名用户访问和填写的申请表。 我原本打算使用一个列表,匿名用户可以在其中创建列表项。 不幸的是,我的情况需要附加文档,
和SharePoint在与匿名用户打交道时不喜欢这样做。
I am looking to create an application form that will be largely accessed and completed by anonymous users. I was originally looking to use a list, where anonymous users can create list items. Unfortunately, my situation requires attached documents, and SharePoint doesn't like to do that when dealing with anonymous users.
假设我已经承担并接受了所有的风险允许匿名用户附加文件,有办法解决这个问题吗?
Presuming I've assumed and accepted all the risks inherent to allowing anonymous users to attach files, is there a way to work around this?
推荐答案
嗨Josh ,
Hi Josh,
默认情况下,匿名用户无法向SharePoint中的列表项添加附件。
It’s by default that anonymous users cannot add attachments to list item in SharePoint.
作为解决方法,您可以编写代码以使用RunWithElevatedPrivileges方法对于文件上传,您可以查看文章以获取详细信息:
As a workaround, you can write code to use RunWithElevatedPrivileges method for the file upload, you can check the article to get the detailed information:
http://andreaswijayablog.blogspot.com/2014/04/sharepoint-2013-anonymous-access-add.html
Best问候,
Grace Wang
Grace Wang
这篇关于带附件的匿名表单。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!