需要想法,如何创建资源调度程序?仅使用工作流程 [英] Need ideas, how to create resource scheduler? only using workflows

查看:52
本文介绍了需要想法,如何创建资源调度程序?仅使用工作流程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以我发现SP2013在日历中没有资源选项,我无法修改XML文件noir我知道如何运行它通过JavaScript。我问你的家伙如何通过工作流创建资源预订的想法。将有一个人b $ b将批准该请求。我只是无法弄清楚使用工作流程检查双重预订

So I found out that SP2013 doesn't have resource option in the calendar and I am not able to modify XML file noir I know how to run it via JavaScript. I am asking your guys ideas on how to create resource booking via workflow. There will be a person who will be approving that request. I just can't figure it out check double booking using workflow

推荐答案

我过去做过的一个解决方法是让一个日历重复出现标题为"可用"的事件。然后,您为每个人提供该日历的视图,该视图会过滤title =" Available"的项目。如果他们点击某个项目,那么
将打开DispForm.aspx。然后我将代码添加到DispForm.aspx以自动打开Edit项,这反过来又会导致重复出现。在EditForm.aspx上,我有代码将Title设置为用户名(SPServices为我获取)。当用户点击保存时,重复
被破坏,该位置的项目被替换为他们的预订。如果他们想取消,删除他们的条目将返回重复。
One workaround I've done in the past is to have a calendar with recurring events with the title "Available". Then you give everyone a view of that calendar which filters for items where title="Available". If they click on an item, it will open DispForm.aspx. I then add code to DispForm.aspx to automatically open the Edit item, which in turn breaks recurrence. On EditForm.aspx I have code to set the Title to the user's name (SPServices gets this for me). When the user hits save the recurrence is broken and an item at that slot is replaced with their reservation. If they want to cancel, deleting their entry returns the recurrence.


这篇关于需要想法,如何创建资源调度程序?仅使用工作流程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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