Questions tagged [dynamics-crm]

Microsoft Dynamics CRM is a multilingual Customer Relationship Management software package developed by Microsoft. It has built in support for Sales, Marketing and Service. It can be used as an xRM platform.

Useful resources


Version-specific tags


Other related tags

7813 questions
14
votes
3 answers

Using Dynamics CRM SDK with .NET Core

Is there a way to connect to Dynamics CRM 365 from a .NET Core application via the Dynamics SDK? Or should I use the Web Api? I've read it could be possible, but when I reference the SDK from my .NET Core Class Library and try to connect I get the…
14
votes
2 answers

Microsoft Dynamics 365 SDK Core Assemblies .NET Core Porting Error

When trying to use Microsoft Dynamics 365 SDK Core Assemblies in a .NET Core 2.0 project, the following error occurs at runtime simply by using Microsoft.Xrm.Sdk: TypeLoadException: Could not load type …
Alexander Staroselsky
  • 37,209
  • 15
  • 79
  • 91
13
votes
3 answers

CRM 2011 "$ is undefined"

I have created following code, and I have included this as web resource on the CRM 2011 form to be called on field onchange event of lookup field. Everything is working fine before the $.ajax({... line and then I have an error “$ is undefined”. I am…
MAXA
  • 133
  • 1
  • 1
  • 4
13
votes
1 answer

CRM WebApi batch request

With this guide: https://msdn.microsoft.com/en-us/library/mt607719.aspx, I'm trying to create a batch request to delete all quotedetails on a quote. I'm using jquery's ajax to do the request: $.ajax( { method: 'POST', url:…
Oak3
  • 943
  • 7
  • 20
13
votes
6 answers

401- Unauthorized authentication using REST API Dynamics CRM with Azure AD

I'm trying to access a Dynamics CRM Online REST API with Azure AD oAuth 2 Authentication. In order to do so I followed these steps: - I've registered a web application and/or web api in Azure - Configured the permissions to Dynamics CRM to have…
André Cavaca
  • 510
  • 1
  • 5
  • 18
13
votes
3 answers

Convert EntityReference to Entity

Does anyone know how can Convert EntityReference to Entity. protected override void Execute(CodeActivityContext executionContext) { [Input("Email")] [ReferenceTarget("email")] public InArgument EMail { get; set; } Entity…
hello B
  • 891
  • 5
  • 18
  • 41
12
votes
3 answers

LINQ to Dynamics CRM Query filtering records locally

I have written a Linq to CRM query using CRM 2011 RC (v5) LINQ-to-CRM provider. I have a locally declared List which I want to join to a CRM entity and I want the query to be executed on the CRM Server. An example might help: MyObject myObject =…
Iftekhar
  • 269
  • 2
  • 10
11
votes
6 answers

How can I make CRMSvcUtil.exe generate unduplicated, error-free early-bound option sets?

I use Erik Pool's implementation of ICodeWriterFilterService and Manny Grewal's GenerateOption function as a model to filter out unwanted entities in the file that CRMSvcUtil generates. While Erik recommends returning true for the GenerateOptionSet…
Peter Majeed
  • 5,304
  • 2
  • 32
  • 57
11
votes
3 answers

How to update a CRM 2011 Entity using LINQ in a Plugin?

We are able to create new entities without any issues, but updating an existing entity in a plugin this does not appear to be working. This is for CRM 2011. var crmContext = new CustomCrmContext(service); var contact =…
Chad
  • 489
  • 1
  • 6
  • 16
11
votes
1 answer

Dynamics CRM 365 - Invalid User Authorization The user authentication passed to the platform is not valid

Whenever I click on an opportunity to customize it The window bellow opens It appears that the customization window is trying to open an activity window and it should open a opportunity chart window. The only error displayed is "Invalid User…
11
votes
4 answers

CRM 2011 to CRM 2016 Migration

I am planning to upgrade my CRM (On premises) 2011 to CRM 2016 (On premises). And now I am looking for the best way to migrate the data. By the way, there're a lot of custom data (entities, fields, WFs). Microsoft recommends a step-by-step upgrade…
Raman Sinclair
  • 1,194
  • 17
  • 31
11
votes
2 answers

Retrieve related entities of each, using RetrieveMultipleRequest

I'm trying to retrieve a list of entities from CRM, but I'd like to get each one with the related entities. So far, I've the following code: FilterExpression filterExpression = new FilterExpression(); ConditionExpression condition = new…
Milton
  • 928
  • 1
  • 10
  • 22
10
votes
15 answers

Error registering plugins and/or workflows. Plug-in assembly does not contain the required types or assembly content cannot be updated

I implemented one custom workflow in in Visual Studio 2010 using CRM 2011 Developer Toolkit. It was working fine with system generated namespace. But, when I changed the namespace of my project, its throwing an error "Error registering plugins…
Charan Raju C R
  • 758
  • 5
  • 21
  • 43
10
votes
2 answers

obtaing the GUID for an EntityReference using Plugins in DynamicsCRM

This question is in relation to a Plugin which I am now creating for Dynamics CRM 2011. I have an entity which has 5 attributes. 1 of these attributes is a Lookup to another entity. What I am trying to do with my Plugin is to retreive the Guid of…
Calibre2010
  • 3,729
  • 9
  • 25
  • 35
10
votes
1 answer

how do you add jquery in a html page as a web resource in dynamics crm 2011

having a lot of trouble with this one. I am trying to run a simple jquery script inside of an html page to just pop up an alert box. I have uploaded the jquery library and the json library I have an html page with the following references and the…
Calibre2010
  • 3,729
  • 9
  • 25
  • 35