Skip to content

v1.4.2

Compare
Choose a tag to compare
@AleksandrRogov AleksandrRogov released this 11 Mar 05:59
· 381 commits to master since this release

This release contains multiple fixes and enhancements. At this moment, I am working on adding functions to help developers to work with Entity Metadata.

Changes:

  • Parse aliases into a JavaScript object. This enhancement is related to the following ticket: #23.
    Starting from this version you can access aliased parameters in the following way:
var fetchXml = "<fetch version='1.0' distinct='false'>" +
    "  <entity name='contact'>" +
    "    <attribute name='fullname' />" +
    "    <attribute name='contactid' />" +
    "    <link-entity name='systemuser' from='systemuserid' to='owninguser' visible='false' link-type='outer' alias='owner'>" +
    "      <attribute name='fullname' />" +
    "    </link-entity>" +
    "  </entity>" +
    "</fetch>";

dynamicsWebApi.fetch('contacts', fetchXml).then(function (response) {
    var ownerFullname = response.value[0].owner.fullname;
    //instead of: response.value[0].owner_x002e_fullname;
})
.catch(function (error) {
    //...
});
  • Enhancements related to Entity Metadata requests. Next release will contain functions that will help developers to use DynamicsWebApi to query metadata.

Fixes:

  • Special symbols in the filter query parameter. Related to #22.
  • Other fixes.

Thank you for all your support! It means a lot to me.