sharepoint - block the dates in the calendar in sharepoint, once the leave is approved
问题描述
I have created a leave planner in Sharepoint and have automated the leave approval and balance update using SharePoint designer.
Now there is a requirement to built a calendar in sharepoint that gets updated automatically for every employee, when their leave is approved or cancelled after the approval. Basically, I need to set up something like calendar overlay, but with a feature that the calendar automatically blocks the dates for which the employee has applied leave and can be seen to the manager in the single calendar.
Is there a way we can do this, because I am unable to figure out any flow to automate this using Sharepoint designer?
解决方案
您需要做的就是“添加应用日历”并设置操作以在批准休假后在日历中创建事件。1. 将此操作添加到您提到批准休假后要执行的其他操作的流程中:
- 在“日历”中创建项目,输出到变量“创建”
将当前项目的“开始时间”设置为“开始日期” - 将当前项目的“结束时间”设置为“截止日期”
这将阻止您的日历日期,并将显示在共享点日历中
您还可以根据您的选择设置显示消息,例如“XYZ请假”
推荐阅读
- google-colaboratory - 如何使用 wget 在 google colab 上下载共享项目?
- javascript - “组件”未定义 react/jsx-no-undef
- mysql - 动态构建带有Node错误的sql语句
- javascript - 如何在选择框容器下方显示选定列表?
- java - android应用程序中字符串文件名列表之前的未知字符
- stata - 从Stata中的字符串变量中删除特殊字符
- google-apps-script - Google sheet + App 脚本:使用 showDialog 框查找和替换值
- django - 如何使用用户详细信息扩展我关注的人的评论的查询表
- node.js - 如何更新 NPM 贬低的 fsevents?
- c++ - 如何在编译时使用 void 函数修复先前的错误