Make a Large SharePoint List Easily

Ever need to test something against a large list but don’t have one handy. Well I did today, so I wanted to share what I came up with using sp-pnp-js. Nothing too complicated – using batching, getting the list item type name once, and asynchronous recursion.     This could be tweaked to add more…

0

PnP JSCore 2.0.2

The latest release, 2.0.2, of the Patterns and Practices JavaScript Core Library represents an incremental update which contains fixes and updates of reported issues since the last release. Thanks to everyone who has provided valuable feedback and helped the library grow. Revert to es5 in lib Folder After we had a number of issues reported that…

0

TravisCI and sp-pnp-js

Setting up automated testing and incorporating that into the PR/merge process roadmap for sp-pnp-js has been on the roadmap for a long time. There were a few obstacles to getting this setup, not the least of which was finding the time. If I could go back I’d have done it much sooner – the process turns out…

0

PnP JSCore 2.0.1

The latest release, 2.0.1, of the Patterns and Practices JavaScript Core Library represents an incremental update serving two main purposes. Firstly to align our releases to other releases across the SharePoint PnP program and secondly to include an update described below when working in SharePoint Framework. Thanks to everyone who has provided valuable feedback and helped the…

0

Using Map/Reduce with Asynchronous Operations in TypeScript

A common problem I’ve encountered is the need to work with a series of operations, all asynchronous, while maintaining ordering but knowing when the series is complete. To that end I wanted to share a pattern I’ve come to like and should be applicable across many types of scenarios. First we start with an array…

0

PnP JSCore 2.0.0

The latest release, 2.0.0, of the Patterns and Practices JavaScript Core Library represents an exciting milestone in our evolution and is thanks to all of the great contributions, feedback, and ideas from the community. Thank you all! This update does represent a breaking change but we’ve tried to minimize the effort required in migration. Reorganization If you…

0

PnP JSCore 1.0.6

The latest release, 1.0.6, of the Patterns and Practices JavaScript Core Library includes some new enhancements and fixes to issues reported since the last release. We’ve added improved support for reading and writing files, the ability to call the search suggest API, and various other improvements designed to help developers be more productive. Read below for…

0

JS Core now on CDNJS!

I’ve been working with the folks over at the cdnjs project to get the PnP JS Core listed and am happy to announce the library is now available! This should make it easier for folks to include the library in their projects, as well as reference it in SharePoint Framework projects as an external resource. cdnjs…

1

Using PnP JS Core and node-sp-auth

One of our goals is making it easy for folks to use the JS Core library – and we are always looking for opportunities to improve on that mission. Recently Sergei Sergeev submitted a PR to add support for his library node-sp-auth. Ultimately we decided not to merge this change. However, we recognize that such a change could provide developers greater flexibility…

2

PnP JSCore 1.0.5

The latest release, 1.0.5, of the Patterns and Practices JavaScript Core Library includes some new enhancements and fixes to issues reported since the last release. The largest change is the move to support TypeScript 2.0 and the new @types system for improved declaration support. This is a fairly large move, but comes with significant advantages as well…

0