Business Connectivity Services: новые возможности

Slides:



Advertisements
Similar presentations
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Advertisements

© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
© 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
MIX 09 4/15/ :14 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
What are Access Web App What are “Apps for Office” Microsoft Access Access “Apps for Office” Value of “Apps for Office” Apps for Office How it all works.
Windows 7 Training Microsoft Confidential. Windows ® 7 Compatibility Version Checking.
 Alexander Malek Lead Program Manager SharePoint Microsoft Corporation BB47.
Feature: Web Client Keyboard Shortcuts © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
Session 1.
Built by Developers for Developers…. © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
 Rico Mariani Architect Microsoft Corporation.
Feature: Assign an Item to Multiple Sites © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Feature: Print Remaining Documents © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.
Connect with life Connect with life
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Feature: Suggested Item Enhancements – Sales Script and Additional Information © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows.
Feature: Customer Combiner and Modifier © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
Feature: Employee Self Service Timecard Entry © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
SQL Server SQL Azure Visual Studio“Quadrant” SQL Server Modeling Services Entity Framework ADO.NET“M”/EDM Data Services …
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.

customer.
Rich Platform Services Manageability User Experience.
demo © 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
demo Demo.
demo QueryForeign KeyInstance /sm:body()/x:Order/x:Delivery/y:TrackingId1Z
projekt202 © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
The CLR CoreCLRCoreCLR © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product.
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks.
© 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.

IoCompleteRequest (Irp);... p = NULL; …f(p);
Rolando Jimenez Sr. Lead Program Manager Microsoft Corporation.
Отчетность средствами Reporting Services 2008
Integrating SharePoint 2010 with Office 2010
Microsoft Office SharePoint Server 2007 Enterprise Search
Business Connectivity Services in SharePoint 2010 and Office 2010
Accessing and Surfacing LOB Data in SharePoint 2010
Windows Workflow Foundation 4 (How-To)
SkyDrive Pro Chris Gideon Architect Microsoft 9/16/2018
Возможности Excel 2010, о которых следует знать
Введение в архитектуру SharePoint 2010
Знакомство с Office Web Apps
Возможности интеграции с Office 365
Дизайн корпоративных сайтов SharePoint 2010
SharePoint Designer 2010: Top 10 Things To Know
Сетевое взаимодействие
Title of Presentation 11/22/2018 3:34 PM
Александр Шаповал Эксперт по информационной инфраструктуре Microsoft
Office Mac /30/2018 © 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
SPC2012 – IT-Pro 11/30/2018 © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Title of Presentation 12/2/2018 3:48 PM
1/3/2019 1:21 PM © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
8/04/2019 9:13 PM © 2006 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
4/27/17, Bell #8 What amount of net pay has been earned this period?
Создание приложения с помощью App Studio
Виктор Хаджийски Катедра “Металургия на желязото и металолеене”
WINDOWS AZURE A LAP AROUND PLATFORM THE Steve Marx
PENSACOLA ENERGY WORK PLAN OCTOBER 10, 2016
5/1/2019 3:29 AM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Title of Presentation 5/12/ :53 PM
Шитманов Дархан Қаражанұлы Тарих пәнінің
Title of Presentation 5/24/2019 1:26 PM
5/24/2019 6:44 PM 1/8/18 Bell #10 In a world governed by the gods, is there any room for human will? Do human choices make a difference? EXPLAIN © 2007.
Title of Presentation 7/24/2019 8:53 PM
What’s New in Visual Studio 2012 for Web Developers
Presentation transcript:

Business Connectivity Services: новые возможности Microsoft SharePoint Conference 2009 11/14/2018 Business Connectivity Services: новые возможности Баум Виталий Sr. SharePoint Developer Conteq © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Содержание Обзор Business Connectivity Services (BCS) Демо Приложение для работы с покупками Прикладные навыки

Business Connectivity Services (BCS) Обзор

