查看日历事件的重复数据 [英] Viewing Recurrence Data for Calendar Event
本文介绍了查看日历事件的重复数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何获取SP日历中重复发生的事件的RecurrenceData? & XMLDATA = TRUE将默认为真/否,如果事件重复发生,则为真,否则为我.我相信在某个地方有一个名为"RecurrenceData"的字段,那会 给我我需要的细节.
How do I get RecurrenceData for a recurring event in a SP calendar? &XMLDATA=TRUE will be default give me a true/false of if the event is recurring, but not the details. I believe there is a field somewhere called "RecurrenceData" that will give me the details I need. How do I access that?
推荐答案
嗨 您可以通过将Recurrence设置为Yes来从日历视图中过滤重复事件.
如果要动态过滤事件,可以检查下面Coder87共享的代码.
.ajax({ 网址:wsURL, 类型:"POST", dataType:"xml", 异步:错误, 数据:xmlCall, complete:函数(xData,状态){ Core.LogMessage(" Core.GetItemsFromCalendarAsmx-> url:" wsURL +" status:" status); if(状态===成功"){ var root =.ajax({ url: wsURL, type: "POST", dataType: "xml", async: false, data: xmlCall, complete: function (xData, status) { Core.LogMessage("Core.GetItemsFromCalendarAsmx-> url: " + wsURL + " status: " + status); if (status === "success") { var root =
(xData.responseText); root.find("listitems").children().children().each(function(){(xData.responseText); root.find("listitems").children().children().each(function () {
这篇关于查看日历事件的重复数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文