Sharepoint - 在不同子站点的多个日历中显示日历事件
我正在尝试将主站点中的日历中的事件显示到主站点的子站点中的日历(反之亦然)...我无法更改任何服务器文件或使用自定义构建的 Web 部件。 ..有没有办法用 OOTB moss 2007 来做到这一点?
I am trying to show events from a calendar in the main site to a calendar in a sub-site of the main site (or vice-versa)...I can't alter any server files or use custom-built web parts...is there anyway to do this w/ OOTB moss 2007?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
无论如何,更改服务器文件是一个很大的禁忌,所以这很好:-D。您可以尝试使用 SharePoint 设计器创建一个所谓的聚合 Web 部件,从网站集中的所有网站提取数据(当然,这会通过共享点进行安全调整,因此人们只能看到他们被允许看到的内容)。
您可以在 SharePoint 设计器中使用 DataFormWebPart 来构建聚合 Web 部件。这仍然是 ootb,但允许您配置数据源:即让数据源查询整个网站集的日历项目,然后将它们显示在列表中。不过,在“新”日历中显示它们将需要大量工作。
无法“复制”或指定特定的日历项目在特定的其他日历中可见,这将需要自定义代码。
Altering Server files is a big no-no anyway, so that's good :-D. YOu could try using SharePoint designer to create a so-called aggregation webpart, pulling data from all sites in the site collection (which of course get security trimmed by sharepoint, so people see only what they are allowed to see).
YOu can create use a DataFormWebPart in SharePoint designer to build an aggregation webpart. This is still ootb, but allows you to configure the datasource: i.e. have the datasource query the entire site collection for calendar items, then display them in a list. Disdplay them in a "new" calendar will be a lot of work though.
There is no way to "copy" or deisgnate specific calendar items to be visible in specific other calendars, this will take custom code.
严格来说不是 OOTB MOSS 2007,但我最近写了一篇关于使用简单工作流程同步任何列表的文章。由于日历只是一个列表,因此它也适用于该列表,并且它保持了日历的外观和感觉。
在这里查看,效果很好,而且很优惠以及附件。由于它是工作流程的一部分,您可以轻松添加自己的逻辑,例如仅同步字段“x”设置为“y”的日历事件。
Not strictly OOTB MOSS 2007, but I recenlty wrote an article about syncing any list using a simple workflow. As a Calendar is just a list it works for that as well and it maintains the Calendar look and feel.
Check it out here, it works great and deals with attachments as well. As it is part of a workflow you can add your own logic easily, e.g. Only sync calendar events that have field 'x' set to 'y'.
我想指出 RSSBus Web 部件可以使用最少的代码处理此类任务。这虽然不是 ootb,但非常简单,并且不需要使用 SharePoint Designer。
上面的代码可以放置在主站点上的 RSSBus Web 部件中,并通过使用“SpsOps”可以访问所有站点/子站点上的所有列表/项目。
-S
I wanted to point out that RSSBus Web Part can handle a task like this with minimal code. This, although not ootb is quite simple and does not require use of SharePoint Designer.
The code above can be placed within the RSSBus Web Part on the main site and through the use of "SpsOps" have access to all lists/items on all sites/subsites.
-S