CRM 2011 C# Plugin: Creating Word Doc using OpenXML & Attaching the Document...
I have created a plugin that is using OpenXML to create a Microsoft Word document. Originally I wrote the plugin to create and save the Word document to the user's C drive, but the plugin actually...
View ArticleCustom button on CRM form
Hi All ,I need a custom button on CRM form.On button click , i want to open a web resource using 'Xrm.utility.Openwebresource' method.Request you to let me know the best and supported way to do...
View ArticleCRM 2013 ADFS 2.1 SDK Calls, Error: System.NotSupportedException: The...
Hi Community,I have successfully configures CRM 2013 with IFD. I get the error message from above when i try to connect to the CRM via SDK calls.I have tried to apply the following KB-Article. Which...
View ArticleCRM2011 Rollup12 - Call Dialog Workflow in JavaScript
Hello,For CRM 2011 Rollup 12, is there a supported customization for calling a dialog workflow programmatically in JavaScript? The code snippet shown below is the method I have been using to call the...
View ArticleThe type 'System.Data.Services.Client.DataServiceContext' is defined in an...
I have created a VS2013 solution that contains silverlight project where I'm adding CRM REST service as service reference so that I can use the XAP in CRM 2013 to open this silverlight component.But on...
View ArticleSQL server error because of E-Mail field in CRM2011 entity.
hi,i have an E-Mail field in my custom entity.when i give some value to that field and save the form, im getting SQL Server error.i tried removing E-mail field and created new E-Mail field. still im...
View ArticleRetrieve all attribute in an entity
I want to get all the attributes present in an entity for CRM 4.0 using metadataservice. Please provide link or code snippet. Thanks in advance
View ArticleCRM 2013 Plugin PreAccountMerge Custom Error Message Display not working
I have a PreAccountMerge plugin created to error out (throw newInvalidPluginExecutionException) with Custom Error Message when User perform Merge Operation on 2 accounts. Custom Error Message changes...
View ArticleProblem with dependant lookup controls
Hello Let me try to explain the situation: I have a few dependant Lookup fields (lets say Country - Province - City - Street).When I select a Country first, only Cities, Streets and provinces in that...
View Articlehow to get the lookup field value back
Hi,I am working on displaying a prompt message when a lookup field value is selected as '0'.After the user responds to the prompt box, the lookup field has to display its old value instead of '0'.How...
View ArticleError While Creating opportunity record in CRM 2011 "The specified object was...
Error While Creating opportunity record in CRM 2011 "The specified object was not found."code is I have only Added a service reference in VS 2010 projectURL :...
View ArticleFormonload is undefined when trying to view originating lead notes
Hi,I am trying to display the originating lead notes in the opportunity screen using the following coding however i get an form onload error? We updated from crm 4.0 to crm 2013function leadNotes() (...
View ArticleHow to Auto update Date field in CRM
Hi, I have a custom entity with two custom fields "Lending Date" and "Due date" I want to create a JavaScript code which get date from Lending date field and update the Due date field after 21...
View ArticlePre-filtering in Fetch-based Reports, ms crm 2011
Hi,I am using Fetch XML in my report and i wanted to implement Pre-Filtering.I have an entity by name "new_entityone" is linked with an another entity named "new_eventregistration".I have used the...
View ArticleCRM Multidialog Multilingual or Language Specific?
I Created several Dialog Processes in CRM 2011, and I Exported All Translations and also Imported the Translated Version of all Entities.From what I can see the Translations for the Texts in Dialogs...
View ArticleGetting the Organization details from a plugin
Hello,From within a plug in is it possible to obtain the URL of the CRM (2011) Organization.This link gives the code but when trying to use this within my plugin at compile time we get this error...
View ArticleCRM 2013: Change regarding objectid through Javascript
Hi everyone,I have created a ribbon button to change the regardingobjectId of the emails from one duplicate case to another. I am using the XRMServiceToolkit to perform an update on the regarding...
View Articleremove add button for subgrid in crm 2013
HI Friends, I have a requirement where I need to remove or disable add button or atleast not allow user to add any more records to subgrid once user clicks on a checkbox ( Checkbox is an option for...
View ArticleHow extract data from Related Entities
in crm 2 custom entities 1.Bikeplan(primary) 2.Installment(related)retrieving related entity records for the Bike plan entity.using below code but didnot know how to extract related entity data values...
View ArticleWhy is localContext.ServiceProvider null
I have created a plugin in 2011 using the SDK Development Kit Plugin project and the CRM Package project to deploy the plugins.The Plugin project, when one creates a plugin via the CRM Explorer,...
View Article