Записки на лету

Вышла книга CRM 2013 QuickStart

CRM 2013 QuickStartВышла книга CRM 2013 QuickStart.

Книга описывает, что нового появилось в CRM 2013, а появилось немало. Но, все это не для разработчика. 🙂

Что до разработки, то самые большие изменения коснулись форм, т.е. их разметки, она теперь не табличная, и JScript, расширилась объектная модель и jQuery теперь встроен по умолчанию.

Написано все по делу. Авторы мне нравятся.


Microsoft Dynamics Sure Step CoverВышла еще одна книга по MS Dynamics CRM Customer Success with Microsoft Dynamics Sure Step.

Книга о том как правильно внедрять CRM с помощью технологии Sure Step, пока не собираюсь ее читать ибо уже потерял веру в то, что можно делать внедрение по каким-то правилам. Какие-то основы конечно можно будет взять на вооружение но в жизни все совсем не так красиво как в кино и книжках с картинками.


Вышел накопительный пакет обновлений №1 (KB 2891271) для Microsoft Dynamics CRM 2013.
Скачать можно здесь http://www.microsoft.com/ru-ru/download/details.aspx?id=41546.

Ошибки, исправленные в накопительном пакете обновления 1 для Microsoft Dynamics CRM 2013:

  • Сбой публикации CRM отчета уже ссылки родительского отчета в другой отчет с таким же именем.
  • Недопустимый аргумент при переходе для просмотра при поиске связанной сущности.
  • Диаграмма (для любой другой сущности) не отображаются на корейском языке из-за System.ArgumentException: «Из»Malgun Gothic, Segoe UI, 9.5px»значение недопустимо для»единицы».»
  • При переходе от формы, возникает ошибка сценария. «Не удается получить свойство «get_filterType» не определено или значение null, ссылки»
  • Отключение поля флажок, с помощью API-интерфейса JavaScript не работает.
  • Создание рабочего процесса для обновления встречу с полями из о сбое поле интереса. «Произошла непредвиденная ошибка».
  • Скрытие раздела последнего поля не скрывает раздел. Скрытие последнего поля на вкладке вкладке не сворачивается.
  • Не удается создать автоматический полный адрес поля рабочих процессов, как пробелы и знаки табуляции, удаляются, если отсутствуют символы, такие как запятая.
  • Использование быстрого поиска в Outlook, а после этого выбрать расширенный поиск справа, несоответствующие условиям заполняется фильтра расширенного поиска.
  • Повторно импортировать существующие решения не с меткой для не задан код базового языка 1033.
  • Пользователей нельзя связать несколько записей одновременно для связи N:N.
  • CRM 2013 больше не предупреждает, что если вы собираетесь удалить родительскую запись что дочерние записи с набором delete cascade на их отношения к родительскому элементу, также будут удалены.
  • Не удается задать веб-ресурса для видимой в сценарии если Visible по умолчанию не задано в конструкторе.
  • You´ve создаются новые потоки бизнес-процессов и назначена роль безопасности «менеджер по продажам», «администратор» и «настройщик системы», поток процесса. Опубликовать данное изменение и ожидается, что процесс отображается только для этих ролей безопасности.Вместо этого ПФ скрыт для всех пользователей.Вместо этого ПФ скрыт для всех пользователей.
  • При вводе данных в форму кнопки «Сохранить» можно выбрать несколько раз что приводит к несколько из одной записи.
  • Настраиваемая длительность поля Xrm.Page.getAttribute(«durationfield»).getValue() метода возвращает форматированное значение минут like30, вместо 30, как ожидается.
  • При организации удаляется и затем немедленно импортировать обратно, мастер импорта организации неожиданно отображается предупреждение о несоответствие версий.
  • Автосохранение off: форму потеряет панель команд после перехода от и повторном открытии.
  • Рассмотрим созданный бизнес-процесс в случаях наличия в рабочей области задач, связанных с несколько шагов и вы хотите перевести все этапы для другого языка. Решение содержит задачи и случай сущности, а также бизнес-процесса. Экспорт файлов перевода и попробовать изменить их. Вы найдете все имена рабочей области из регистра сущности, но не удается найти те подзадачи, связанной с ней задачей. Поэтому не удается преобразовать их.
  • «Отправить ссылку» не перейти URL-адрес для указанной сущности, при открытии в существующую вкладку браузера.
  • Ошибки возникают при использовании другой стране форматов с атрибутами валюты.
  • При переходе на различные места в CRM, JavaScript исключения, сообщает «Объект».
  • Функция javascript .addCustomFilter не работает должным образом.
  • Вызвана событием, прежде чем удалить рабочий процесс нельзя импортировать в новую организацию.
  • Когда действие электронной почты с неразрешенными электронной почты получателя создается и сохраняется при загрузке по электронной почте, скрытые значения в ПОЛЕ, поле остается пустым.
  • Не удается увидеть «Индекс страницы» на subgrids из панели мониторинга.
  • Опубликованные настройки, изменения не развернуть мобильный клиент постоянно.
  • Возможная сделка закрыта, как реализовано не принимает пользовательские состояния во время закрытия.
  • Заметки элемент управления показывает время, но не Дата заметки, созданные до вчерашнего дня.
  • Мобильные клиенты сбой ошибка пользовательского интерфейса: «Приносим извинения. К сожалению что-то пошло не так во время инициализации приложения. Повторите попытку или перезапустите приложение»
  • Группа доступа не использует правильные метаданные, определяется представление расширенного поиска и таким образом происходит сбой в мобильных клиентов.
  • При создании нового сообщения электронной почты в веб-приложении Microsoft Dynamics CRM 2013 выясняется, невозможно изменить в поле Описание при использовании последней версии Google Chrome.

