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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 17.02.2010, 00:05   #1  
Blog bot is offline
Blog bot
Участник
 
25,497 / 847 (79) +++++++
Регистрация: 28.10.2006
Muhammad Ali Khan: Show The Associated View On CRM Entity Load
Источник: http://malikhan.wordpress.com/2010/0...m-entity-load/
==============


Hello, Today i just want to share a small MS CRM JavaScript. As we know once any MS CRM Entity form load, the default view is the “Information” view of the entity, as see below for my account form.



What if i want to “Quotes” grid to appear as soon as the Account form is open. Well its really one line of JavaScript (First find the id of the left navigation node, thanks to the IE8, it is very easy now, press F12 to launch the debugger tools, find the element by “Search element by Click” option and there you have the element id as shown below)



So here is the script for the form OnLoad() event.

1: if(crmForm.FormType == 2) 2: { 3: document.getElementById('navQuotes').click(); 4: document.getElementById('_NA_Info').click(); 5: }and here is how my “Account” form once it loads( i also collapsed the “Details Node” for better view ability). Now once i double click any account in my main grid, by defaults, it loads the “Associated Quotes View” of the “Account”.



Cheers.



Источник: http://malikhan.wordpress.com/2010/0...m-entity-load/
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
Muhammad Ali Khan: Relating/Connecting MS CRM 4.0 Data With Custom External Content Type Data In SharePoint 2010 Blog bot Dynamics CRM: Blogs 0 04.02.2010 13:05
Muhammad Ali Khan: Using Business Connectivity Services(BCS) In SharePoint 2010 For Connecting To MS CRM 4.0 Blog bot Dynamics CRM: Blogs 0 25.01.2010 01:08
Muhammad Ali Khan: Add More Values to Duration(Drop-Down) In MS-CRM 4.0 Task Entity Blog bot Dynamics CRM: Blogs 0 24.01.2010 19:05
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, время: 20:28.
Powered by vBulletin® v3.8.5. Перевод: zCarot
Контактная информация, Реклама.