Questions tagged [dynamics-crm-2016]

Microsoft Dynamics CRM is a multi-lingual Customer Relationship Management software package developed by Microsoft. It has built in support for Sales, Marketing and Service. This tag is reserved for Dynamics CRM 2016.

Microsoft Dynamics CRM is a multi-lingual Customer Relationship Management software package developed by Microsoft. It has built in support for Sales, Marketing and Service.

This tag is reserved for Dynamics CRM 2016.

Olders versions

704 questions
3
votes
1 answer

Plugin Execution Halts After exactly 33 records created, What is the cause?

I have a plugin that creates records in an entity called "Alter Unit Order". It is supposed to create records for each day from contract start date to contract end date. No matter what, the plugin will only create 33 records. I'm thinking its…
3
votes
5 answers

How to use filter on link entity?

I'm using crm 2016 and trying to get a product (custom entity) records according to linkentity filtering, I need to get all products that have Active productstatus and the linked phonecall category is fun and not open: PRODUCT - (productstatus =…
Damkulul
  • 1,406
  • 2
  • 25
  • 59
3
votes
1 answer

Dynamics CRM Plugin Registration Tool can't Log In - No error message

My CRM Version Microsoft Dynamics 365 Version 1612 (9.0.0.3172) (DB 9.0.0.3172) online The more recent SDK download from Microsofts website (version 8.2.1.1). https://www.microsoft.com/en-gb/download/details.aspx?id=50032 Problem I get no error…
Joshua Duxbury
  • 4,892
  • 4
  • 32
  • 51
3
votes
3 answers

How to hide a vanilla button according to form state

I am trying to hide my SAVE vanilla button according to form state. when the form state != create the vanilla button should not display. I tried different things but nothing works: I create a function in js that returns true if form is create…
Damkulul
  • 1,406
  • 2
  • 25
  • 59
3
votes
2 answers

Dynamics CRM 2016 modify list of activities views

I am very new to MS Dynamics. I am using dynamics CRM 2016 and I need to remove, in the activities page, the views about entities that I am not using such as Campaign Response, Campaign Activity, etc. I do not see them in the list of views of the…
rox
  • 71
  • 2
  • 11
3
votes
2 answers

How to customize email template in crm 2016 by code

I am using CRM 2016, and trying to customize email template by adding a dynamic data. I know that CRM allows to use only specific vanilla entities, but when I explorer an old code I found an option to use {0}, {1} etc' for injecting data from non…
Damkulul
  • 1,406
  • 2
  • 25
  • 59
3
votes
4 answers

Dynamics CRM - multiple plugins on same event, stage with same rank - Order of Execution?

I came across an interview question for which I got different answers from friends and peers so I thought I'd ask here. We generally use the plugin ranking for defining the order in which different plugins execute in order to overcome the…
3
votes
2 answers

How to return EntityCollection as Outparameter custom activity

[ReferenceTarget("contact")] public InOutArgument PartyList{ get; set; } How can I return/send a list of ActivityParty or a EntityCollection from a custom CodeActivity back to the workflow step? Inside my execute method,…
Transformer
  • 6,963
  • 2
  • 26
  • 52
3
votes
3 answers

How to send email by simple email address using crm?

I'm working with Dynamics CRM 2016, I want to send an Email from crm using an email address that the user insert (the email Id is taken from a field in incident-Entity and not from crm-user) according to examples online the option is to use…
Damkulul
  • 1,406
  • 2
  • 25
  • 59
3
votes
1 answer

EntityState must be set to null, Created (for Create message) or Changed (for Update message)

In my C# console application I am trying to update an account in CRM 2016. IsFaulted keeps returning true. The error message it returns when I drill down is the following: EntityState must be set to null, Created (for Create message) or Changed…
ToFo
  • 1,643
  • 1
  • 19
  • 34
3
votes
1 answer

TFS Version Controlling in CRM without Multiple Orgs

I am looking for some inputs to manage version controlling in CRM. Currently, we are using a single development Org and maintaining the CRM Solution in TFS using Solution Pacakger. We check-in the entire solution in TFS alongwith its extract…
Ashish
  • 373
  • 1
  • 5
  • 15
3
votes
2 answers

how to query entity from RegardingObjectID?

We can query the web api endpoint like so: GET [Organization URI]/api/data/v8.2/accounts?$select=name&$top=3 HTTP/1.1 Accept: application/json OData-MaxVersion: 4.0 OData-Version: 4.0 When the response contains the regardingobjectid field, how do…
Alex Gordon
  • 57,446
  • 287
  • 670
  • 1,062
3
votes
2 answers

Add distinctive entity sub components to a Dynamics CRM solution

I am working on a utility in which i am creating a rollback solution based on the provided target solution. As of now the utility is working fine, and it reads the solution to be deployed on target org and creates a new rollback solution on target…
3
votes
2 answers

Exclude an array in a LINQ expression that connects to CRM

I am trying to run a LINQ query that gets all objects of a specific type [new_contact], but filters out those with a specific field value [new_identifier] that matches in a list [excludeIdentifiers]. public static…
ToFo
  • 1,643
  • 1
  • 19
  • 34
3
votes
4 answers

Deploying single files to Dynamics 365 while developing (e.g. web resources)

I am developing my first simple app in Dynamics 365, and one of my main pieces is a Web Resource that involves a lot of tweak-save-test-repeat workflow. Up to this point, every time I have made a tiny change to my web resource, I have been…
loneboat
  • 2,845
  • 5
  • 28
  • 40