214 Monday, May 30, 2016 |
Msxrmtools Publisher
Publisher at Msxrmtools

[Job] - TCS: Dynamics CRM Developer, India


Company: Tata Consultancy Services

Location: Kolkata, India

 

  

Job Title: Dynamics CRM Developer

Job ID: 89812

Experience Required: 3 - 6 Years

Job Role: Developer

Qualification Required: BACHELOR OF COMPUTER APPLICATION, BACHELOR OF COMPUTER SCIENCE, BACHELOR OF ENGINEERING

Skills Required: Enterprise Solutions and Frameworks - Microsoft Dynamics CRM

Job Description: "Candidate should be extremely sound in Dynamics CRM entities , workflows , configurations , customization development , integrations development • Sound in core NET technology and SSRS • Proficient on CRM Functional areas in Sales Force Automation , Marketing automation and Service management functionality "

Opportunity : System Calculated Pricing

If System Calculated is selected, an Opportunity record can be saved without specifying a price list.


However, Opportunity Products cannot be added to an opportunity (in the Line Items section of the form) without first specifying the price list. And since the Est. Revenue field is calculated as the total of all opportunity product records for the opportunity, opportunity products must be added in order to reflect a value in the Est. Revenue field.

Editing Dynamics CRM data in Excel

Disassociate Records in Dynamics CRM - Late Bound

Following example demonstrates how to disassociate record in dynamics crm

public static void DisassociateContactsToAccount(EntityReference contact, EntityReference account, IOrganizationService service) {

// Creating EntityReferenceCollection for the Contact
EntityReferenceCollection relatedEntities = new EntityReferenceCollection();

// Add the related entity contact
relatedEntities.Add(contact);

// Add the Account Contact relationship schema name
Relationship relationship = new Relationship("contact_customer_accounts");

// Disassociate the contact record to Account
service.Disassociate(account.LogicalName, account.Id, relationship, relatedEntities);

}

Product Taxonomy Administration in Microsoft Dynamic CRM 2015

Multiple Ways To Connect To Microsoft Dynamics CRM Using Organization Service, Proxy and Context

Microsoft Dynamics CRM can be connected programmatically using following:

  • Organiation Service
  • Organization Service Proxy
  • Organization Service Context 

Using Organization Service

Simplest way of connecting to Microsoft Dynamics CRM is using OrganizationService.

OrganizationService constructor can take connection string or CrmConnection object as parameter.

public OrganizationService(string connectionStringName);
public OrganizationService(CrmConnection connection);

Method 1

Pass the connection string name to constructor.

IOrganizationService service = new OrganizationService("connection");

Entity entity = new Entity("account");
entity.Attributes["name"] = "This is my sample account";

service.Create(entity); 

Method 2

In CrmConnection constructor pass the connection string name, which further should be passed in OrganizationService constructor.

CrmConnection connection = new CrmConnection("connection");
IOrganizationService service = new OrganizationService(connection); //System.configuration

Entity entity = new Entity("account");
entity.Attributes["name"] = "This is my sample account";

service.Create(entity); 

CrmConnection requires following additional assembly to be referenced.

System.configuration 

Method 3

Use CrmConnection.Parse method to create CrmConnection object and pass that to OrganizationService constructor.

string connString="Url=http://crm.contoso.com/xrmContoso; Domain=CONTOSO; Username=jsmith; Password=passcode;";

CrmConnection connection = CrmConnection.Parse(connString);
IOrganizationService service = new OrganizationService(connection); //System.configuration

Entity entity = new Entity("account");
entity.Attributes["name"] = "This is my sample account";

service.Create(entity);

Using Organization Service Proxy

OrganizationServiceProxy class provides a proxy to connect to Microsoft Dynamics CRM.

Use following constructor to create the proxy.

public OrganizationServiceProxy(
Uri uri,
Uri homeRealmUri,
ClientCredentials clientCredentials,
ClientCredentials deviceCredentials
)
Parameter Description
uri The URI of the organization service.
homeRealmUri

This parameter is set to a non-null value when a second ADFS instance is configured as an identity provider to the ADFS instance that Microsoft Dynamics CRM 2011 has been configured with for claims authentication. The parameter value is the URI of the WS-Trust metadata endpoint of the second ADFS instance.

Pass null in this case

clientCredentials The logon credentials of the client.
deviceCredentials

The Windows Live ID device credentials.

Pass null in this case

Following sample code connects to Microsoft Dynamics CRM using OrganizationServiceProxy

Uri oUri = new Uri("https://yourorg.api.crm5.dynamics.com/XRMServices/2011/Organization.svc");
//** Your client credentials
ClientCredentials clientCredentials = new ClientCredentials();
clientCredentials.UserName.UserName = "YourAccount.onmicrosoft.com";
clientCredentials.UserName.Password = "YourPassword";

//Create your Organization Service Proxy
OrganizationServiceProxy _serviceProxy = new OrganizationServiceProxy( oUri, null, clientCredentials, null);

//** Now simple use Entity and create a sample account
Entity entity = new Entity("account");
entity.Attributes["name"] = "This is my sample account";

//use the service proxy to create the entity object
_serviceProxy.Create(entity);
}

Using Organiation Service Context

OrganizationServiceContext is alternative to OrganizationServiceProxy to connect to Microsoft Dynamics CRM programmatically.

To create OrganizationServiceContext object pass IOrganizationService object to constructor.

IOrganizationService service = new OrganizationService("connection");
OrganizationServiceContext context = new OrganizationServiceContext(service);

Entity entity = new Entity("account");
entity.Attributes["name"] = "This is my sample account";

context.AddObject(entity);
context.SaveChanges();

context.AccountSet.ToList().ForEach(a => Console.WriteLine(a.Name));

OrganizationServiceContext class can be generated by the code generation tool (CrmSvcUtil.exe). 

 

Microsoft Dynamics Crm: Adding A New User

What's New in CRM 2011 - Dialogs

In the eighth installment of Sonoma Partner's 10-part series, we will highlight a new feature in Microsoft CRM 2011- Dialogs, a visual workflow to guide users to entering CRM data.

Lead Management: Lead To Opportunity Process Ribbon contd.

  • Develop
    • Customer Need
    • Proposed Solution
    • Identify Stakeholders
    • Identify Competitors
  • Propose
    • Identify Sales Team
    • Develop Proposal
    • Complete Internal Review
    • Present Proposal

Installation and Configuration for Microsoft Dynamics Marketing Connector for Microsoft Dynamics CRM

Activity Feeds Configure (3 of 5): Dynamics CRM 2011

This snack explains how activity feeds allows users to stay up to date on the CRM records that are most important to them. After you complete this snack you will be able to:

• Install activity feeds

• Configure entities for activity feeds

• Disable activity feeds rules

• Auto post activity feeds

Color Grid for Dynamics 365

Color Form for Dynamics 365