大家好,我在 XrmServiceToolkit.js 中收到以下错误:
var fetch = function (fetchCore, fetchAll, callback) {
///<summary>
/// Sends synchronous/asynchronous request to do a fetch request.
///</summary>
///<param name="fetchCore" type="String">
/// A JavaScript String containing serialized XML using the FetchXML schema.
/// For efficiency, start with the "entity" node.
/// </param>
///<param name="callback" type="Function">
/// A Function used for asynchronous request. If not defined, it sends a synchronous request.
/// </param>
**var isAggregate = (fetchCore.indexOf("aggregate") !== -1);**
if (fetchCore.slice(0, 6) === "<fetch")
{
var fetchEntity = jQuery(xmlParser(fetchCore)).find("entity");
if (fetchEntity.length < 1)
{
throw new Error("XrmServiceToolkit.Fetch: No 'entity' node in the provided FetchXML.");
}
var isAggregate = (fetchCore.indexOf("aggregate") !== -1);
这里我收到错误,xrmservicetoolkit.js中的这个错误,如何解决这个问题请帮忙