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

Microsoft Dynamics CRM Online 2015 Update 1 - Customizations New Features

What is meant by publisher?

Publisher is used to define the prefix for entity, field, relationship and web resource and order of option set for a solution.

Services required for debugging a Plugin?

a. Running the application in online mode - w3wp.exe
b. Running the application in offline mode - Microsoft.Crm.Application.Hoster.exe
c. Asynchronous Registered Plug-ins - CrmAsyncService.exe
d. Sandbox (Isolation Mode) - Microsoft.Crm.Sandbox.WorkerProcess.exe

Chart Visualization Overview (2 of 5): Dynamics CRM 2011

This Snack shows how to use chart designer to quickly and efficiently create graphs and charts to monitor business metrics in Microsoft Dynamics CRM 2011 At Training Material Completion After you complete this snack you will be able to:
 
• Add and delete entities
• Refresh the metadata
• Manage profiles
• Import and export profiles
 

 

Microsoft Dynamics CRM Online 2015 Update 1 - CRM SDK New Features

Round-Robin Lead Assigment: CRM4

How to Share a View in Dynamics CRM 2011

Learn how to share a view in Microsoft Dynamics CRM 2011 and Microsoft Dynamics CRM Online.

Microsoft Dynamics CRM 2015 Update 0.1 Full Text Search Quick Find Performance Feature

This video describes the new Full Text Search Quick Find feature released in 0.1 (Rollup 1) for Microsoft Dynamics CRM 2015 On Premise. Brief overview of how the end user will benefit from the new feature, the performance improvements and results from test carried out on Full text Search in CRM 2015 and infrastructure of the feature. http://community.dynamics.com/crm/default.aspx

Web API in Microsoft Dynamics CRM

Web API is introduced with Microsoft Dynamics CRM 2016 and will provide parity with the Organization service.

Key points about Web API:

  • Web API provides parity with Organization service with some limitations.
  •  It implements  OData (Open Data Protocol) version 4.0 which is an open standard for building and consuming RESTful APIs over rich data sources like DOC, HTML and PDF.
  • Because Web API is built on open standards therefore it's no necessary to use Microsoft Dynamics CRM provided libraries, third-party libraries can be used to generate classes. 
  • You can compose own Http requests as well. 
  • Wep API supports wide variety of programming languages (including .Net, C++, Java, JavaScript, Python), platforms and devices as compared to Organization service.
  • Web API will gradually replace Organization service and Organization Data service to become single web service for Microsoft Dynamics CRM.
  • Wep API Request and Response have JSON format, so its very easy to work with Wep API from JavaScript.
  • Authentication is provided by the application itself when used within web resources, form scripts and ribbon commands. 
  • Maximum 5000 records can be return for each request.

Web API Authentication 

Web API authentication with JavaScript

Authentication to Web API in JavaScript is provided by the application itself when used within

  • HTML web resources
  • Form Scripts
  • Ribbon Commands

you don't need to write code for that.

In each of these cases user is already authenticated and authentication is managed by the application.

 

Microsoft Dynamics CRM 2013 for Tablets - Simple Lists

Retrieve Records In Dynamics CRM Using QueryByAttribute

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

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;
using Microsoft.Xrm.Client.Services;
using Microsoft.Xrm.Sdk;
using Microsoft.Xrm.Sdk.Query;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CrmSampleCodes
{
public class QueryByAttributeSample
{
IOrganizationService _service;
public QueryByAttributeSample()
{
_service = new OrganizationService("connection");
}

public void Run()
{
// Create query using QueryByAttribute.
QueryByAttribute querybyattribute = new QueryByAttribute("account");
querybyattribute.ColumnSet = new ColumnSet("name", "address1_city", "emailaddress1");

// Attribute to query.
querybyattribute.Attributes.AddRange("address1_city");

// Value of queried attribute to return.
querybyattribute.Values.AddRange("Redmond");

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

System.Console.WriteLine("Query Using QueryByAttribute");
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("===============================");

}
}
}

Color Grid for Dynamics 365

Color Form for Dynamics 365