dynamics-crm-2013

debug plugin using plugin registration tool CRM 2013

女生的网名这么多〃 提交于 2019-12-10 12:37:56
问题 I have install profiler in one of my plugin step, which will executed on create of record. Once i complete this, it generate a errorlog. I have copied that text and created a errorlog.txt. It looks like below : |7V3rkqM4ln4VR/6Y2I0uGzDGl2xXTuR1OmeqKnMys3on+k+HANnJFAY34KrK3tiIfYJ9i32H+d9vsk+yEjcD5iJ8AYxPdUd3gQVIOtI53znfkTT98/eF3vmKLVszjfdnQo8/62BDMVXNmL8/... When i upload that file, it gives me below error. Unhandled Exception: System.ArgumentException: Unable to parse the

IOrganizationService correct way to update entities

落爺英雄遲暮 提交于 2019-12-10 11:39:51
问题 I'm having a look at the best way of updating/retrieve entities from within C#. I've had a read through the MSDN documentation but unsure which way to go/when to use either method. So, my question: Should I be using: IOrganizationService.Update() and update the entity directly; or IOrganization.Execute() and create an update request And if the answer is 'it depends', what situation warrants which method? Thanks 回答1: First of all both Update and Execute of an UpdateRequest produce the same

Dynamics CRM FetchXML Report Event for Plugin to Fire On

我是研究僧i 提交于 2019-12-10 11:34:45
问题 Is there an event that a plugin can be registered on when a FetchXML (or even SQL) report is run? RetrieveMultiple and Retrieve do not get fired! public void Execute(IServiceProvider serviceProvider) { IPluginExecutionContext context = (IPluginExecutionContext)serviceProvider.GetService(typeof(IPluginExecutionContext)); // The FetchXML report does not fire the plugin on RetrieveMultiple if (context.InputParameters["Query"] is FetchExpression) { IOrganizationServiceFactory factory =

How to get the CRM Entity Name from the Object Type Code of a RegardingID?

爱⌒轻易说出口 提交于 2019-12-10 10:39:13
问题 So it seems that it is a fairly common question in CRM to try get the object type code when you have an entity name. But since I always have to do things the hard way, I have the reverse task: I have the object type code, and need to get the entity name. In general, the ultimate task is to take the the CRM regarding information on an email, and use it to query CRM for additional info. I can get the regardingID and the object type code easily. And for standard entities I can use a hardcoded

Selenium Automation testing in crm 2015

你。 提交于 2019-12-10 03:28:53
问题 We are going to implementation Selenium automation testing for functional testing in CRM 2015 (Client suggestion , because it is open source tool), I did a lot of exploration in Google and different search engine for Selenium for CRM 2015. Could you advise/guide me how to use selenium in crm 2015 回答1: I wonder why isn't it answered yet, basically you can install the nuget package and choose a webdriver for the browser you want to automate. Then write a console application like using OpenQA

CRM 2013 Custom Action Plugin not firing

早过忘川 提交于 2019-12-09 22:55:07
问题 Wondering if someone could give me a bit of help. I am trying to use custom actions from CRM 2013, what I have is a custom action "Clone" defined as below. I have a very simple clone record plugin that clones the passed in target entity and returns the new entity as an output parameter. The plugin is registered to fire on the Custom action, my plan was to fire this from JavaScript but the plugin never fired so for the time being to test I have been firing this from another plugin. Using the

setDisable for all fields of a Section in a Crm Form

痞子三分冷 提交于 2019-12-08 18:45:28
I need to disable a section if a value from other field is true, normally I would do: function disableSection1(disabledStatus){ Xrm.Page.getControl("section1field1").setDisabled(disabledStatus); Xrm.Page.getControl("section1field2").setDisabled(disabledStatus); Xrm.Page.getControl("section1field3").setDisabled(disabledStatus); Xrm.Page.getControl("section1field4").setDisabled(disabledStatus); } but i have to do this for many sections, so I am looking for a function like this: function sectionSetDisabled(tabNumber, sectionNumber, disabledStatus){ //some code.. } Most answers I have seen you

Compare Datetime issue with dynamic CRM 2013 datetime data

廉价感情. 提交于 2019-12-08 10:42:52
问题 I am Unable to fetch date by compairing datetime with Dynamic CRM 2013. Below time format am using in my code even if i am using YYYY-MM-DD HH:MM format its fetching data based on date only not considering time . Can any have idea about this. var SDate = new Date(document.getElementById("FromDate").value); var EDate = new Date(document.getElementById("Todate").value); var e = document.getElementById("FromTime"); var fromtime = e.options[e.selectedIndex].value; e1 = document.getElementById(

Report showing NO DATA when uploaded to crm online

 ̄綄美尐妖づ 提交于 2019-12-08 09:52:16
问题 When building a report in SSRS and viewing it in PREVIEW mode, my report is showing lots of data; however, when deploying it to CRM online 2013, this is what I am getting: This is CRM DYNAMICS ONLINE 2013 The data source is FetchXML and does not change I've removed all filters from the report and it still displays nothing. I'm using windows authentication My FetchXML data source is configured this way: Why is my report being generated fine in preview mode, yet when I upload it to CRM 2013

Dynamic Values in Email Template

为君一笑 提交于 2019-12-08 09:43:54
问题 I have a pick-list on my form, the selected value of which i want to use in an email template. However the value is not getting populated in the email template. what should i do to achieve this Out of box without writing any java-script ? 来源: https://stackoverflow.com/questions/27540118/dynamic-values-in-email-template