1598 Wednesday, July 26, 2017 |
Suresh Maurya
Dynamics CRM Consultant at IBM

FREE - 12 Azure eBooks Collection

Introducing Windows Azure™ for IT Professionals

PDF 
MOBI 
EPUB

 

Microsoft Azure Essentials Azure Automation

PDF 
MOBI 
EPUB

Microsoft Azure Essentials Azure Machine Learning

PDF 
MOBI 
EPUB

Microsoft Azure Essentials Fundamentals of Azure

 PDF 
MOBI 
EPUB

Microsoft Azure Essentials Fundamentals of Azure, Second Edition

PDF

Microsoft Azure Essentials Fundamentals of Azure, Second Edition Mobile

PDF

Microsoft Azure Essentials Migrating SQL Server Databases to Azure – Mobile

PDF

Microsoft Azure Essentials Migrating SQL Server Databases to Azure 8.5X11

PDF

Microsoft Azure ExpressRoute Guide

PDF

Overview of Azure Active Directory

DOC

 

Rapid Deployment Guide For Azure Rights Management

 

PDF

Rethinking Enterprise Storage: A Hybrid Cloud Model

PDF 
MOBI 
EPUB

Suresh Maurya
test

What is meant by solution and how and where it maintained in CRM?

A Solution is a container for components that make up a particular customization project. By keeping track of all the components of a single Solution, package, and maintain units of software that extend Microsoft Dynamics CRM

  1. When a Solution is exported or imported, all components are transferred.
  2. Version control is maintained
  3. Security specific to the Solution is applied to the correct entities.

[Job] - Accenture: Microsoft Dynamics CRM, India

Accenture

Company: Accenture

Location: Hyderabad

- Job description

"Role:- Developer
Years of experience:- 3 to 4 years
 
Must to have:-
• Plug-in - custom workflow activities, ribbon customizations, Silverlight, CRM Developer Toolkit
• Exposure to any development framework
• Should be able to create and debug Plugins - Should be able to create and debug Custom Workflow activities
• Should be able to do Ribbon customization - Understanding of Solutions - Understanding of the security in Dynamics CRM
• Should have understanding of using Developer Toolkit for Dynamics CRM
 
Good to have:
• Strong design and development skills
• Ability to design and develop flows
• Effectively communicates to internal and external stake-holders"

- Basic qualifications

Full Time Graduation

Organization Service Context Class in Microsoft Dynamics CRM

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

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

Advantages of OrganizationServiceContext

  • It lets you track changes, manage identities and relationships.
  • Allows LINQ queries against Microsoft Dynamics CRM data.
  • Tracked changes can be commited in a single request with OrganizationServiceContext.Save method.

Generate OrganizationServiceContext class

To generate this class, provide a value for the /serviceContextName parameter when you generate early bound types.

For On-premises

CrmSvcUtil.exe /url:http://<serverName>/<organizationName>/XRMServices/2011/Organization.svc    /out:<outputFilename>.cs /username:<username> /password:<password> /domain:<domainName>    /namespace:<outputNamespace> /serviceContextName:<serviceContextName>

 

For Microsoft Dynamics CRM Online

CrmSvcUtil.exe /url:https://<organizationUrlName>.api.crm.dynamics.com/XRMServices/2011/Organization.svc    /out:<outputFilename>.cs /username:<username> /password:<password>     /namespace:<outputNamespace> /serviceContextName:<serviceContextName>

Using OrganizationServiceContext class

To instantiate the context class, you must pass the class constructor an object that implements the IOrganizationService interface.

With OrganizationService

//connection is the connection string name in config file
IOrganizationService _service = new OrganizationService("connection"); AdventureWorksCycleServiceContext context = new AdventureWorksCycleServiceContext(_service);

With OrganizationServiceProxy

//For early bound types to work correctly, they have to be enabled on the proxy.
_serviceProxy.EnableProxyTypes();
AdventureWorksCycleServiceContext context = new AdventureWorksCycleServiceContext(_serviceProxy);

After you create the organization service context object, you can begin to track create, modify, or delete entities. For example, the following code example shows how to instantiate a new contact, and then save it to a Microsoft Dynamics CRM server by using the service context object.

//  Create a new contact record;
AdventureWorksCycleServiceContext context = new AdventureWorksCycleServiceContext (_serviceProxy);
Contact contact = new Contact() 
 {
   FirstName = "Pamela",
   LastName = "Brown",
   Address1_Line1 = "123 Easy St.",
   Address1_City = "Atlanta",
   Address1_StateOrProvince = "GA",
   Address1_PostalCode = "32254",
   Telephone1 = "425-555-5678"   };
context.AddObject(contact);
context.SaveChanges();

 

 

What is Plugin Profiler?

Plug-in Profiler is a tool that profiles the execution of plug-ins for an enhanced debugging experience in Microsoft Visual Studio. Thistool can be used in either the debug or replay mode.

  1. This can be run from the Command Prompt window or from within the Plug-in Registration tool, makes developing plug-ins against Microsoft Dynamics CRM and Microsoft Dynamics CRM Online quicker and easier.
  2. In the tool's main window, select Install Profiler. You will now see a Plug-in Profiler node in the list.
  3. Select a plug-in step and click Profile to enable profiling.
  4. Perform the operation in Microsoft Dynamics CRM that causes the plug-in to run. For example, if the step is configured for an update to an account, then update an account.
  5. After the plug-in throws an exception and the Business Process Error dialog is displayed, click Download Log File and save this file. Alternately, if the plug-in does not throw an exception, click Stop Profiling.

Microsoft Dynamics Social CRM

Control Tower for CRM User Adoption

When companies contact us to help them solve their end user adoption problems, of course we try to understand the scope of the problem right away. Unfortunately many (most?) companies can't even quantify exactly how many users utilize the system on a daily, weekly, monthly basis. The CRM administrators are stuck tracking down rumors and myths about their system usage, and these half-truths make the research nearly impossible. Even worse, the administrators can't even quantify whether or not any changes they make to improve the system really improve end user adoption! To help solve these problems, we built our proprietary Azure-hosted application Control Tower that accurately measures and quantifies end user adoption on a day-by-day basis. By deploying Control Tower in your Microsoft Dynamics CRM deployment, you have the objective data you need to measure and drastically improve your end user adoption.

Microsoft Dynamics CRM Spring '14 Service Management Overview

Microsoft Dynamics CRM: Static Marketing Lists

Retrieve Records In Dynamics CRM Using QueryExpression

Following example demonstrates how to retrive records in dynamics crm using QueryExpression.

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 QueryExpression.
QueryExpression queryExpression = new QueryExpression("account");
queryExpression.ColumnSet = new ColumnSet("name", "address1_city", "emailaddress1");

queryExpression.Criteria.AddCondition("address1_city", ConditionOperator.Equal, "Redmond");

// Query passed to service proxy.
EntityCollection retrieved = _service.RetrieveMultiple(queryExpression);

System.Console.WriteLine("Query Using QueryExpression");
System.Console.WriteLine("===============================");

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

if (c.Attributes.Contains("address1_city"))
System.Console.WriteLine("Address: " + c.Attributes["address1_city"]);

if (c.Attributes.Contains("emailaddress1"))
System.Console.WriteLine("E-mail: " + c.Attributes["emailaddress1"]);
}
System.Console.WriteLine("===============================");
}
}
}

Recursive Workflow for Case Escalation

Color Grid for Dynamics 365

Color Form for Dynamics 365