升級本地部署的CRM到Dynamics 365及部分新特性介紹。

關注本人微信和易信公衆號: 微軟動態CRM專家羅勇 ,回覆241或者20161226可方便獲取本文,同時能夠在第一間獲得我發佈的最新的博文信息,follow me!個人網站是 www.luoyong.me 。數據庫

2016年12月16日,微軟官方公佈了  2016 年 12 月 Service Pack for Dynamics 365(本地) ,包括了簡體中文版本,它的下載地址是  https://www.microsoft.com/zh-CN/download/details.aspx?id=54515 ,相關的知識庫文章是  KB3205084 。不過簡體中文版本的Dynamics 365的SDK還未發佈,英文的能夠到這裏下載--  Microsoft Dynamics 365 Software Development Kit (SDK) ,版本是8.2。我這篇文章主要參考英文版本的SDK。
今天我就以我安裝在Azure虛擬機上的微軟Dynamics CRM 2016 SP1覺得升級到Dynamics 365的2016年12月份服務包。
首先我截圖下個人CRM版本以下,在右上角點擊我的頭像圖片旁邊的設置圖標,下拉中點擊 關於 。
 
下載完畢後我先安裝 CRM2016-Server-KB3205084-CHS-Amd64.exe ,主要界面截圖以下:
 
 
 
 
安裝完後在安裝報表擴展的服務器上還須要安裝 CRM2016-Srs-KB3205084-CHS-Amd64.exe,下面是主要截圖:
 
 
 
  
安裝完成之後,我再截圖給版本給你們看看,能夠看到版本變成了 8.2.0.749 。
 
由於簡體中文版本的Dynamics 365 SDK還沒有出版,因此我嘗試中翻譯部分 What's new in December 2016 update for Dynamics 365 (online and on-premises) 給你們先預覽下。
本人鄭重聲明,個人英文翻譯水平不是專業級別的,極可能存在謬誤之處,本人不對翻譯的正確性負責,也不對任何由於參考本翻譯而帶來的損失承擔任何直接或者連帶責任,固然所以而獲益的話你就樂一下,也能夠到個人微信公衆號中打賞下。翻譯是一段英文一段中文。
What's new in December 2016 update for Dynamics 365 (online and on-premises)
Dynamics 365(在線版和本地部署版)2016年12月更新的新特性。
  1. Connected Field Service Developer Guide
Connected Field Service for Microsoft Dynamics 365 integrates Internet of Things (IoT) devices with Microsoft Dynamics 365 (online) to enable integration of their registration, monitoring and management into established business processes. This guide explains the component architecture, supplied interfaces and customization points, and explains the approach develop customized IoT solutions. More information:  Connected Field Service Developer Guide.
  1. 鏈接現場服務開發者指南。
微軟Dynamics 365的鏈接現場服務(Connected Field Service)對貫通了物聯網(Internet of Things,縮寫是IoT)設備和在線版的Dynamics 365,使他們的註冊,監控和管理整合到一塊兒能夠創建業務流程。本指南不但對對組件架構,提供的接口和可客製化方面作了解說,還介紹了開發定製化物聯網解決方案的方法。更多信息請參考本SDK的 連接現場服務開發者指南。
      2. Dynamics 365 Customer Insights Programming Reference
Customer Insights is a Azure-based SaaS service that enables organizations of all sizes to bring together data from multiple sources, including Microsoft Dynamics 365, and generate knowledge and insights to build a holistic 360° view of their customers. The Customer Insights Programming Reference documents the two sets of REST interfaces provided by this service: the Azure Resource Manager (ARM) APIs and the Hub APIs. These interfaces enable developers to extend custom applications, as well as to automate Customer Insights Hub administrative operations. 
      2.Dynamics 365客戶洞察編程參考
客戶洞察(Cusotmer Insights)是基於Azure SaaS服務併爲各類規模的組織機構提供從多種來源,包括Microsoft Dynamics 365, 整合數據,造成知識和洞察力,爲組織的客戶構建起全面的360視圖。客戶洞察編程參考陳述了客戶洞察服務提供的兩套REST接口,分別是Azure資源管理器(Azure Resource Manager,簡稱ARM) API和Hub API。這些接口讓開發者能夠擴展他們本身的應用,也可讓客戶洞察Hub管理操做實現自動化。
        3.Manage configuration and administration of the Data Export service
The ability to replicate Dynamics 365 data to an external SQL database provides a lot of flexibility for generating reports. Data Export is an add-on service made available as a Microsoft Dynamics 365 (online) solution that adds the ability to replicate Dynamics 365 (online) data to a Microsoft Azure SQL Database store in a customer-owned Microsoft Azure subscription. The supported target destinations are Microsoft Azure SQL Database and Microsoft Azure SQL Server on Microsoft Azure virtual machines. Data Export intelligently synchronizes the entire Dynamics 365 schema and data initially and thereafter synchronizes on a continuous basis as changes occur (delta changes) in the Microsoft Dynamics 365 (online) system. More information: TechNet: Data Export. The Data Export service provides an interface for managing configuration and ongoing administration of this service from within Dynamics 365 (online). Developers can write code to interact with this service. More information:  Data Export service
      3 .配置和管理數據導出服務
