从另一个场中存在的共享点中的另一个日历中填充日历 [英] fill calender from another calender in sharepoint that exist in another farm

查看:84
本文介绍了从另一个场中存在的共享点中的另一个日历中填充日历的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我想显示从一个共享点站点到另一个服务器场中存在的另一个共享点站点的共享日历日历.
我创建了一个自定义Webpart并尝试将该列表添加为数据源,但是它不起作用.

谁能给我建议或分享一些代码.

谢谢你的帮助.
sandy

Hi guys,

I want to display sharepoint calender from one sharepoint site to another sharepoint site that exist in another farm.
I have created a custom webpart and trying to add that list as data source but it didn''t work.

Can anyone please advise me or share some code for this.

thank you for help.
sandy

推荐答案

如果要在代码中获取列表,这就是开始的方式.如果您告诉我们更多信息,我可以解释一下在您拥有它时如何使用它.还用什么语言?

If you want to get a list in your code this is how you would start. If you tell us more I can explain how to do something with it when you have it. Also what language are you using?

Dim web As SPWeb
Dim list as SPList
web = SPContext.Current.Web ''change this to the web you want
list = web.Lists("xxxxx") ''your list name there


日历是否存在于SharePoint中,还是外部页面?

如果日历位于SharePoint中,则应该能够通过Web界面在日历上创建视图,然后创建一个Webpart以根据组合框的值显示不同的视图.

如果不在SharePoint中,则需要向我们提供更多信息以帮助您,您可能需要使用多个页面查看器.
Does the calendar exist in SharePoint, or is it an external page?

If the calendar is in SharePoint you should be able to create a view on it through the web interface and then create a webpart to display the different views depending on the value of the combo box.

If it''s not in SharePoint you''ll need to give us alot more information to help out, you''ll probably need to use multiple page viewers.


日历是列表还是基于特定列表的视图? SharePoint列表同步可使您将不同的SharePoint列表组合到一个.然后,您将不再需要将列表数据源转移到另一个.
Is the calendar a list or a view based on particular list? SharePoint List Sync can enable you to combine different SharePoint lists in one. Then you won’t be bothered to transfer list data source to another any longer.


这篇关于从另一个场中存在的共享点中的另一个日历中填充日历的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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