42 Wednesday, January 4, 2017 |
Suresh Maurya
Dynamics CRM Consultant at IBM

Lead Management: Qualifying Lead To Opportunity

To qualify a Lead to Opportunity, follow these steps:

  • On the Navigation Bar, click SALES and then click LEADS.
  • In the Leads view, select and open the a lead record.
  • In the Command Bar, click Qualify. If the Duplicate Warning dialog appears, click Continue.

Microsoft Dynamics CRM 2011: Multiple Forms

Demonstration of how to add additional forms for entities in Dynamics CRM 2011
 
 

 

Dynamics CRM 2011 : Charts and Dashboards

Opportunity : Related Record To Opportunity

  • Products: View existing products that are part of the Opportunity. For example, the customer might be deciding to purchase a Mountain Bike as part of this Opportunity. This would be seen and managed within this section.
  • Activities: View existing activities or create a new activity for the Opportunity record.
  • Documents: Add a document location associated with the Opportunity record by specifying a URL of an existing SharePoint folder.
  • Connections: Add to the record an individual who has a certain role or relationship to the record.
  • Audit History: View the edit history of the Opportunity record. This also captures the date and time of the modification, along with the old and new values of the specified fields.

Organization Service in Microsoft Dynamics CRM

Organization service is available since Microsoft Dynamics CRM 2011 and is mainly used for server side development i.e. code running on Microsoft Dynamics CRM server.

Key points about Organization service:

  • Implements IOrganizationService interface.
  • Organization service is also know as SOAP endpoint.
  • Microsoft Dynamics CRM uses Windows Communication Foundation (WCF) to SOAP endpoint.
  • It is the primary web service for accessing data and metadata from Microsoft Dynamics CRM organization.
  • It is built on WCF and optimized for use with the .Net.
  • Organization service request and response has SOAP format.
  • Microsoft Dynamics CRM SDK provides assemblies and tools to generate strongly typed classes and proxies to simplify developement in Microsoft Visual Studio.
  • Maximum 5000 records can be returned in a single query.

Methods available in Organization service:

  • Create :  Creates record in the organization.
  • Retrieve : Retrieves a single record from the organization.
  • Retrieve Multiple : Retrieves multiple records from the organization.
  • Update : Updates a record in the organization.
  • Delete : Deletes a record in the organization. 
  • Associate : Creates a link between two records.
  • Disassociate : Removes a link between two records.
  • Execute : Executes a requested operation.

Organization service usage:

  • For Accessing data and metadata from Microsoft Dynamics CRM instance.
  • For performing CRUD operations from custom applications, plug-ins and workflows.
  • For integrating Microsoft Dynamics CRM with other applications like ERP.
  • For building custom user interfaces for Dynamics CRM.
  • Portal development
  • Mobile application development for Dynamics CRM

Organization service endpoint URLs

Organization service endpoint URL for Microsoft Dynamics CRM organization can be found at:

 Settings > Customizations > Developer Resources

For Microsoft Dynamics CRM online

https://OrganizationName.api.crm.dynamics.com/XrmServices/2011/Organization.svc (North America)

https://OrganizationName.api.crm4.dynamics.com/XrmServices/2011/Organization.svc (EMEA)

https://OrganizationName.api.crm5.dynamics.com/XrmServices/2011/Organization.svc (APAC)

https://OrganizationName.api.crm2.dynamics.com/XrmServices/2011/Organization.svc (South America)

https://OrganizationName.api.crm6.dynamics.com/XrmServices/2011/Organization.svc (Oceania)

https://OrganizationName.api.crm7.dynamics.com/XrmServices/2011/Organization.svc (Japan)

https://OrganizationName.api.crm8.dynamics.com/XrmServices/2011/Organization.svc (India)

https://OrganizationName.api.crm9.dynamics.com/XrmServices/2011/Organization.svc (North America 2)

For on-premises Microsoft Dynamics CRM

http[s]://ServerName/OrganizationName/XRMServices/2011/Organization.svc 

 

Sales Literature: Create Sales Literature

The Sales Literature area provides a way to add, remove, and manage documents associated with products and services.

To create sales literature in Microsoft Dynamics CRM, follow these steps:

  • On the Navigation Bar, click Sales and then click Sales Literature.
  • In the Command Bar, click New.
  • In the General section of the form, enter the following information as appropriate and observe any noted restrictions or requirements as needed:
    • Title: This is a required field.
    • Subject: Type the subject or click the Lookup button and select the subject. If no subjects are listed, select Default Subject. This is a required field.
    • Type: Select from the drop-down list.
    • Employee contact
    • Expiration Date
    • Description: Type any detailed information that must be highlighted in the sales literature.
  • In the Command Bar click SAVE.

Managing Goals - Microsoft Dynamics CRM 2011

This video goes through the process of managing Goals in Dynamics CRM 2011. The video explains the key terms and goes through how to manage goals and where they are on the CRM 2011 dashboards.

CRM 2011 Global Option Sets

If you ever had to manually synch up the values in a similar picklist on two different entity forms in CRM 4.0, you will like global option sets in CRM 2011. If you ever had to do it for three picklists on three entity forms in CRM 4.0 you will LOVE global option sets in CRM 2011.

Microsoft Dynamics CRM: Static Marketing Lists

Retrieve Records In Dynamics CRM Using FetchXML

Following example demonstrates how to retrieve records in dynamics crm using FetchXML.

Connection string

<connectionStrings>
<add name="connection" connectionString="Url=https://org.crm.dynamics.com; Username=user@org.onmicrosoft.com; Password=password;"/>
</connectionStrings>

C# 

using Microsoft.Xrm.Client.Services;
using Microsoft.Xrm.Sdk;
using Microsoft.Xrm.Sdk.Query;
using System;

namespace CrmSampleCodes
{
class Program
{
static void Main(string[] args)
{
IOrganizationService _service = new OrganizationService("connection");

// Create query using FetchXML.
string fetch = @"
<fetch mapping='logical'>
<entity name='account'>
<attribute name='accountid'/>
<attribute name='name'/>
</entity>
</fetch>";

EntityCollection retrieved = _service.RetrieveMultiple(new FetchExpression(fetch));
System.Console.WriteLine("Query Using FetchExpression");
System.Console.WriteLine("===============================");

// Iterate through returned collection.
foreach (var c in retrieved.Entities)
{
System.Console.WriteLine("Name: " + c.Attributes["name"]);
}
System.Console.WriteLine("===============================");
}
}
}

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);

}

Color Grid for Dynamics 365

Color Form for Dynamics 365