將Dynamics 365數據複製到一個外部的SQL數據庫的能力爲生成報表提供了很是大的靈活性。數據導出(Data Export)是以Microsoft Dynamics 365 (在線版)的一個解決方案做爲呈現形式的附加服務,它提供了將Dynamics 365 (在線版)的數據複製到客戶本身擁有的Microsoft Azure訂閱中的Microsoft Azure SQL Database的能力。數據導出的同步很智能,它能同步整個Dynamics 365最初的架構(schema)和數據,而後基於變化(delta變化)持續增量同步。更多信息請參考  TechNet: 數據導出。數據導出服務提供了從Dynamics 365 (在線版)中配置和管理它的API,開發者經過撰寫代碼能夠和該服務交互,更多信息請參考數據導出服務。
4.Dynamics 365 Web API enhancements
With this release, the Dynamics 365 Web API supports:
Access to local data while Dynamics 365 for Outlook is offline
When you write form scripts that use the Web API, these scripts can work using the local data in Dynamics 365 for Outlook when the user is offline. This capability has been available for the Organization service (SOAP endpoint) and the Organization Data service (OData v2), but was not previously available with the Web API. The context.getClientUrl function automatically redirects requests to the local version of the service when Dynamics 365 for Outlook is offline.
在這個版本中,Dynamics 365 Web API提供了以下新特性:
在Dynamics 365 Outlook客戶端離線時候訪問本地數據
當Dynamics 365 Outlook客戶端處於離線狀態,在表單編程中使用Web API也可使用本地數據了。這個和本地數據交互的能力在以前版本只能使用組織服務(SOAP終結點)和組織數據服務(OData v2),如今可使用Web API了。context.getClientUrl函數在Dynamics 365客戶端離線時會自動轉發請求到本地的服務。
Return entity data on create or update
Sometimes you want to retrieve an entity right after you create or update it. Before this release, you needed to use two operations. The POST request to create an entity returns an HTTP 204 (No content) status and a Uri to the entity created is returned in the OData-EntityId header property. You can then use this Uri with a GET request to retrieve the created entity. This is because the default preference is to apply the return=minimal preference.
A PATCH request applied to update an entity will simply return HTTP 204 (No content) status when successful.
With this release you can specify the return=representation preference in the header of the request. A successful POST request will return HTTP 201 (Created) and include the entity properties you select. You can select which properties are returned by using the $select system query option.
A successful PATCH request will return HTTP 200 (OK) with the full entity.
More information: Create with data returned , Update with data returned, and HTTP headers
在建立或者更新記錄時返回數據。
在某些時候你可能須要在建立或者更新記錄後查詢記錄的某些信息。在本版本以前,你須要作兩個操做。一個POST請求建立一條記錄後會返回HTTP 204 (沒有內容)狀態,並在返回信息頭中經過OData-EntityId屬性的Uri指向剛纔建立的記錄。你可使用這個Uri發起一個GET類型的請求來獲取剛纔建立記錄的信息。這是由於建立記錄請求的默認偏好(preference)是使用return=minimal。
經過一個PATCH請求來更新記錄成功會簡單的返回HTTP 204(沒有內容)狀態。
在這個版本中你能夠指定請求的請求頭中偏好爲return=representation。經過指定該偏好,一個成功的POST類型的請求將會返回HTTP 201 (已建立)狀態並在請求返回中顯示你指定的實體屬性值。你能夠經過$select系統查詢選項來指定返回哪些屬性的值。
一個成功的PATCH類型的請求將會返回HTTP 200 (OK)狀態並在請求返回中顯示你指定的實體屬性值。
更多信息請參考:建立記錄並返回信息,更新記錄並返回信息 和 HTTP頭。
Reference metadata by name
With this release, you can use the name of certain metadata properties as alternate keys to reference an item of metadata. This will make it easier to query metadata using the Web API. Before this, you needed to perform a query to access the MetadataId of a particular item of metadata before you could retrieve it using that MetadataId as the key. This will make it much easier to use the Web API with metadata. 
More information: Retrieve metadata by name or MetadataId
經過名稱引用元數據
在這個版本中,你可使用某些元數據屬性的名稱做爲備用鍵來引用某個元數據條目。這樣讓經過Web API查詢元數據更加簡單。在這個版本以前,你須要先查詢到元數據條目的MetadataId值,而後纔可以經過MetadataId做爲鍵來元數據信息。更多信息請參考:經過名稱或者MetadtaId查詢元數據。
Bug fixes
There have been numerous bug fixes applied for this release. More information: Limitations addressed in December 2016 update for Microsoft Dynamics 365 (online) and December 2016 Service Pack for Microsoft Dynamics 365 (on-premises)
Bug修復
這個版本修復了不少Bug。更多信息請參考:Dynamics 365(在線版和本地部署版)2016年12月更新解決的限制。
下面不是翻譯。我從事開發工做很多,就補充下此次對Web API的加強:
  • Web API增長了三個操做,分別是QualifyLead操做,RetrieveByResourcesService函數和RetrieveFilteredForms函數。
  • 使用日期字段作篩選時候,日期字段的值再也不也不能將日期用單引號引用起來,如今正確方式是相似:$filter=birthdate eq 1990-01-01
  • 當調用包括實體集合類型參數的操做時,實體集合操做類型的參數再也不須要必須做爲最後一個參數進行傳遞。之前的話若是實體集合類型操做的參數不做爲最後一個參數進行傳遞會返回錯誤。
  • 可以建立客戶這種類型的字段,之前版本則不行。PS,客戶類型的字段是CRM 2016 SP1新增的一種字段類型。
  • 可以獲取到沒有發佈的元數據信息,之前的版本則只能獲取到已經發布的元數據信息。
相關文章
相關標籤/搜索