开发者

Building UI of complex relational data with Sharepoint 2010?

开发者 https://www.devze.com 2023-01-11 00:53 出处:网络
We\'ve got some relational data in SQL Server and would like to build a UI in Sharepoint 2010 to create and modify records. For simple tabular data it\'s straightforward, but what about master-detail

We've got some relational data in SQL Server and would like to build a UI in Sharepoint 2010 to create and modify records. For simple tabular data it's straightforward, but what about master-detail structures where a single logical object is com posited from a number of tables?

A large topic, but is ther开发者_如何学编程e a basic course of action that is best?


If you create external content types, you can add associations between them that correspond to the relations between the tables in your database. For each external content type, create an external list that you can use for adding/updating/deleting your data.

For displaying master/detail records, you could add multiple webparts on a page and create connections between them. By creating the connection, the list displaying detail records will be filtered after selecting a master record.

If your database has m-n relations, you'll want to create your external content types in Visual Studio because SharePoint Designer 2010 only supports 1-n relations.

I don't know if it's the best way, but BCS is a big improvement over BDC and I think it can cover most if not all of your requirements. (depending on the complexity of your data)

0

精彩评论

暂无评论...
验证码 换一张
取 消