Sharepoint 2007:将外部数据库数据放到网页上的最佳实践

发布于 2024-10-01 20:17:23 字数 192 浏览 0 评论 0原文

我有 Sharepoint 2007 站点,并且必须为存储在外部数据库中的员工列表实施过滤器(组合框)。

我可以使用 asp:DropDownList(s)、数据访问库和 asp:Repeater 内容开发 Web 部件,但不想搞乱分页和排序。也许最好通过我的 DAL 填充将出现在我的过滤器下的标准共享点列表?

您将如何执行这样的任务?

I have Sharepoint 2007 site and have to implement filter (comboboxes) for the list of employees stored in external database.

I can develop web part with asp:DropDownList(s), data access library and asp:Repeater stuff, but don't wanna mess with paging and sorting. May be it's better to populate standard sharepoint list that will be present under my filters via my DAL ?

How would you implement such a task?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

思念满溢 2024-10-08 20:17:23

以下是我的建议:

  1. SharePoint 列表源和目标 - 这是 SSIS 的 CodePlex 项目SharePoint 适配器。今年早些时候,我们成功地使用它在 SQL Server 和 SharePoint 之间传输数据。
  2. 自定义计时器作业 - 您可以创建一个 SPJobDefinition 类,它是您自己的迷你 ETL,将 SharePoint 列表与数据库表进行比较,然后进行任何必要的传输。
  3. 业务数据目录 (BDC) - 我不是它的粉丝,但您可能会更幸运。
  4. SharePoint 2010 - 我不确定这是否是一个选项,但我会提到它。 SharePoint 2007 的 BDC 已发展成为 SharePoint 2010 中的 Business Connectivity Services (BCS)。我还没有机会使用它,但它在访问外部数据方面应该有很大改进。

Here are my suggestions:

  1. SharePoint List Source and Destination - this is a CodePlex project for an SSIS SharePoint adapter. We used it successfully earlier this year for transferring data between SQL Server and SharePoint.
  2. Custom Timer Job - you could create a SPJobDefinition class that is your own mini-homespun ETL comparing the SharePoint list to the database tables and then making any necessary transfers.
  3. Business Data Catalog (BDC) - I'm not a fan, but you might have better luck with it.
  4. SharePoint 2010 - I'm not sure if this is an option, but I'll mention it. The BDC of SharePoint 2007 has grown into Business Connectivity Services (BCS) in SharePoint 2010. I haven't had a chance to play with it yet, but it is supposed to be much improved for accessing external data.
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文