Skip to content

Commit c6d005e

Browse files
allow custom headers #151; adding power pages tests #156; improving code coverage
1 parent c3988a6 commit c6d005e

28 files changed

+857
-370
lines changed

.github/README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ If you want to upgrade from v1 - v2 breaking changes are [here](/.github/BREAKIN
1616

1717
Please check [DynamicsWebApi Wiki](../../../wiki/) where you will find documentation to DynamicsWebApi API and more.
1818

19-
Browser-compiled script and type definitions can be found in a [dist](/dist/) folder.
19+
Browser-compiled script and type definitions can be found in a v2 [dist](https://github.com/AleksandrRogov/DynamicsWebApi/tree/v2/dist) folder.
2020

2121
## Main Features
2222

@@ -30,13 +30,6 @@ Browser-compiled script and type definitions can be found in a [dist](/dist/) fo
3030
- **Node.js and a Browser** support.
3131
- **Proxy Configuration** support.
3232

33-
34-
## Terminology
35-
36-
Check out [Dataverse Terminology](https://learn.microsoft.com/en-us/power-apps/developer/data-platform/understand-terminology). Microsoft has done some changes in the namings of the objects and components of D365 and since DynamicsWebApi has been developing for many years there may be _conflicting_ naming, such as: `createEntity` - which _right now_ means "Create a Table Definition". Dataverse SDK terminology is what the library has been based on. I have no plans on changing that (except in documentation), mainly because Microsoft may change the namings again in the future which will lead to naming issues ...again.
37-
38-
**Please note!** "Dynamics 365" in this readme refers to Microsoft Dataverse (formerly known as Microsoft Common Data Service) / Microsoft Dynamics 365 Customer Engagement / Micorosft Dynamics CRM. **NOT** Microsoft Dynamics 365 Finance and Operations.
39-
4033
***
4134

4235
I maintain this project in my free time and it takes a considerable amount of time to make sure that the library has all new features,
@@ -47,6 +40,12 @@ Also, please check [suggestions and contributions](#contributions) section to le
4740

4841
***
4942

43+
## Terminology
44+
45+
Check out [Dataverse Terminology](https://learn.microsoft.com/en-us/power-apps/developer/data-platform/understand-terminology). Microsoft has done some changes in the namings of the objects and components of D365 and since DynamicsWebApi has been developing for many years there may be _conflicting_ naming, such as: `createEntity` - which _right now_ means "Create a Table Definition". Dataverse SDK terminology is what the library has been based on. I have no plans on changing that (except in documentation), mainly because Microsoft may change the namings again in the future which will lead to naming issues ...again.
46+
47+
**Please note!** "Dynamics 365" in this readme refers to Microsoft Dataverse (formerly known as Microsoft Common Data Service) / Microsoft Dynamics 365 Customer Engagement / Micorosft Dynamics CRM. **NOT** Microsoft Dynamics 365 Finance and Operations.
48+
5049
## Table of Contents
5150

5251
v2 breaking changes are [here](/.github/BREAKING_CHANGES_V2.md). List of new features in v2 is [here](/.github/NEW_IN_V2.md).
@@ -127,7 +126,7 @@ v2 breaking changes are [here](/.github/BREAKING_CHANGES_V2.md). List of new fea
127126
## Getting Started
128127

129128
### Dynamics 365 Web Resource
130-
To use DynamicsWebApi inside Dynamics 365 you need to download a browser version of the library, it can be found in [dist](/dist/) folder.
129+
To use DynamicsWebApi inside Dynamics 365 you need to download a browser version of the library, it can be found in v2 [dist](https://github.com/AleksandrRogov/DynamicsWebApi/tree/v2/dist) folder.
131130

132131
Upload a script as a JavaScript Web Resource, add it to a table form or reference it in the HTML Web Resource and then initialize the main object:
133132

@@ -2387,7 +2386,7 @@ import { DynamicsWebApi, Config } from "dynamics-web-api";
23872386
```
23882387
23892388
### Dynamics 365 web resource
2390-
If you are developing CRM Web Resources with TypeScript (and are not using NPM), you can download a TypeScript declaration file `dynamics-web-api.d.ts` manually from [dist](/dist/) folder. I usually put all declarations in the "./types/" folder of my web resources project. For example:
2389+
If you are developing CRM Web Resources with TypeScript (and are not using NPM), you can download a TypeScript declaration file `dynamics-web-api.d.ts` manually from v2 [dist](https://github.com/AleksandrRogov/DynamicsWebApi/tree/v2/dist) folder. I usually put all declarations in the "./types/" folder of my web resources project. For example:
23912390
23922391
```
23932392
[project root]/
@@ -2448,6 +2447,7 @@ the config option "formatted" will enable developers to retrieve all information
24482447
- [X] Refactoring and conversion to TypeScript. `Added in v.2.0`
24492448
- [X] Implement [Dataverse Search API](https://docs.microsoft.com/en-us/power-apps/developer/data-platform/webapi/relevance-search). `Added in v.2.0`
24502449
- [ ] Allow custom headers to be passed to the request. [#151](https://github.com/AleksandrRogov/DynamicsWebApi/issues/151)
2450+
- [ ] Support Microsoft Power Pages.
24512451
24522452
Many more features to come!
24532453

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ As well as Microsoft Dynamics 365 CE (online), Microsoft Dynamics 365 CE (on-pre
1313
## Main Features
1414

1515
- **Microsoft Dataverse Search API**. Access the full power of its Search, Suggestion and Autocomplete capabilities.
16-
- **Batch Requests**. Convert all requests into a Batch operation with a single line of code.
16+
- **Batch Requests**. Convert all requests into a Batch operation with twi lines of code.
1717
- **Simplicity and Automation**. Such as automated paging, big file downloading/uploading in chunks of data, automated conversion of requests with long URLs into a Batch Request in the background and more!
1818
- **CRUD operations**. Including Fetch XML, Actions and Functions in Microsoft Dataverse Web API.
1919
- **Table Definitions (Entity Metadata)**. Query and modify Table, Column, Choice (Option Set) and Relationship definitions.
@@ -22,7 +22,7 @@ As well as Microsoft Dynamics 365 CE (online), Microsoft Dynamics 365 CE (on-pre
2222
- **Node.js and a Browser** support.
2323
- **Proxy Configuration** support.
2424

25-
Browser-compiled script and type definitions can be found in a [dist](/dist/) folder.
25+
Browser-compiled script and type definitions can be found in a v2 [dist](https://github.com/AleksandrRogov/DynamicsWebApi/tree/v2/dist) folder.
2626

2727
**Please note!** "Dynamics 365" in this readme refers to Microsoft Dataverse (formerly known as Microsoft Common Data Service) / Microsoft Dynamics 365 Customer Engagement / Micorosft Dynamics CRM. **NOT** Microsoft Dynamics 365 Finance and Operations.
2828

@@ -31,7 +31,7 @@ Browser-compiled script and type definitions can be found in a [dist](/dist/) fo
3131
### For a full documentation please check [DynamicsWebApi on GitHub](https://github.com/AleksandrRogov/DynamicsWebApi).
3232

3333
### Dynamics 365 Web Resource
34-
To use DynamicsWebApi inside Dynamics 365 you need to download a browser version of the library, it can be found in [dist](/dist/) folder.
34+
To use DynamicsWebApi inside Dynamics 365 you need to download a browser version of the library, it can be found in v2 [dist](https://github.com/AleksandrRogov/DynamicsWebApi/tree/v2/dist) folder.
3535

3636
Upload a script as a JavaScript Web Resource, add it to a table form or reference it in your HTML Web Resource and then initialize the main object:
3737

dist/browser/esm/dynamics-web-api.js

Lines changed: 49 additions & 45 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/browser/esm/dynamics-web-api.js.map

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)