Вчера был запуск Visual Studio 2013, видео доступно здесь http://events.visualstudio.com/rus/launch-2013-event/

Завтра будет Запуск в Москве в Digital October, можно будет посмотреть онлайн  http://events.techdays.ru/VisualStudio-Launch/2013-11/

.


Скотт Хансельман опубликовал у себя в блоге серию скринкастов о том, что нового в Visual Studio 2013 для веб разработчика SCREENCASTS: What’s New in Visual Studio 2013 — learn over lunch!.

Так же командой ASP.NET опубликован полный список изменений в новой студии касательно ASP.NET и средств веб-разработки ASP.NET and Web Tools for Visual Studio 2013 Release Notes .

В Москве 15 ноября 2013 г. в бизнес-центре Digital October состоится Запуск Visual Studio 2013, регистрация на событие здесь.


Microsoft Dynamics CRM 2013 уже стала доступна в версии он-лайн!

Можно получить доступ прямо сейчас на 30 дней бесплатно.

 


Вышел накопительный пакет обновлений №15 (KB 2843571) для Microsoft Dynamics CRM 2011.
Скачать можно здесь http://www.microsoft.com/ru-ru/download/details.aspx?id=40346.

В накопительный пакет обновлений №15 для Microsoft Dynamics CRM 2011 вошли следующие изменения:

  • Новая функция, которая будет поставляться с Microsoft Dynamics CRM 2013 . Эта функция перемещает CRM клиентно-ориентированные нагрузки в свой ​​собственный процесс чтобы не делить память с процессом Microsoft Office Outlook. Эта функция также известна как изоляция процессов.
  • Обновления для сервера Microsoft SQL Server для Windows CE 4.0 для лучшего управления памятью, лучшего кэширования и улучшения подключений.
  • Обновление файлов конфигурации клиента CRM для Outlook, чтобы сделать файлы SDF клиента CRM для Outlook, совместимыми с SQL Server для Windows CE 4.
  • Создает провайдера адресной книги для уменьшения проблем с производительностью, которые вызваны большим адресным книгам.
  • Ограничивает количество активных открытых форм.
  • Обеспечивает MAPI Lock time-out.
  • It hard codes a previous registry setting that prevented pinned views from pulling down information to local SQL CE cache. This new DisableMapiCaching setting defaults to a value of 1. For more information about the behavior of this setting, see Slow Performance When Pinning Views in Microsoft Dynamics CRM
    Note This value can be overridden by modifying the DisableMapiCaching setting in the OrgDbOrgSettings tool if the critical update has been applied to the Dynamics CRM server. For more information, see OrgDBOrgSettings Tool for Microsoft Dynamics CRM 2011.

Как видно, почти все изменения касаются клиента для  Outlook.


Недавно сдал экзамен MB2-876 Extending Microsoft Dynamics CRM 2011.

Те кому лень могут сразу качать дамп здесь и зубрить а дальше я, в кратце расскажу, что надо знать и по чему я готовился.

Дамп, имеет комментарии почти к каждому ответу, хотя не все мне понятны. Я брал каждый вопрос из дампа и старался прорабатывать каждый вариант ответа правильный и неправильный.

Очень помогли заметки при подготовке MB2-876 Exam Study Notes некоего Jason Weibel, которые он выложил в своем блоге Microsoft CRM Geek.

Что покрывает экзамен описано на странице экзамена в разделе Skills Measured.

Вот некоторые вещи, которые я выделил для себя на отдельном листе когда готовился к экзамену.

Библиотеки

