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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 31.05.2011, 22:11   #1  
Blog bot is offline
Blog bot
Участник
 
25,497 / 847 (79) +++++++
Регистрация: 28.10.2006
Microsoft Dynamics CRM Team Blog: Using Option Set Options with the REST Endpoint – JScript
Источник: http://blogs.msdn.com/b/crm/archive/...t-jscript.aspx
==============

I recently published a new technical article for Microsoft Dynamics CRM 2011 and Microsoft Dynamics CRM Online: Using Option Set Options with the REST Endpoint – JScript.

This article is about using option set attribute metadata to:

  • Display text for integer values returned for option sets
  • Display valid options for user interface controls to allow editing records
These tasks are presented in the context of a sample JScript library that can be used to generate a simple user interface with an HTML Web resource. This is the UI for a page displaying Contact entity records:



This sample is only intended to illustrate the strategy described in the article. It is intentionally as simple as I could make it while still covering the core tasks to create, retrieve, update and delete records containing option set attributes. Along the way I also used attribute metadata to manage:

  • Setting default values for new records
  • Enforcing required fields
  • Preserving the integrity of auditing data by only updating attributes that are changed
If you need to create a user interface to edit Microsoft CRM record I hope this article helps you identify the attribute metadata you can use.

Cheers,

Jim Daly







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

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
Microsoft Dynamics CRM Team Blog: Released! Customer Care Accelerator for Microsoft Dynamics CRM 2011 Blog bot Dynamics CRM: Blogs 0 13.05.2011 23:12
axinthefield: Dynamics AX Event IDs Blog bot DAX Blogs 0 01.03.2011 22:11
Microsoft Dynamics CRM Team Blog: Microsoft Dynamics CRM Online Upgrades Blog bot Dynamics CRM: Blogs 0 12.02.2011 00:11
Microsoft Dynamics CRM Team Blog: Microsoft Dynamics CRM 4.0 Bookshelf Blog bot Dynamics CRM: Blogs 1 22.01.2009 04:46
Microsoft Dynamics CRM Team Blog: Workflow E-mail Utilities Blog bot Dynamics CRM: Blogs 0 16.12.2008 23:05

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

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

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