Microsoft SharePoint 2010 Платформа бизнесс-взаимодействия для предприятий и Интернета Search Sites Composites Content Insights Sites Расширенное взаимодействие Унифицированная инфраструктура Реагирование на потребности бинесса Composites Communities Insights Content Search

SharePoint Composites Предоставляет возможности для построения решений без кодирования с учётом функционала и контроля Search Sites Composites Content Insights Sites Быстрое построение решений Расширение возможностей ваших данных Контроль над прикладными решениями Composites Communities Insights Content Search

Business Connectivity Services Out-of-box возможности Сервисы Утилиты Расширенный SharePoint Оптимизированные решения Интеграция Внешние данные и сервисы

Business Connectivity Services Office Applications BCS Client Design Tools SharePoint Dev Platform Business Intelligence Enterprise Content Management Collaboration Social Enterprise Search SharePointDesigner External Lists Visual Studio External Content Type Repository Business Data Connectivity LOB Web Service WCF DB Web 2.0

Области расширения Представления Коммуникаций Прикладной Расширение интерфейса пользователя Office и SharePoint для взаимодействия с внешними данными Представления Чтение и запись данных из различных хранилищ (DB, WCF/WebService, .NET типы) Коммуникаций Интегрированные приложения для выполнения всего ряда работ от кастомизации до разработки сложных решений с дистрибуцией Прикладной

Внешние типы содержимого Строительные блоки Описывает схему внешних данных и правила взаимодействия с Office и SharePoint *так же известный как BDC Entity Office Clients (Rich) BCS Внешние данные (Web Service, DB, .Net object, LOB system, Web 2.0 service, etc.) External Content Type (ECT) BCS Решения на базе BCS и внешних типов содержимого позволяют интегрировать данные в SharePoint и Office SharePoint (Thin)

Утилиты для построения решений на BCS Microsoft SharePoint Conference 2009 11/14/2018 Утилиты для построения решений на BCS © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Типы решений, утилиты и роли 11/14/2018 1:46 PM Типы решений, утилиты и роли SharePoint Designer Advanced Developer SharePoint SDK Visual Studio Developer Power User БЕЗ КОДА* С КОДОМ © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Типы решений, утилиты и роли 11/14/2018 1:46 PM Типы решений, утилиты и роли Аггрегация, трансформация и обеспечение безопасности данных Создание дополнительных решений для интеграции в Office Создание бизнесс-логики в формах Создание повторно используемых компонент Кастомизация Формы InfoPath Риббон и панель задач Outlook Word (QuickParts) Workflow Страницы веб-частей Работа с данными во внешних списках Подключение внешних списков к Outlook, SPW Просто Требует навыков Сложно БЕЗ КОДА* Advanced Developer Visual Studio С КОДОМ SharePoint Designer SharePoint SDK Power User Developer © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Типы решений, утилиты и роли 11/14/2018 1:46 PM Типы решений, утилиты и роли Сложно Аггрегация, трансформация и обеспечение безопасности данных Создание дополнительных решений для интеграции в Office Создание бизнесс-логики в формах Создание повторно используемых компонент Advanced Developer Visual Studio С КОДОМ Кастомизация Формы InfoPath Риббон и панель задач Outlook Word (QuickParts) Workflow Страницы веб-частей Работа с данными во внешних списках Подключение внешних списков к Outlook, SPW Просто Требует навыков БЕЗ КОДА* SharePoint Designer SharePoint SDK Power User Developer © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Подходы к построению решений Разработка на одной машине Создание используемых типов содержимого для различных источников данных, используя .Net Расширение и создание элементов управления для Office и SharePoint Клиент-Серверная среда Создание приложений для подключения к существующим источникам данных (без кода) (WCF, Sql Server и .Net типы) Настройка элементов управления и форм InfoPath Developer Visual Studio SharePoint Designer SDK Power User SharePoint Designer IT Admin Production Environment СозданиеWSP Import & Configure SharePoint Server (Shared, Dev/Prod) “Live” Connection Export, Import & Configure

