dynamics-crm-2015

Is there any Common Way for updating status using c# in Dynamics CRM

我的未来我决定 提交于 2019-12-12 05:39:54
问题 I want to update the status using single common way in c#. For now I know about SetStateRequest but it did not change its status to any of status. e.g. If i want to change status to fulfilled for order or canceled for order then it requires FulfillSalesOrderRequest and CancelSalesOrderRequest .Like wise different different class for quote's status and others. So I want some common way for change status.If is there any solution please suggest me. 回答1: If you are on CRM 2015 Update 1 or later,

htm file doesn't loaded with query string

社会主义新天地 提交于 2019-12-12 04:06:33
问题 I'm trying to get a query string from htm file. But when I'm writing a "?param=1" in the end of the .htm url - the file not loaded and I don't see anything in this page - The error I get is: "Incorrect document syntax". When I'm opened this url without the query string in the end, its opened normally. This is my htm file: <html> <head> <title>Test Url sender</title> <meta charset="utf-8"> </head> <body> <script src="file.js" type="text/javascript"></script> <style type="text/css"> body { font

Updating Transaction Currency On Form Doesn't Update Custom Money Currency Symbol

浪子不回头ぞ 提交于 2019-12-12 02:56:52
问题 I'm creating an empty shell of a lead on a custom web page, then redirecting the user to the newly created lead. The TransactionCurrencyId on the lead is empty on load, and in the OnLoad event, JS is setting the TransactionCurrencyId, and then populating the custom Money field. Upon setting the money field, the following alert is being thrown: A Currency is required if a value exists in a money field. Select a currency and try again. Manually clearing the TransactionCurrencyId, and then re

Do you still need to check the parent / child pipelines to determine whether to create ICrmService or CrmService in 2015?

浪尽此生 提交于 2019-12-12 01:28:54
问题 We currently use MS Dynamics CRM V4 and are in the process of upgrading to 2015. I've got the task of updating some of our plugins. 1 of the things I've come across that is a little confusing is whether I still need to do some sort of check on the stage of the pipeline to determine if it's a parent or child. As I understand it the parent and child pipelines have been merged into 1 as of 2011, so how should the following code be altered? public CrmServiceProxy(IPluginExecutionContext context,

Subgrid containing Activities returned by FetchXML query - not always refreshing

为君一笑 提交于 2019-12-11 16:50:04
问题 I have created a subgrid on a Form for the Contact Entity in Dynamics CRM 2015 which returns all Email, Task, Appointment and Phone Call Activities where either the Activity is Regarding the Contact for which the Form has been loaded, or where that Contact is a participant in the Activity (i.e. in the Sender or To/CC/BCC fields for an email, or on the attendee list for an Appointment). I have added a new subgrid (called "NewActivities" for now) to my Contact Form which uses a specific

MS Dynamics CRM Global Search Getting Related Entities

早过忘川 提交于 2019-12-11 08:46:10
问题 I am trying to set up a global search where the user can search by invoice number and it shows the invoice AND related order with OOB solutions. EDIT Version: 2015 Unsure of when installed but was updated recently 回答1: Global Search works on top of Quick Find view & Find columns specified in particular entities. The searchable entities & its display order can be configured in System settings. In your scenario, Add the entities Order & Invoice to searchable entities list (move it to top). Then

How to manage CRM Form field and Ribbon button if user add different Managed Solution?

回眸只為那壹抹淺笑 提交于 2019-12-11 06:55:17
问题 I am beginner of CRM. I have few basic confusion. I want to clear it before I go for something big. I have 2 cases where I am getting confuse. Case 1: I have a Managed Solution with 2 version. MyAccount 1.0.0.0 and MyAccount 1.0.1.0. In version 1.0.0.0 I have field in CRM Account form. In version 1.0.1.0, I have added a field Address FAX and removed a field Website. So, when user add version 1.0.1.0, it will overwrite the design. Can I change this behavior if I want to keep older design? Case

How to list all CRM fields which are dirty in console?

情到浓时终转凉″ 提交于 2019-12-08 09:03:25
问题 I have been looking for a way to get the list of all dirty fields in the CRM form to determine the what was changed and need to be saved in the browser console. This will help me debugging the javascript or other CRM related issues in general How can i achieve this ? 回答1: You can use the following code for your reference var attribs = Xrm.Page.data.entity.attributes.get(); to get the list of all fields in the from and then call the function getIsDirty() for it as var filterDirty = attribs

Is It Beneficial To Call ExecuteMultipleRequest From Within A Plugin?

若如初见. 提交于 2019-12-07 02:50:54
问题 I know the ExecuteMultipleRequest is a huge performance booster when performing batch updates from outside of CRM. What I don't know is if it is beneficial to call it from within a CRM plugin. My current understanding is that the main performance gain from using the ExecuteMultipleRequest is in the actual SOAP messaging costs. So (for updating 5000 records) rather than sending 5000 separate Soap messages (each having to be serialized, authenticated, transferred, etc), that all have to be sent

Dynamics CRM 2015 Online: SubGrid's control.SetParameter method is not available

孤街醉人 提交于 2019-12-06 12:13:06
问题 I'm trying to populate a subgrid with fetchXml results in CRM 2015 online. One issue in the beginning was that document.getElementById("leadUmbrellaGrid"); returns null function filterSubGrid() { var leadwithSameNameGrid = Xrm.Page.getControl("leadUmbrellaGrid").getGrid();//HAVE TRIED window.parent.document.getElementById("leadUmbrellaGrid"); //grid to filter var currentleadId = Xrm.Page.data.entity.getId();; if (leadwithSameNameGrid == null) { setTimeout('filterSubGrid()', 500); return; } /