限制可添加到SharePoint日历的每日条目数 [英] limit to the amount of daily entries that can be added to a SharePoint calendar

查看:73
本文介绍了限制可添加到SharePoint日历的每日条目数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello Everyone,

Hello Everyone,

有谁知道如何设置可以添加到日历的每日条目数限制?

Does anyone know how to set a limit to the amount of daily entries that can be added to a calendar?

假设我想将数量限制在每天5。因此,一旦达到该限制,将显示一条消息,表明您已达到当天的最大条目数。

Let's say that I wanted to limit the amount to 5 per day. So once that limit is reached, a message would show saying that you have reached the maximum number of entries for that day.

我不是SP管理员。如果有人能提供有关如何继续的详细步骤,那将是一个很大的帮助。

I am not an experience SP administrator. If anyone could provide detailed steps on how to proceed that would be a big help.

如果您需要更多信息,请告诉我。

Let me know if you need more information.

最佳

CSJ

推荐答案

您好CSJ,这可以通过表单上的一些代码来完成新的和更新的项目。您可以使用REST查询从日历中提取他们提交日期的所有项目,然后如果该数字是> = 5,请不要让他们提交。最好在
里面用你的javascript中的PreSaveAction函数。 

Hi CSJ, this could be done with some code on your forms for new and updated items. You can use a REST query to pull in all items from the calendar for the day they are submitting and then if that number is >= 5, don't let them submit. Best to do inside a PreSaveAction function in your javascript. 


这篇关于限制可添加到SharePoint日历的每日条目数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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