Using Dependency injection in Plugins
Is it possible to use dependency injection in CRM 2011 plugins for resolving dependencies? If so, where should the container and dependencies be registered at?-Abhijeet
View ArticleCRM 2011 - Timeout Workflow
I've been trying to build a workflow that have several timeouts and sends a different email for each email. For instance, send email A 3 months before the contract end date. Send email B 1 month before...
View ArticleException when executing non-query: update ActivityPointerBase
I am debugging a CRM 4.0 plugin. The plugin is handling an Update message for a custom entity. The plugin is registered in the Pre-Event Child pipeline. The error message describes a failure while...
View ArticlePlugin always getting the same error - cannot profile
Hi,I have a plugin that I'm developing and every time I test it I get the following error...An error has occurred. If the problem continues, check the Microsoft Dynamics CRM Community...The plugin...
View ArticlePopulate email body with image and multi line text
Hello. I am trying to set the image and the text in the email body using the format mentioned in the image attached with this post. I have the text in a separate variable. But i am unable to figure out...
View Articleimport solution to new organization
hi every body,i'm upgraded my crm 4 into crm 2011.i had more plugins in CRM4 version,and after upgrading to 2011,every plugins works fine.now, i want to export every customization from CRM2011 ,and...
View Articlems crm 2011 - how can we have hierarchical Subject display in the seperate...
Hi All,ms crm 2011 - how can we have hierarchical Subject display in the seperate text box through javascript?Can anyone help me on this with the code.Thanks, Rajeev
View ArticleHow to get actual Sum of Money field when base currency is different using...
Hi All,I have a requirement to get the sum of the total amount field of all related Invoices to an Order record.for that I am using the fetch aggregation for Sum in a plugin.When I add/delete/update an...
View ArticleRun plugin when Email status is Sent
Hi,I am trying to write a plugin that will run when the email status is changed to "Sent" but when I register the plugin for the "SetState" message or the "SetStateDynamicEntity" message it never...
View ArticleCan ManagedTokenOrganizationServiceProxy be used without ADFS/STS
I am working on building custom applications that interface with MSCRM using the OrganizationService using on-premise AD auth. In the future we might switch to using ADFS with STS on premise and I...
View ArticleAny recommendation on exposing CRM data over WebAPI
I am using WebAPI to expose MSCRM data to client applications as follows:1) CRM entity mapped to domain model entity using custom mapping logic (CRM entities may not map 1-1 to domain model)2) Domain...
View Articlehow to activate REST endpoint for CRM Online
I am trying to integrate two separate sites using javascript and REST endpoints. I'm following this article - msdn.microsoft.com/en-us/library/gg334767.aspxWhen I...
View ArticleCRM 2011 refresh queue in realtime
Is there any way to make a queue update in real-time with the mailrouter? I’m guessing that the mailrouters creates the queue items and then assigns them to the queue but when this happens I would like...
View ArticleRibbon Workbench Display Rule
Hello , I want to modify the display rule for Close Button from the appointment form . I have the following problem : When an appointment has the status Completed ... the button should be disable and...
View ArticleDynamics CRM 4.0 - How do i insert a new value in a picklist using javascript
Hi, I've been looking all over for help in doing this but haven't found much help. As well as inserting this new value I always want to make it the default value. Can anyone help with this.
View ArticleDisplaying a "Tree view" on an Account Page to see which contact is under the...
Hello,I'm performing a migration from Goldmine 5.5 to MCRM 2011 using Starfish ETL for mapping databases. I have to deal with a major issue. In GM, you are able to display on the left pane of a...
View Articleobject doesnt support property or method getselectoption on form onload
function Form_onload() {var selectedOptionSet = Xrm.Page.getAttribute("new_guideline12answer2");alert(selectedOptionSet.getSelectedOption().text); alert(selectedOptionSet.getSelectedOption().value);...
View ArticleLimitations in MS Dynamics CRM 2011 SOAP API calls
Is there any limitations in CRM 2011 SOAP API calls like Salesforce have?
View ArticleLookup on form causes "Object doesn't support property or method 'Items'"
Hi,On our 'Service Activity' form - selecting a service from the service lookup field gives the errorObject doesn't support property or method 'Items' (see below screenshot).There are no customisations...
View ArticleReset/Restore an Entity?
Hi all,Just wondered if it was possible to 'reset' all customisations on an entity, as in effectively restoring the entity to factory settings? I ask because we've had a few problems with our Service...
View Article