AXForum  
Zurück   AXForum > Microsoft Dynamics CRM > Dynamics CRM: Blogs
All
Kennwort vergessen?
Registrieren Forum Rules Hilfe Benutzerliste Heutige Beiträge Suchen

 
 
Themen-Optionen Thema durchsuchen Ansicht
Alt 17.02.2010, 00:05   #1  
Blog bot ist offline
Blog bot
Участник
 
25.646 / 848 (80) +++++++
Registriert seit: 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, напишите личное сообщение администратору.
 

Ähnliche Themen
Thema Autor Forum Antworten Letzter Beitrag
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

Forumregeln
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
Es ist Ihnen nicht erlaubt, Anhänge hochzuladen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Gehe zu

Рейтинг@Mail.ru
Alle Zeitangaben in WEZ +3. Es ist jetzt 06:20 Uhr.
Powered by vBulletin® Version 3.8.5 (Deutsch)
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.