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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 21.10.2011, 04:13   #1  
Blog bot is offline
Blog bot
Участник
 
25,644 / 848 (80) +++++++
Регистрация: 28.10.2006
Dynamics CRM Tools: Tool Update : Searchable Property Updater for CRM 2011 (1.1.919.75)
Источник: http://mscrmtools.blogspot.com/2011/...y-updater.html
==============

One of my fellow MVP asked me for the possibility to display if an attribute is displayed on at least one entity form. This will ease the decision to make an attribute valid for advanced find.

I thought it was difficult because of the need to export a solution to get the xml of an entity forms.

But it can be achieved a lot more easily! Entity forms, in Microsoft Dynamics CRM 2011, are just like any other entity, so you can simply retrieve the forms with a simple QueryExpression (or QueryByAttribute, in my case).

The code sample:

QueryByAttribute qba = new QueryByAttribute("systemform");
qba.Attributes.AddRange("objecttypecode", "type");
qba.Values.AddRange(entityLogicalName, 2);
qba.ColumnSet = new ColumnSet(true);

EntityCollection ec = oService.RetrieveMultiple(qba);

So, this new version is much more useful since you can see easily if an attribute is used on a form, and you can also check only attributes used in at least one form by pressing a single button.





As usual, you can download, review, discuss or log issue for this tool one codeplex




Источник: http://mscrmtools.blogspot.com/2011/...y-updater.html
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
crminthefield: Podcast and Overview: Microsoft Dynamics CRM 2011 Update Rollup 4 Blog bot Dynamics CRM: Blogs 0 24.09.2011 01:16
crminthefield: Overview: Microsoft Dynamics CRM 4.0 Update Rollup 19 Blog bot Dynamics CRM: Blogs 0 26.08.2011 01:13
Microsoft Dynamics CRM Team Blog: Microsoft Dynamics CRM 2011 ~ Online Test Drive Guide Blog bot Dynamics CRM: Blogs 0 05.08.2011 20:13
Dynamics CRM Tools: New tool: Searchable Property Updater for Microsoft Dynamics CRM 2011 Blog bot Dynamics CRM: Blogs 0 22.02.2011 18:11
CRM DE LA CREME! Configuring Microsoft Dynamics CRM 4.0 for Internet-facing deployment Blog bot Dynamics CRM: Blogs 0 18.08.2009 11:05

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

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

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 11:59.