Задайте вопросЗадайте вопрос
 

ОтвеченоShould I use BDC for this?

Ответы

  • 22 января 2009 г. 16:47Paul J. Swider Медали пользователяМедали пользователяМедали пользователяМедали пользователяМедали пользователя
     Отвечено

    The reason you do not want to use SSIS (Integration Services) is that writing to the SharePoint database directly leaves you in an unsupported state. When you need to add (import) items to SharePoint databases you should ALWAYS use the object model or web services.

    You stated you need to IMPORT the data not view from another source. If your goal is to view (not import) these user accounts in SharePoint via web part then the BDC is a good solution.

    If you need a onetime import try using Access 2007. Connect to the tables in SQL and connect to the list in SharePoint and run an append query. No code needed.

    If you need to import over and over you could try using SSIS but instead of loading data to tables send it to the SharePoint lists.asmx web service or a custom service that uses the object model.

    • Помечено в качестве ответаxiaobof 22 января 2009 г. 16:52
    •  

Все ответы