If you need to add Data to Dictionary now it’s easy because of LINQ in following code I have Illustrate it. In that I have retrieve data from CRM Entity call interest and I have add ID and Name to dictionary.
Showing posts with label CRM2011. Show all posts
Showing posts with label CRM2011. Show all posts
Wednesday, October 5, 2011
CRM2011 Data Filtering and retrieve
Following code illustrate how to Filter the data in the CRM and retrieve data from it in following code I have Select "Paidamount " form "Eventbooking" Entity for that I need to satisfy following criteria
PaidAmount should not null, Bookingstatus should be 2, StatusCode should be 1 and event id must have to equal to provide one of the top
PaidAmount should not null, Bookingstatus should be 2, StatusCode should be 1 and event id must have to equal to provide one of the top
Monday, October 3, 2011
Friday, August 19, 2011
Set and Get value from the CRM2011 optionset
In CRM 2011 Jscript its totally different than the CRM4 So today I will show you how to set and get data form an option set. Following codes are demonstrate that
Get Values from the CRM2011 Optionset
OptionField will be your attribute name
Set values to the CRM2011 Optionset
OptionField will be your attribute name
Get Values from the CRM2011 Optionset
Xrm.Page.getAttribute().getValue();
OptionField will be your attribute name
Set values to the CRM2011 Optionset
Xrm.Page.getAttribute().setValue('1');
OptionField will be your attribute name