Обзор утилит Возможности SharePoint Designer 2010 Visual Studio 2010 SDK Создание Внешних Типов Содержимого и Профильных страниц Дизайнер ECT Подключение к существующим WCF/Web Services, Sql Server или .Net Data Connectivity Подключение к любым данным через .Net код Интеграция вн. данных в WF Дизайнер Workflow Создание внешних списков и форм InfoPath Дизайнер списков и форм Расширения для Office Написание расширений для Office SharePoint and Office Clients UX Расширение Outlook Расширение риббона и панели задач Outlook Дополнительные примеры и утилиты

Приложение для работы с покупками 11/14/2018 1:46 PM Демо Приложение для работы с покупками © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Список Products SharePoint Server Products External List Products External Content Type WCF Service Data Aggregation Plans Sql Database Currency RESTful

Data Aggregation Scenario SharePoint Server Office Client Contacts as Outlook Contacts Contacts List in Excel Contacts External List Connect to Outlook BCS External Data Cache Contacts ECT BDC Assembly Data Aggregation Contact ECT Contact Contact Info Contact Sales Info

BCS для Office и SharePoint Упаковка и дистрибуция Установка и обновление ClickOnce пакет Компоненты для Office SharePoint Server Включён в WSP Решения для BCS Компоненты для SharePoint WSP пакет Импорт

SharePoint Designer и Visual Studio Итог Возможности SharePoint Designer 2010 Visual Studio 2010 Соединения К существующим WCF, Sql Server, .Net Assembly К любым источникам данных через .Net Assemblies Моделирование Изучение и настройка Создание и публикация Типовые сценарии Создание простых моделей и элементов управления (Внешние списки, Outlook, SharePoint Workspace, InfoPath, Поиск, Ассоциации) - Создание сложных моделей с учётом аггрегации, трансформации и безопасности данных - Расширение базовых возможностей Office через VSTO - Создание элементов управления для Office и SharePoint (Веб-части для BDC) Ограничения Источники данных должны соответствовать требованиям Дополнительные, пакетные операции Разнородные сервисы Связи по внешнему ключу - Визуальный дизайнер только для можелей на основе .Net - Различия в установке для Office и SharePoint

Прикладные навыки Полная интеграция

BCS на мобильных устройствах Специальное представление для мобильных устройств доступно и для внешних данных

Способы подключения

Способы подключения SQL Server WCF .NET Assembly Остальные источники данных

SQL Server Microsoft SQL Server Oracle, MySQL, ODBC Полная поддержка в SharePoint Designer Простота создания внешний типов содержимого Oracle, MySQL, ODBC Нет поддержки в SharePoint Designer Ручное редактирование ADF

Web services WCF Services REST Services Полная поддержка в SharePoint Designer Простота создания внешний типов содержимого REST Services Нет поддержки в SharePoint Designer Ручное редактирование ADF

.NET Assemblies .NET Assembly Connector Создание специфичных, часто денормализованных данных, предназначенных для представления Возможность предоставления точек конфигурирования

Остальные источники Большинство потребностей подключения к современным типам данных поддерживается на платформе .NET

Прикладные навыки Объектная модель

Объектная модель: Чтение // get the catalog of entities to work with...  BdcService service = SPFarm.Local .Services.GetValue<BdcService>();  IMetadataCatalog catalog = service .GetDatabaseBackedMetadataCatalog( SPServiceContext.Current);

Объектная модель: Чтение // get the Employee external content type...  IEntity entity = catalog .GetEntity("http://localhost", "Employees"); // get the filters for the default Finder method  IFilterCollection filters = entity .GetDefaultFinderFilters(); // if FirstNameTextbox has a value set the filter value...  if (FirstNameTextbox.Text != string.Empty)  {      WildcardFilter filter = (WildcardFilter)filters[0];      filter.Value = FirstNameTextbox.Text;  }

Объектная модель: Чтение // return the filtered data using the default Finder method...  IEntityInstanceEnumerator enumerator = entity .FindFiltered(filters, entity.GetLobSystem() .GetLobSystemInstances()[0].Value); DataTable table = null; // loop through the data returned  while (enumerator.MoveNext())  {      // first time setup the datatable, everytime there after add a row...      if (table == null)          table = enumerator.Current.EntityAsDataTable;      else          enumerator.Current.EntityAsDataRow(table);        }

