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've added an html resource in my contact form which contains only an small image in order to place it just beside a contact field. When the user clicks on it, it fires up a javascript function in which I want to get the value of a specific field...
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...
I created a custom action on CRM 365 which has one input parameter of type entity reference and it refers to the user entity, I tried to change the input parameter into another type and it works well. So I think the issue is in the way I pass the ent...
I am reading about Xrm object on Microsoft Documentation but I can't find something concrete.  I need to restrict some roles of creating or editing a portal comment (type of activity). Therefore I can't just simply modify security roles.  I s...
Background   I have created a custom field in Dynamics 365 named new_statecode. I am using an HTML webresource to get input from the user, that I later intend to pass to the custom field mentioned above.  <input id="statecode" type="te...
I was hoping to get some pointers on how to do a setValue in a Dynamics CRM 365 (onpremise) editable grid:  No matter what I try I cannot update the values in the grid. This code gets a reference of the attribute but setValue seems to have no effect...
In our Dynamics 365 instance, we're trying to open a quick create form for an entity called SourceAssessment using the code example here  var thisEntity = {     entityType: "SourceAssessment",     id: Xrm.Page.data.entity.getId() }; var c...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.