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 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...
I need to check the user privilege at run time. Scenario: User1 created the record and it assigned to user2 for user1 record will be readonly now. So user1 does not have the access for that particular record. So can we check the runtime privilege for...
I have a code that fills my subject field in the appointment entity. But When i click on save i see the value in subject field but then it disappers suddenly. Its removing/clearing the field after it fills. How can i fix it ? I think something wrong...
I have a business process flow that has a "special" validation. At least one of 3 steps have to be set to "Yes" to be able to continue to the next stage.  Here's my handler on stage change.  var subStageRequirements = new Array();...
I have the following situation in Dynamics CRM 2016.  I am trying to create a JS web resource that will act on a dropdown field change.   function esitoappuntamento() {   Xrm.Page.getAttribute("new_esito").addOnChange(myOnChange);    function...
Our organization has a CRM installation on which we've done extensive customization. Right now I'm trying to implement a solution to enforce a business rule: Prevent users from updating a program to inactive when the program is a designation...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.