Объектная модель: Создание //Create a new customer model Model customerModel = Model.Create("CustomerModel", true, catalog); //Make a new Customer LobSystem LobSystem awLobSystem = customerModel.OwnedReferencedLobSystems.Create("Customer", true, SystemType.Database); //Make a new AdventureWorks LobSystemInstance LobSystemInstance awLobSystemInstance = awLobSystem.LobSystemInstances.Create("AdventureWorks", true); //Set the connection properties awLobSystemInstance.Properties.Add("AuthenticationMode", "PassThrough"); awLobSystemInstance.Properties.Add("DatabaseAccessProvider", "SqlServer"); awLobSystemInstance.Properties.Add("RdbConnection Data Source", "DEV1"); awLobSystemInstance.Properties.Add("RdbConnection Initial Catalog", "Customers"); awLobSystemInstance.Properties.Add("RdbConnection Integrated Security", "SSPI"); awLobSystemInstance.Properties.Add("RdbConnection Pooling", "true");

Объектная модель: Создание <LobSystemInstances> <LobSystemInstance Name="AdventureWorksWS"> <Properties> <Property Name="WcfAuthenticationMode" Type="System.String">PassThrough</Property> <Property Name="WcfEndpointAddress" Type="System.String">http://webserver:90/webservice.asmx</Property> <Property Name="ShowInSearchUI" Type="System.String"></Property> </Properties> </LobSystemInstance> </LobSystemInstances>

Объектная модель: Создание //Create a new Customer Entity Entity customerEntity = Entity.Create("Customer", "AdventureWorks", true, new Version("1.0.0.0"), 10000, CacheUsage.Default, awLobSystem, customerModel, catalog); //Set the identifier - CustomerID column customerEntity.Identifiers.Create("CustomerId", true, "System.Int32");

Прикладные навыки Типовые операции

Типовые операции AccessChecker AssociationNavigator Scalar Associator BinarySecurityDescriptorAccessor BulkAssociatedIdEnumerator BulkAssociationNavigator BulkIdEnumerator BulkSpecificFinder

Типовые операции ChangedIdEnumerator Creator DeletedIdEnumerator Deleter Disassociator Finder GenericInvoker IdEnumerator SpecificFinder

Типовые операции StreamAccessor Updater

Finder SELECT * FROM Customers SELECT ProductID, Name, ProductNumber, ListPrice FROM Product WHERE (ProductID <= @MinProductID) EntityDataType[] GetEntities()

SpecificFinder SELECT * FROM Customers WHERE CustomerID = id EntityDataType GetEntityById(IdType1 id1, etc…)

IDEnumerator SELECT TOP 100 Id FROM Customers WHERE Id>=@LastIdSeen ORDER BY Id

IDEnumerator SELECT TOP 100 Id FROM Customers WHERE Id>=@LastIdSeen ORDER BY Id

Типы фильтров Limit PageNumber Wildcard UserContext UserCulture Username Password LastIdSeen

Sorting & Paging [OperationContract] IEnumerable<Employee> GetEmployeesPaged( int startRowNumber, int pageCount, string sortColumn, string sortDir);

Sorting & Paging <View> <Method Name="GetEmployeesPaged"> <Filter Name="FilterRowNum" Value="{dvt_firstrow}"/> <Filter Name="FilterPageCount" Value="30"/> <Filter Name="FilterSortColumn" Value="{dvt_sortfield}"/> <Filter Name="FilterSortDir" Value="{dvt_sortdir}"/> </Method> <RowLimit Paged="TRUE">30</RowLimit> </View>

Business Connectivity Services

Business Connectivity Services

Business Connectivity Services Возможности чтения и записи к большинству источников данных Работа в online и offline Большое количество возможностей доступных из коробки Адаптируемость под нужды бизнеса Поддержка по стороны средств разработки и кастомизации Унификация рабочей среды

Спасибо Виталий Баум http://butaji.ru