适用于SharePoint Online的应用程序 - 如何编辑匿名用户的列表项 [英] Apps for SharePoint Online - How to edit list items for anonymous users

查看:84
本文介绍了适用于SharePoint Online的应用程序 - 如何编辑匿名用户的列表项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,


我们希望创建类似于"联系我们表单"的Azure托管应用程序。这可以让匿名用户编辑应用程序中的列表项。我们尝试了CSOM选项,但似乎这对匿名用户不起作用。任何人都可以给我们一些有用的想法,文章
甚至一些代码吗?


谢谢,

解决方案

您需要在Appmanifest中添加 AllowAppOnlyPolicy =" true"


查看本文,了解如何允许匿名用户访问Provider托管应用


http://msdn.microsoft.com/en-us/library/office/dn579415%28v=office.15%29.aspx#Cloud_hosted


Hi there,

We want to create Azure-Hosted app similar to the "Contact Us Form" that can take anonymous user edit the list items in app. We tried CSOM options, but it seems that this will not work for anonymous users. Can anyone give us some useful ideas, articles or even some code on this?

Thanks,

解决方案

You need to add AllowAppOnlyPolicy="true" in Appmanifest

check this article on how to allow anonymous users to access Provider hosted app

http://msdn.microsoft.com/en-us/library/office/dn579415%28v=office.15%29.aspx#Cloud_hosted


这篇关于适用于SharePoint Online的应用程序 - 如何编辑匿名用户的列表项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