Skip to content

Commit f65bca9

Browse files
committed
2 parents 69d0971 + 30ecb1f commit f65bca9

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

README.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,15 @@ WebApiClient.Retrieve(request)
7979

8080
#### Retrieve multiple records
8181
Retrieve of multiple records uses paging. Per default you can set a [page size on your requests] (#page-size), however this is limited to 5000 records.
82-
If you want to really retrieve all records, set WebApiClient.ReturnAllPages to true, as it is by default false.
82+
If you want to really retrieve all records, set WebApiClient.ReturnAllPages to true, as it is by default false, like this:
83+
84+
``` JavaScript
85+
WebApiClient.ReturnAllPages = true;
86+
```
87+
8388
By setting this to true, each retrieve multiple request will check for an @odata.nextLink property inside the response, call the next page and concatenate the results, until all records have been retrieved.
8489

85-
Retrieve by query expression:
90+
##### Retrieve by query expression:
8691

8792
```JavaScript
8893
var request = {
@@ -99,7 +104,7 @@ WebApiClient.Retrieve(request)
99104
});
100105
```
101106

102-
Retrieve by FetchXml:
107+
##### Retrieve by FetchXml:
103108

104109
```JavaScript
105110
var request = {

0 commit comments

Comments
 (0)