dynamics-crm

Dynamics CRM 2015 Applying custom subgrid with FetchXML (getElementById(“selectedGrid”) returns null)

独自空忆成欢 提交于 2019-12-25 04:33:39
问题 I am using Microsoft Dynamics CRM 2015 on-premise version. I am applying a custom FetchXml to a subgrid using JavaScript. The issue here is document.getElementById(“selectedGrid”) returns null. I read articles says that this method is not supported anymore in 2015 Version. My question: is there any alternative to this method? 回答1: This works for me, and in fact I've been able to use document.getElementById as well. If you're adding an event or something (and hooking it to onLoad), just make

MS Crm 2011 javascript Iframe functions

偶尔善良 提交于 2019-12-25 04:16:29
问题 I'm facing a problem with an IFrame on MS CRM 2011. I'm trying to generate HTML code and write it into an IFrame. I'm quite new to CRM development so I hope you could guide me to a solution. After I generate the HTML content (IframeHTML) via JavaScript I try to write that content to an IFrame and then reload the whole Form. Everything is working fine until I reach my last command var control = document.getElementById("IFRAME_name"); control.contentWindow.document.open(); control.contentWindow

Dynamics CRM 2011 form jscript to retrieve lookup data

為{幸葍}努か 提交于 2019-12-25 03:55:38
问题 What are my mistakes, why do I get the "object expected" error, and, eventually, how does one debug jScript ? I am new to Dynamics CRM and I would like to do a small customisation, which seem to require jScript. The instance (version 2011) is used mostly to manage client support. There are 2 custom entities with relationships: FundLegalEntity --> SubFund The Case (Incident) form is linked to the FundLegalEntity and the SubFund. When user enters a SubFund I would like to have the

Dynamics 365 V9 web resource get context

时光毁灭记忆、已成空白 提交于 2019-12-25 03:27:50
问题 I used this article to open a popup window when clicking on a button in the Lead form. In the onclick event of a button in this popup window, I want to set the value of a field in the parent form. How can I do this in V9, since xrm.page is deprecated? I would like to know the equivalent of window.parent.Xrm.Page.getAttribute("subject") The line above has a value of null in the lead form. EDIT: in the link posted by Arun in the comment down here, it is written that "although Xrm.Page is

SSRS - Sort by number part of string

别来无恙 提交于 2019-12-25 02:47:07
问题 I have an SSRS report that will be used in Dynamics 365 so I can't use SQL in the dataset to help here. I have a product/version code column that is string mixing letters and numbers. For example: FF8, FF9, FF10, FFA These are going in to a column header and form a column group which is also sorted by the code. The standard alphabetical sorting is giving this order: FF10 - FF8 - FF9 - FFA I'm happy to use a substring in my sort expression to remove a preceding product code but I would like

How do I connect to a CRM IFD web service?

孤人 提交于 2019-12-25 01:52:34
问题 I have taken the code from the SDK and made just one modification to set the authentication type but when I try to connect I get an "Unauthorized" error. My code is: // Set up the CRM Service. CrmAuthenticationToken token = new CrmAuthenticationToken(); token.AuthenticationType = 2; token.OrganizationName = "TESTCRM"; CrmService service = new CrmService(); service.Url = "https://testcrm.ifdtestsystem.com/MSCrmServices/2007/CrmService.asmx"; service.CrmAuthenticationTokenValue = token; /

Customize Campaign Form in Microsoft Dynamics CRM 2011?

青春壹個敷衍的年華 提交于 2019-12-25 00:18:05
问题 I need to customize the Campaign Form in Microsoft Dynamis CRM .In this Form I need to customize the calender of Fiscal Year.it dispalys mm/dd/yyy format ..and i need to customize MM/YYYY Fromat.How to do this? 回答1: This is only fot that field? The format of datetime is based on user options. If it's only for that field see this answer. 回答2: I suspect that the date-time field is formatted according to the system settings (be that picked from CRM or the user's computer). Not sure if it's

How To Create a case Or Incident In Microsoft Dynamics Online CRM using php-crm-toolkit

旧时模样 提交于 2019-12-25 00:14:09
问题 I am trying to create case it's giving me "Fatal error: Uncaught AlexaCRM\CRMToolkit\SoapFault: You should specify a parent contact or account. in D:\wamp64\www\php_crm\vendor\alexacrm\php-crm-toolkit\src\Client.php on line 1159" My code: <?php /** * Use init.php if you didn't install the package via Composer */ require_once 'vendor/autoload.php'; use AlexaCRM\CRMToolkit\Client as OrganizationService; use AlexaCRM\CRMToolkit\Settings; $options = [ 'serverUrl' => '**********************',

How to share record in CRM 365

烂漫一生 提交于 2019-12-24 20:30:25
问题 I want to share my record when several condition is fulfilled, can I do that with plugin? I have request transfer record I want to share, so when request transfer status is submited I will share the record to user that I get from warehouse in my request transfer field. Can I do that with plugin? if (context.InputParameters.Contains("Target") && context.InputParameters["Target"] is Entity) { if(context.MessageName.ToUpper() == "UPDATE") { int requestStatus = transferImage.GetAttributeValue

ILMerge with CRM plugin and Sharepoint Online

假装没事ソ 提交于 2019-12-24 19:40:28
问题 I am trying to us ILMerge via nuget to merge two SharePoint assemblies in to my plugin dll. The assemblies are; Microsoft.SharePoint.Client (v16.1) Microsoft.SharePoint.Client.Runtime (v16.1) They seem to successfully merge in to my single plugin dll and i can see the required classes etc if I inspect the dll with JustDecompile. When debugging the plugin, it throws a security exception; Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=4.0.0