AXForum  
Вернуться   AXForum > Microsoft Dynamics CRM > Dynamics CRM: Blogs
All
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 09.09.2011, 17:11   #1  
Blog bot is offline
Blog bot
Участник
 
25,475 / 846 (79) +++++++
Регистрация: 28.10.2006
Microsoft Dynamics CRM Team Blog: Microsoft Dynamics CRM – Building Consistency into Free Form Text Fields
Источник: http://blogs.msdn.com/b/crm/archive/...xt-fields.aspx
==============

The following is a guest blog post by Dynamics CRM MVP Jerry Weinstock who is the Business Development Manager at CRM Innovation. Jerry has been working with CRM since the 1.2 release in 2003. CRM Innovation builds Email, Marketing and Event Management solutions for Microsoft Dynamics CRM. Twitter: @crminnovation.

In Microsoft Dynamics CRM there are in a few core entities where the Primary Attribute field is a nvarchar Text field that the user must complete. These fields are system required and you are unable to edit them to change their type. Additionally, since they are required fields the record cannot be saved until it contains some data. The fields do not lend themselves to a consistent data entry format due to the nature of them being free form text fields.

For example, in the grid view shown below for the Opportunity entity the first column represents the Topic field in the form, which is the primary field. While this allows the CRM user great flexibility in data entry, it all but eliminates any possibility of easy sorting or filtering.



While Free Form Text Fields provide significant advantages, they fall short in being able to serve up the information to the user in an organized presentation.

Text Field Advantages:

  • adapts to any situation – users can enter anything they want that is relevant to the record
  • very descriptive relevant data – they can be verbose
Text Field Disadvantages:

  • Sorting – no organized format enforced so it’s nearly impossible to sort
  • Filtering – common terms or spelling are not enforced
  • Scanning – data can’t be presented in subgroups which makes it hard on the eyes
  • Irrelevant – users can enter anything they want which can often include unnecessary info
If we look at a few of the Core Records in the CRM system, some lend themselves to free form text entry and others have primary fields that could benefit by consistent data formatting.



The ones that lend themselves to building in data consistency are Case and Opportunity. The solution is to insert some Jscript in the OnLoad and OnChange events for the entity so that we can concatenate data from other fields into the primary key field.

For example in the Opportunity entity if we concatenate ID Status (a custom field) and Potential Customer into the Topic field you get this view in the record.



After implementing the concatenation you then end up with a grid view that is easily sortable, scan-able and if necessary filterable.



Implementing the same type of concatenation in the Case entity builds a “Customer – Subject” consistency into the Case Description Field. In this example, the concatenated field is set to read only so that user cannot edit the description.



Then you get consistent view of open cases in the grid view as follows:



Moving away from the core CRM records this technique can be applied to the Recurring Appointment activity by concatenating the Engagement Type (custom field) and the Required Participant.



The Jscript code to write for the concatenation is not that extensive, a snippet follows for the Case example above.

There are a many advantages to managing the data that goes into some of the system-required fields by pre-filling them in via concatenation to provide uniform, consistent, and highly scan-able records. It will make records that are outliers jump off the screen and likely improve user efficiencies in entering form data.

I have shown one way to do it using Jscript which gives you immediate results, the Workflow Process in CRM is another way to accomplish it, albeit with a slight delay as Workflows are processed in the background.

Cheers,

Jerry Weinstock







Источник: http://blogs.msdn.com/b/crm/archive/...xt-fields.aspx
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
crminthefield: Overview: Microsoft Dynamics CRM 4.0 Update Rollup 17 Blog bot Dynamics CRM: Blogs 0 06.05.2011 09:11
Microsoft Dynamics CRM Team Blog: JScript IntelliSense for Form Script Libraries Blog bot Dynamics CRM: Blogs 0 07.04.2011 19:11
jodonnell: Microsoft Dynamics CRM 2011 Product Team feels the need for speed Blog bot Dynamics CRM: Blogs 0 18.02.2011 10:11
Microsoft Dynamics CRM Team Blog: Driving Success with the New Microsoft Dynamics Marketplace! Blog bot Dynamics CRM: Blogs 0 28.01.2011 00:12
Microsoft Dynamics CRM Team Blog: Building Rich-Client Dashboards for Microsoft Dynamics CRM with Windows Presentation Foundation Blog bot Dynamics CRM: Blogs 1 31.03.2009 13:24

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 07:09.
Powered by vBulletin® v3.8.5. Перевод: zCarot
Контактная информация, Реклама.