I'm stuck. I want to unit test my Java Scripts (Web Resources) in CRM 2016 but I'm not able to get this going. All the unit testing mocking/faking frameworks on the internet are for older versions of CRM. I'm yet to find a fully working u...
We have an onprem crm 2016. I'm opening an html webresource on a click of a ribbon button. I'm using Xrm.Utility.openWebResource(...). The problem with that is we're using IE11 and all users' browsers are configured to let IE decide h...
For Microsoft Dynamics CRM Online 2016 Update(8.0.1.360) I created a new Dashboard and used a html web resource that contains a grid. There is a link that redirects to the detail page for each record. When I checked this in browser, It works properly...
I'm currently trying to implement the new CRM's Autocomplete in a CRM online 2016 environment.  I've used the code from Sample: Auto-complete in CRM controls and have verified that it works on the Account form and another custom entity th...
I have written following JS function on Incident form to retrieve Contract Lines, but function is not doing anything. I have verified the Fetch Query and it returns results. So data is definitely there. I have debugged it and looks like "this.rea...
I am looking to write a javascript to change the color of any text field in CRM Here is my javascript:  function ChangeBackgroundColor() {      var revenue = window.parent.Xrm.Page.getAttribute("revenue").getValue();      if(revenue < 1000...
Is there a way to tell if the section is a header in CRM Form?  We're on Microsoft Dynamics CRM 2016 and I have a requirement to disable all fields on the Contact form when a certain condition is met. I'm using the code below and so far the c...
I have two fields that use the same function (called by OnChange event), I wonder if there is an option to pass the field's value to javascript function (for validation) without using XRM.  Write a function with the Xrm.Page.getAttribute("fie...
I've created a ribbon button, a blank action(process) and a Plug-in. I'm calling the action (JavaScript) from the ribbon button which further needs to trigger the plug-in using the custom message. I'm able to call the action using the soa...
I'm using Dynamics crm 2016, in my code I change fields  disable mode from true to false, when my function change all fields to disable-true it works fine but when I want to change it back to false (unlocked all fields) I get this error:  "xr...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.