I've got a custom entity that has multiple forms.   To create a new form, this is done via a sub-grid. The user just clicks the plus button on the subgrid. This populates certain fields on the form. I want to be able to change to a specific form,...
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=&...
Is there any way to bypass that returned values of fetchXML returns correct naming of linked entity logical name, not build naming, like :  customer_contact1_x002e_contactid customer_contact1_x002e_fullname     I removed all aliases from requests. Is...
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 &...
Multiple entity records have to be deleted in one call instead of multiple callbacks so trying to use Xrm.WebApi.online.executeMultiple to delete records. but the code written below is not working. Any help will be appreciated.              for (var...
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....

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.