Для работы с Microsoft Dynamics CRM 2011 есть несколько библиотек: Microsoft.Crm.Sdk.Proxy.dll, Microsoft.Xrm.Sdk.dll, Microsoft.Xrm.Sdk.Workflow.dll, Microsoft.Crm.Tools.EmailProviders.dll, Microsoft.Xrm.Sdk.Deployment.dll, все остальное неймспейсы, поэтому когда спрашивают файл надо указывать файл.

Assembly name Description
Microsoft.Crm.Sdk.Proxy.dll Defines requests and responses for messages business data model specific (non-core) messages as well as enumerations required for working with organization data.
Microsoft.Crm.Sdk Contains enumerations of possible picklists and integer values for some attributes. The naming convention of the classes is <EntityName><AttributeName> to make it easier to locate the specific attribute.
Microsoft.Crm.Sdk.Messages Contains request and responses for business data model specific (non-core) messages.
Microsoft.Xrm.Sdk.dll Defines the core xRM methods and types, including proxy classes to make the connection to Microsoft Dynamics CRM simpler, authentication methods, and the service contracts.
Microsoft.Xrm.Sdk Defines the data contracts for attribute types, interfaces for authoring plug-ins, and other general purpose xRM types and methods.
Microsoft.Xrm.Sdk.Client Defines classes for use by client-code, including a data context, proxy classes to ease the connection to Microsoft Dynamics CRM, and the LINQ provider.
Microsoft.Xrm.Sdk.Discovery Defines all classes required to communicate with the Discovery Service, including the service contract, all request/responses and supporting classes.
Microsoft.Xrm.Sdk.Messages Defines request/response classes for Create, Retrieve, Update, Delete, Associate , Disassociate, and the metadata classes.
Microsoft.Xrm.Sdk.Metadata Defines the data contracts for Microsoft Dynamics CRM metadata.
Microsoft.Xrm.Sdk.Query Defines query classes required to connect to Microsoft Dynamics CRM.
Microsoft.Xrm.Sdk.Workflow.dll Defines types and methods required to author a custom workflow activity.
Microsoft.Xrm.Sdk.Workflow Defines the attribute and dependency property classes required to author a custom workflow activity.
Microsoft.Xrm.Sdk.Workflow.Activities Defines the workflow activities that are used by the Microsoft Dynamics CRM workflow designer.
Microsoft.Xrm.Sdk.Workflow.Designers Defines a Microsoft Visual Studio designer for displaying a Microsoft Dynamics CRM workflow in Visual Studio.
Microsoft.Crm.Tools.EmailProviders.dll Defines methods and types needed for developing a custom email provider component for the Microsoft Dynamics CRM Email Router.
Microsoft.Crm.Tools.Email.Management Defines the email provider management types.
Microsoft.Crm.Tools.Email.Providers Defines the base class for a custom email provider and supporting types.
Microsoft.Xrm.Sdk.Deployment.dll Defines types and methods for interacting with the Deployment Web Service.
Microsoft.Xrm.Sdk.Deployment Defines the data contracts necessary to communicate with the Deployment Web Service.
Microsoft.Xrm.Sdk.Deployment.Proxy
Defines a helper class to generate a proxy for the Deployment Web Service.

Плагины

IOrganizationService is the primary web service for accessing data and metadata in Microsoft Dynamics CRM 2011 is the Organization web service.
IDiscoveryService is a single Microsoft Dynamics CRM installation can host multiple organizations on multiple servers therefore it is important to specify which organizations need to be accessed. The Discovery Web service returns a list of the organization the specified user belongs to and the URL endpoint address for each organization.
Messages: Assign, Create, Delete, Merge, Retrieve, RetrieveMultiple, SetState, Update.
Event
Stage name
Stage number
Description
Pre-Event
Pre-validation
10
Stage in the pipeline for plug-ins that are to execute before the main system operation.
Plug-ins registered in this stage may execute outside the database transaction.
Pre-Event
Pre-operation
20
Stage in the pipeline for plug-ins that are to execute before the main system operation.
Plug-ins registered in this stage are executed within the database transaction.
Post-Event
Post-operation
40
Stage in the pipeline for plug-ins which are to execute after the main operation.
Plug-ins registered in this stage are executed within the database transaction.

Отличие REST и SOAP

REST and SOAP Endpoints
Developers can use JScript and Silverlight Web resources to access Microsoft Dynamics CRM data from inside the application. There are two web services available, each provides specific strengths. The following table describes the appropriate web service to use, depending on the task that you have to perform.
Task Web Service
Create, Retrieve, Update and Delete records. REST Endpoint
Associate and Disassociate records REST Endpoint
Assign Records SOAP Endpoint
Retrieve Metadata SOAP Endpoint
Execute Messages SOAP Endpoint

