I have opened an HTML web resource in a new window using:  Xrm.Navigation.openWebResource(webResource, windowOptions, data);  This is an HTML web resource and it is loading the ClientObject in the head  <script type="text/javascript" src=&...
I can successfully reach XRMServices on ORGANIZATION_URL/XRMServices/2011/OrganizationData.svc/AccountSet?$select=AccountNumber and retrieve customer account number on a browser after logging in. However, there is an authentication service blocking t...
I use JavaScript to set required level of field based on some selections, the field appears as optional but the form doesn't able to save and says please fill this field.  My code  Xrm.Page.ui.controls.get("new_field").setRequiredLevel(&#...
There is the function: Xrm.Internal.isUci(), but that is labelled as Internal, so its most likely not supposed to be used. But, I need a method to determine if my code is being invoked from the UCI or from the legacy web-client (because, there are be...
I'm developing for CRM 2011 and 2013, and I want to get the user's language. The only command I can execute is Xrm.Page.context.getUserLcid(), and it gives the language id, like 1033 for US English. But, I want to have the LCID String, like &...
I am developing in Microsoft Dynamics CRM. I wrote some javascript code to autopopulate a text field with the year portion of a date field. I will admit that I am still a novice at javascript development so my code may not be well written. While the...
What is the javascript to prevent a user from closing an opportunity as won in crm 2011/2013? If the user wants to close as lost, I want to let them do it. But under certain conditions, I do not want them to close as won if a field is not populated....
I am refactoring some script code that is attached to the Fax Activity Entity in Microsoft Dynamics.  In the script code I see:  document.getElementById("regardingobjectid").setAttribute("defaulttype", "2");   From what I unde...
I have a custom button on my ribbon which fires a dialog up. It's part of a workaround Qualification solution I'm putting together.  The creation of an Account/Contact/Opportunity and the choices given work fine, as well as changing the statu...
I am trying to make a help window on some forms on Microsoft Dynamics Portals, it has its own CMS to build a web app.  This window does not work on IE11 or Edge because of differnt "errors".  First this is my JavaScript function to load the w...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.