In javascript, I have written Xrm.Page.ui.getFormType();.   This code does not work when form is read-only. Even though on the form it is written read-only on the bottom of the record, it is giving me formtype as 2.  even Onload  shows formtype 2...
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 have a custom option set on an Opportunity form and one of the option (last) is hidden. I've have a ribbon button & on click of that button I need to show and select that option. It's working fine for the first time but my problem is if...
I've got something puzzling me here and I don't have the experience behind me to spot the issue, so I ask your kind assistance.  I'm developing for CRM Online 2016 and I'm trying to extrapolate a value from another entity using oData....
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...
I am migrating my solution from CRM 8.2 to CRM v9. I am trying to retrieve multiple records in CRM. The same JavaScript code that I am using in my CRM v9 environment was working fine when I was using this in CRM 8.2 environment.  In CRM v9 I am getti...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.