Both Web services rely on the authentication provided by the Microsoft Dynamics CRM application. They cannot be used by code that executes outside the context of the application and they are effectively limited to use within Silverlight, JScript libraries, or JScript that is included in Web Page (HTML)

Microsoft Dynamics CRM 2011 supports two authentication methods: Basic Claims Authentication and Active Directory Authentication.

Веб-ресурсы

File File extensions Type
Webpage (HTML) .htm, .html 1
Style Sheet (CSS) .css 2
Script (JScript) .js 3
Data (XML) .xml 4
Image (PNG) .png 5
Image (JPG) .jpg 6
Image (GIF) .gif 7
Silverlight (XAP) .xap 8
StyleSheet (XSL) .xsl, .xslt 9
Image (ICO) .ico 10

 

Типы полей

Не путайте тип даных и тип поля, например OptionSetValue это тип данных для поля Option Set.
When creating custom fields in Microsoft Dynamics CRM (CRM), the following data types are available to you as a customizer.
Single Line of Text – This is the simplest field type and is a string attribute.  The length can be defined between 1 and 4000 characters.  This field has special formatting if desired for storing Email, Text Area, Ticker Symbol, and Url.  Using email will create a mailto link for that field.  Ticker Symbol will provide a quote for the ticker entered into the field when the value is clicked.  Url will display a link to the value entered in the field.  Text Area can be displayed as more than one line on the form.
Option Set – This is commonly referred to as a pick list or drop down field.  A user is only allowed to select from the choices provided.  A “blank” value is acceptable.  A default value can also be defined.  NOTE: If you have an option set that will be used on other entities in your deployment, you will want to create a global option set for system consistency.
Two Options – This is similar to an option set but only contains two values, Zero (0) and One (1).  The display of those values can be changed to represent whatever you like. No (0) and Yes (1) are common display values for this field.  Another interesting note about this field is that it can be displayed on the form as a pick list, radio buttons, or check box.  The value is set in the form designer after the field is placed on the form.
Multiple Lines of Text – This field is similar to Single Line of Text, however, it can store much more data than Single Line of Text.  This field will be displayed as more than one line on the form.
Date and Time – This field stores date and time data.  You can choose to have both the Date and Time displayed or only the Date portion.
Lookup – This field represents a link to another entity.  It will create a 1:N relationship in the database with this field representing the “1” side of the relationship.
The fields below are different ways to store numerical values in CRM.  In all cases, you can set minimum and maximum values.  This is valuable if you want to constrain data entry to non-negative values or from 0 to 100 for example.  The minimum and maximum values are different for each data type and are set at the minimum and maximum range when the field is created.
Whole Number – This field allows you to store round (or whole) numbers, meaning no decimal points.  The whole number field has different types which can be selected for Duration (activity), Time Zone, and Language (multilingual support).
Floating Point Number – This field allows for numeric values with up to five (5) decimal points.  The precision of this field is arbitrary, which means it can be used to represent both very large numbers as well as very small numbers.
Decimal Number – This field stores numeric values with up to ten (10) decimal points.  The precision of this field is absolute.
Currency – This field is used to store monetary values.  Based on your currency settings, the correct currency symbol is also displayed such as the dollar sign or euro symbol.  It can also hold up to four (4) decimal points.

Роли безопасности

Privilege
Description
Create
Create an entity instance.
Write
Change entities instances.
Delete
Remove an entity instance.
Read
View entities.
Append
Associate a selected entity instance to another entity instance.
Append To
Associate another entity instance to this entity instance.
Assign
Give ownership of an entity instance to another user.
Share
Give access to entity instances to another user and maintain ownership.
Reparent
Assign a different parent to an entity instance.

Windows Azure

Что касается вопросов по Windows Azure то мы можем использовать AppFabric Service Bus для связи с облачными приложениями, соединяться можно с помощью Access Control Services (ACS) или Active Directory Federation Services 2.0 (ADFS) и это все.


Участникам программы дорелизного тестирования (Dynamics CRM Pre-Release Program) стал доступен релиз-кандитат Microsoft Dynamics CRM 2013 RC1 build.

Видимо, где-то к ноябрю увидим релиз.

Ходят слухи, что релиз будет 20-го октября, но неизвестно это только для версии On-Line или для On-Premises тоже.


На сайте Microsoft стал доступен для скачивания документ под названием «Microsoft Dynamics CRM 2013 Release Preview Guide» описывающий что же такого нового будет в новом релизе Microsoft Dynamics CRM 2013.

Скачать можно здесь или копию с моего сайта Release Preview Guide September 2013.