Questions tagged [xrmservicetoolkit]

XrmServiceToolkit is a JavaScript library which can be used for JavaScript Development under the platform for Microsoft Dynamics CRM 2011/2013/2015 environments

  • Common: General Methods used for various purpose.
  • Rest: Organization
  • Data Service functions including CRUD, Associate, Disassociate, etc
  • Soap: Organization Service functions including CRUD, Fetch,
    Associate, Disassociate, etc
  • Extension: jQuery extension to utilize WebResource to extend CRM 2011 / CRM 2013 / CRM 2015 including dependent OptionSet, field tooltip, add custom filter view to lookup field. (Some Methods 'Unsupported'. Some of these methods have either been replaced with supported methods or deprecated in CRM 2013 version)
20 questions
3
votes
1 answer

XRMServiceToolkit is not working as Expected after upgrading MS Dynamics CRM 2015 to 2016

I have upgraded MS CRM 2015 to 2016 and it is working fine. We are using XRMServiceToolkit(2.2) javascript library to fetch data from server. The main problem is we are getting logical name in name attribute and logical name is blank, whereas…
3
votes
1 answer

Dynamics CRM Email entity isReply, isForward replacement in 2013/2015?

In Dynamics CRM 2015 Email forms I need to know if email is forwarded, replied etc. In Dynamics CRM 2011 there used to be JavaScript variables for this e.g. isReply, isForward, isReplyall These variables doesn't exists in Dynamics CRM 2013/2015. Is…
2
votes
0 answers

CRM 2015 Microsoft app xpathevaluator' is undefined

We are using crm 2015 and it is working without a problem. All code is executed correctly in IE and in Chrome. But when we try to use the crm app from Microsoft we get the error: 'xpathevaluator' is undefined. I think it is the xrmservicetoolkit…
1
vote
1 answer

CRM 2011 javascript get child entity ID's(1:N relationship)

I need to get child entity(B) ID's from parent entity(A) and use these ID's to get child field values using javascript. check image I know, how to retrieve field value, when i have lookup field(N:1) on the entity using xrmservicetoolkit, but not for…
1
vote
1 answer

Cannot change created custom Status Reason via JavaScript

I have changed salesorder entity and create a new status reason in Submitted. I have added a status reason named PreTransport in submitted state, with value 100000004. I can go from Active state(pending status reason) to Submitted state(In-Progress…
1
vote
1 answer

How to use the Refresh() and Save() methods to add a callback to the form's save

I want to add a callback to the form's save to fire the OnLoad event handler after the save has completed. I also want to force the page to refresh after the save is completed. Google has shown me many web pages that reiterate the same information…
Darren Hoehna
  • 269
  • 2
  • 8
  • 19
1
vote
0 answers

DOM parsing is not working in Chrome browser

I'm trying to parse the response from a XMLHttpRequest using XrmServiceToolkit for CRM 2015. The code for parsing the results is working fine in IE 11, however it is not working as expected in Chrome. Please assist. Here are the details : var…
Rajesh
  • 449
  • 2
  • 9
  • 22
1
vote
1 answer

Deactivate Microsoft Dynamics 2013 Workflow from the javascript of a web resource

I have a web resource in Microsoft Dynamics 2013 with an event in javascript where I would like to duplicate the same functionality of deactivating a workflow as the "Deactivate" button on the edit workflow page in CRM. I'm using the…
1
vote
1 answer

Why my code not able to add activity?

I am trying to add phonecall activity for contact. I used following code to add activity, but I cannot see it in activity list. var ContactId = guid; //Contact GUID var trigger = new…
Pranit Kothari
  • 9,721
  • 10
  • 61
  • 137
0
votes
1 answer

what the best way to wait for one function to finish before continuing?

when i try to create a new record from JS to CRM with the function XrmServiceToolkit.Soap.Create its take a lot of time to finish.. so the JS continuing to execute the other function, in the function RecalculateSurface i retreive the value of the…
wolf SK
  • 3
  • 4
0
votes
1 answer

Get an entityName by GUID, despite of what form is loaded at the moment for use in XrmServiceToolkit.Soap.setState()

I'm stuck on the XrmServiceToolkit.Soap.setState() function. Prerequisites I'm on studying MS CRM. One of my tasks is to activate and deactivate a record (this time it's a native "contact" record). I've decided to build my solution in a following…
Vitaliy Prushak
  • 1,057
  • 8
  • 13
0
votes
1 answer

Check existence of any receipt item related to the order

Here is a question. Every order has some receipt item and it has 1(order) to N(receipt item) relation with receipt item. I wanna check that if there is any record in receipt item of order entity or not. How can it be possible? I do like this happen…
0
votes
1 answer

Dynamics CRM getting global OptionSet data using XrmServiceToolkit.Soap

When using Dynamics CRM 365, I would like to find a way to get the labels and values from a global OptionSet, using the Javascript library "XrmServiceToolkit" and the Soap method (we need it to be async). Thanks.
0
votes
1 answer

Call XrmSrviceToolKit from AngularJs Factory

I'm developping an angularjs application to integrate it into CRM dashboard, i willl use XrmServiceToolKit . My problem consist in integrating this dependencies in angular Factory i want to use the XrmServiceToolKit web API to extract data and post…
ODE
  • 285
  • 5
  • 22
0
votes
1 answer

Javascript - Dynamics CRM Online - Passing a lookup field value to a form through openEntityForm

I am using Xrm.Utility.openEntityForm to clone a record. I have a group of attributes I need to copy over to the new form when I call openEntityForm. You do this by passing in a parameters object that is filled with the values of the attributes on…
1
2