Any ideas how we can we use executionContext.getFormContext() with an HTML web resource? only method that seems to work is parent.Xrm.Page which is now deprecated....
It seems that Microsoft Dynamics CRM Web API supports OData and it supports adding new entities e.g. contacts using JavaScript. I tried accessing the API with the following code, but I have two problems. One is cross-origin resource sharing which doe...
Is there a way to call an action via javascript without the use of third party scripts?  I found this https://github.com/PaulNieuwelaar/processjs  However, I cannot use third party libraries.  UPDATE:  Here is some sample code that demonstrates an as...
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 have a Web resource that is opened on the click of a button as follows:  var windowOptions = { height: 400, width: 50 }; Xrm.Navigation.openWebResource("DCWIMS_/html/datepicker.html", windowOptions);   I have a little input field inside the...
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 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 need help with a small problem in Dynamics 365 Marketing App.  Is there a way to access the "Stop" and "Go live" Button via code or the actions that happen when it gets clicked.  We need to stop the marketing assets and than activat...
I am trying to create a new record by calling the SDK.REST.CreateRecord function from JavaScript. Below is the code snippet with which I am trying without any improvement -   function CreateProspect(QuoteId) {   SDK.REST.retrieveRecord(QuoteId, "...
Tyring to create a custom Entity record using the Xrm.WebApi.  How can I handle timing issues when creating bulk records from an array payload? ALL of my org_orgtrigger custom entities are created, but NONE of my org_orgtask entities are created, rig...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.