CRM 2013 Online - Plugin calling external webservice
HiI'm trying to create a POC for at customer, but I think I hit bottom here.Im trying to connect to an external web service, which is hosted on a internal development server at the moment, through a...
View ArticleCRM 2011: Clear TwoOption Checkbox Field on Update
How do you go about updating a TwoOption field with YES/NO? I have been trying to do the following to uncheck the field on an update, but this give an error. Is there another way to update the two...
View Articlehow to disable the optionset field ?
hi all,to disable a optionset field, I have done the following code pelase review this and let me know where I am wrongfunction update(){ varfields =...
View ArticleCRM 2011 javascript get currency field from retrieveMultiple/fetch...
Hi!I have been struggling A LOT with this issue:-)Problem is: I have made a new button with a JavaScript function using XrmSvcToolkit.retrieveMultiple function. I'm getting the rows I want but there is...
View ArticleCRM2011 Visual Studio workflow template not accepting the "CRM Discovery...
I am trying to use the CRM 2011 workflow template in Visual Studio 2010 and when it's asks for "CRM Discovery Service Name" I have entered "dev.crm.dynamics.com" and tried using HTTP and HTTPS but it...
View ArticleCRM 2011 adding reporting server report to navigation bar with custom parameter.
Greetings,I am having a problem with getting reports to work with CRM 2011, I think it was in RU11 or RU12 and the latest browsers that they started to work funny or not at all.The setup is like...
View ArticleFiltering Entity Metadata in Dynamics CRM 2013
Hi,I am using the "RetrieveAllEntitiesRequest" method of CRM 2013 metadata web service to get the list of Entities in Dynamics CRM. Now, whenever I execute the method something like this, I am getting...
View ArticleOdata Service to retrieve multiple
Hi All,I am having a requirement like onchange of one field in code entity need to hit another entity called gravity in which get the values from there and compare those . if those values lies in...
View ArticleHow to get the Email id in a pre (or post) create Case (aka Incident) plugin
The goal here is to get the received date of an email. This email will be converted to an case, and the received date will be displayed in the case form as a field. When an email is converted to a...
View ArticleQueryExpression top 1
Is it possible to only return the top 1 record in a QueryExpression? like you can in FetchXML, if so how :)ThanksPetePete
View ArticleDynamic CRM 2013 Online how to execute Report, generate PDF and email
Dear All,I am using Dynamic CRM 2013 online. For quote, I have workflow and Dialogue processes for review process. On approval, I want the system to generate a PDF of quote report, attach the PDF and...
View ArticleAdd activity parties to email before send (plugin CRM 2011)
I have a string field containing email addresses separated by ';'.In the PreEmailSendFromTemplate, I am trying to add these emails to the 'Cc' field of the email to be send.Here is the...
View ArticleGet guid of lookup value after fetching it via fetchxml
Hi,i am retrieving a record using fetchxml based on a guid. The fetch works perfectly but i cannot get the values of lookup attribute.here is my codevar _oService; var _sOrgName = "CRMTEST"; var...
View ArticleDynamics CRM 2013: connection through IFD using the SDK fails with ADFS
public static string[] AuthenticateToCrm(string organization, string username, string password) { CrmConnection crmConnection = CrmConnection.Parse(String.Format("Url=https://{0}.acom.be:443;...
View Articlehow to adding to annotation entity from OrganizationServiceClient in dynamics...
Hi All,I trying to add annotation from my web service, I use crm service discovery / OrganizationServiceClient, I used the HelperCode from SDK but I got an error, and can not to compile.on below is my...
View ArticleCRM 2011 C# Plugin: IF Statement for Bit (Two Options Field)
Hello, I am having difficulties creating an IF statement for a bit (two option) field.My current syntax is not working, please help!if (targetEntity.Contains("apd_twooptionsfield") &&...
View ArticleCRM 2011 C#: Setting an Option Set Field
Hello, I'm trying to set the value of an option set field in my C# code but I am running into difficulties. I found some code examples but they are not working for me. I am using the following...
View ArticleCRM2013. C#. Activate, Update and Deactivate case.
Hi.Have a plugin which starts on Email PreCreate. Plugin must activate the email regarding Case, update some field in the Case and deactivate the Case back.Here is the plugin...
View ArticleDifference in behaviour of a two-option checkbox between UAT and PROD
Hi,We have a two-option (checkbox) control and have set it to run some code onchange. Xrm.Page.getAttribute("new_checkboxField").addOnChange(DoSomething); This works fine in DEV and UAT environments....
View ArticleCRM 2011 C# - Cant' fullfill/close/cancel an sale order
I can’t close a sales order from my plugin and I’m just getting an error..."Need to start a transaction before commit"My plugin:Creates a new sales order from an opportunityChecks if there are any...
View Article