When you get error 'Microsoft.IdentityModel.Clients.ActiveDirectory.XXXXXXXXX' while connecting service .Kindly refer "Microsoft.IdentityModel. Clients.ActiveDirectory.dll" which is available in CRM2016 SDK\ bin folder .
Wednesday, 7 September 2016
Connect CRM 2016 organization service in C# using Tooling.Connector
CRM 2016 SDK does not have "microsoft.xrm.client.dll" . We can now use "Microsoft.Xrm.Tooling. Connector.dll" instead of "microsoft.xrm.client.dll" .
Sample Code
Addreference
Sample Code
Addreference
Microsoft.IdentityModel. Clients.ActiveDirectory.dll
Microsoft.Xrm.Tooling. Connector.dll
public IOrganizationService creatOgraservice()
{
String ConnectionString = Config._CRMservice;
CrmServiceClient conn = new Microsoft.Xrm.Tooling. Connector.CrmServiceClient( ConnectionString);
_org = (IOrganizationService)conn. OrganizationWebProxyClient != null ? (IOrganizationService)conn. OrganizationWebProxyClient : (IOrganizationService)conn. OrganizationServiceProxy;
return _org;
}
Monday, 5 September 2016
CRM 2016 Synatax changes after disabling legacy form rendering engine (enable Turbo forms)
Old code for disable view picker of look up ( before disabling legacy form rendering )
document.getElementById("LookupField").disableViewPicker=1;
New code (After enabling turbo forms)
var lookup="schemaname of field";
lookup.Ctl=Xrm,page.getControl("schemaname of field");
lookuo.SetParameter("disableViewPicker", "1");
document.getElementById("LookupField").disableViewPicker=1;
New code (After enabling turbo forms)
var lookup="schemaname of field";
lookup.Ctl=Xrm,page.getControl("schemaname of field");
lookuo.SetParameter("disableViewPicker", "1");
Monday, 8 August 2016
CRM2016 useful features
-> Create customer attributes for any entity : you can define customer look up for system and custom entity .
-> Apply SLA to additional entities
-> Categorize entity records in CRM
->Control how packages are deployed with the enhanced package deployer
-> Enhanced Web API
-> New entities , for example BookableResource ,BookableResourceBooking etc.
-> Apply SLA to additional entities
-> Categorize entity records in CRM
->Control how packages are deployed with the enhanced package deployer
-> Enhanced Web API
-> New entities , for example BookableResource ,BookableResourceBooking etc.
Thursday, 2 June 2016
Subscribe to:
Posts (Atom)