How to use the Entity class for creating Orders but also add the products on...
Hi Everyone, I manage to create a program that can create an order using the link provided below.While that is fine, the challenge comes from the new_ordernumber field in the Salesorder entity.This...
View ArticleCreate a folder in Sharepoint Online from CRM Online by code
Hi, I would like create a folder in my Sharepoint Online from my CRM Online by code.My Sharepoint Online is integrated to my CRM Online and the standard document management run well.For a customer, I...
View ArticleError Account With Id = b3d21b73-9042-e511-80e7-c4346bac7dac Does Not Exist
HiWe have integrated dynamics crm with our webapp in c#. It is working fine for all dynamics customers who are using our app.But for one customer we are facing an issue while creating activity back to...
View ArticleIncoming Email to Case Create CRM 2015
Hi,We have couple of queues with different email addresses, when an email is received into these queues, user will manually convert them to cases. Is there any way to figure out from which queue the...
View ArticleExport to Excel - permission denied fn_EndOfThisFiscalYear
Hi All,We have a strange problem while normal user access CRM 2011 On-Premise edition (5.0.9690.2243).When an normal CRM User access views with option as "This fiscal year" (or anything related to...
View ArticleCustom Workflow: Entity mainEntity =...
Dear Reader,i have a Problem with executing a workflow on demand : WorkflowCommon.TARGET is not present in the dictionaryInputParameters.If i use the workflow triggered by create, fields changed,...
View ArticleWeb API - Set regarding on appointment
I'm running into difficulties using the new Dynamics Web API rest endpoint when trying to set regarding on an appointment. Has anyone successfully done this? Firstly, I struggled to figure out how to...
View ArticleCorrect way to follow relationships in plugin using strongly typed objects
Hi, I am new to plugins and have been following tutorials, etc.I have a plugin that I am playing with. I have got strongly typed objects and understand that the target can be an entity depending on the...
View ArticleTest the disponibility of an organisation in c#
Hi!I work on a WCF application and I would like to write a function to test the availability of an organization through a wcf webservice and return a message if it has available or not. I'm new in the...
View ArticleHow to trigger SalesOrder Cancel through a plugin
I have a custom plugin which is registered on After Operation Update on SetState and SetStateDynamicEntity but for some reason the plugin is not getting fired not sure what am I missing.Here is the...
View ArticleAttribute 'partyobjecttypecode' cannot be NULL, while sending email, plugin
Hi,I am writing a plugin for CRM 2011 to send email..But I am getting this error.. "Attribute 'partyobjecttypecode' cannot be NULL"Any suggestions????
View Article"The request failed with HTTP status 401: Unauthorized. " error
Hi,I'm new to Dynamics CRM web service client develop, my customer has a sandbox for developing, I can login with user name and password in IE, but when I use the asp.net program, it will show "The...
View ArticleStop ExecuteWorkflowResponse from exiting on Exception
Problem: The ExecuteWorkflowResponse call will throw an exception and exit if any of the records experience an issue during workflow execution.Objective: Have the foreach loop continue to execute the...
View ArticleUsing CRM Login Form for WPF Applications in Office Add-In
Hi,We are trying to use Out of the box CRM Login Form for WPF Applications in an Office Add-In (using VSTO).We can add Form in Add-In project and load it as well on a Ribbon Button click, but once user...
View ArticlePlugin not Triggered for Email Activities
Hello,I'm writing a plugin that triggers when Phone, Task and Email status is changed to Completed or Cancelled. So for this I register the plugin on the SetState and SetStateDynamicEntity on the three...
View ArticleHow to list all records owned by a particular user - CRM 4
When someone leaves the company and we "disable" that user in CRM we need to re-asign anything owned by them.Is there a way in CRM 4 to get a list of all records owned by a particular user?
View ArticlePassing regardingobjectidtype to Xrm.Utility.openEntityForm
I've been having troubles sending the typename to the openEntity form. Is this a problem with my system or is there another way I should be setting the typename?Here is the code I am trying to use....
View ArticleHow to get all attributes name of the Particular entity?
Hi All,I need to know from where we can get the attribute list of any antity.Please see below code as example: private void DisplayAllEmailActivities(IOrganizationService service) { QueryExpression qe...
View ArticleWho has access to a given Account record?
How can I obtain a list of all systemuser records that have access to a given Account record using SDK?Regardless of how access is given, that being through an Access Team Membership, Share or through...
View ArticleBIDS Report: Can I combine column groups in a Matrix Report?
I am sure this is a common issue.I have a DataSet which includes 3 lookup fields: Topic1, Topic2 and Topic3. They all point to the same entity: Topic.I have built a Matrix report based on Topic1 and...
View Article