gd-sprest 4.8.2

This SharePoint javascript library is designed to easily interact with the SharePoint REST api.

Install-Package gd-sprest -Version 4.8.2
dotnet add package gd-sprest --version 4.8.2
<PackageReference Include="gd-sprest" Version="4.8.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add gd-sprest --version 4.8.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

NuGet
Current Version
Downloads
Total Downloads
Gitter chat
Donate

The SharePoint REST Framework was designed for SharePoint 2013, but works in both SharePoint 2013/Online (Classic/Modern) pages. This framework is designed to remove the overhead required for SharePoint development, allowing the developer to focus on the client requirements.

<center><img alt="intellisense" src="https://gunjandatta.github.io/assets/images/intellisense.gif" style="max-height: 500px;" /></center>

References

Core Library

The gd-sprest library is similar to the pnp-js-core, with the main difference being the ability to be used within the browser console window. This feature provides a "Powershell-Like" experience within the browser console window. This feature was designed for developers working in restricted SharePoint environments, or do not have access to the server or powershell access. Some additional benefits of the library are listed below:

  • Designed to work in restricted SharePoint environments with limited access to the SharePoint Farm, Web App, Site Collection, Root Web, etc
  • Helper functions designed to help create solutions in restricted SharePoint environments
  • Ability to create reusable scripts/solutions
  • Intellisense is available for JavaScript/TypeScript
  • Ability to execute live requests from the browser console, helps to debug issues in production

Bugs/Issues

Click Here to report any bugs, request any new features or if need help with code examples. Pull requests are welcomed for anyone interested in submitting them. Feel free to email for other questions.

Intellisense

The SharePoint REST API has a $metadata endpoint which contains the intellisense for its objects. This library's intellisense is generated from this data to ensure the latest functions/methods are made available for OnPremise and Online.

The intellisense for this library is included as part of the npm installation. It supports both JavaScript and TypeScript. The nuget installation includes the bundled definition file as part of the library.

Modern Experience in SharePoint 2013

One of the key reasons of creating this library, was to give an easy way to develop using the modern web stack in SharePoint 2013 environments.

User Adoption

Since these components are designed using same framework creating the new Office 365 modern experience, this gives the ability to introduce the new Office 365 experience within SharePoint 2013. This will be an important part for the SharePoint 2013 user adoption to the new modern experience. Most SharePoint 2010/2013 environments are undergoing upgrades to 2016, Hybrid 2016/O365, O365 and private O365-Gov environments.

Server-Side to Client-Side Conversion Guide

The execution method was designed to give a server-side like experience, similar to SharePoint 2010/2013 solutions. This will help convert existing server-side solutions to client-side solutions.

SPFx Support

Follow the documentation for steps on configuring this library with SPFx projects.

Security

The REST api execute requests based on the user's permissions. There is no way to elevate privileges requests against the SharePoint REST.

NuGet
Current Version
Downloads
Total Downloads
Gitter chat
Donate

The SharePoint REST Framework was designed for SharePoint 2013, but works in both SharePoint 2013/Online (Classic/Modern) pages. This framework is designed to remove the overhead required for SharePoint development, allowing the developer to focus on the client requirements.

<center><img alt="intellisense" src="https://gunjandatta.github.io/assets/images/intellisense.gif" style="max-height: 500px;" /></center>

References

Core Library

The gd-sprest library is similar to the pnp-js-core, with the main difference being the ability to be used within the browser console window. This feature provides a "Powershell-Like" experience within the browser console window. This feature was designed for developers working in restricted SharePoint environments, or do not have access to the server or powershell access. Some additional benefits of the library are listed below:

  • Designed to work in restricted SharePoint environments with limited access to the SharePoint Farm, Web App, Site Collection, Root Web, etc
  • Helper functions designed to help create solutions in restricted SharePoint environments
  • Ability to create reusable scripts/solutions
  • Intellisense is available for JavaScript/TypeScript
  • Ability to execute live requests from the browser console, helps to debug issues in production

Bugs/Issues

Click Here to report any bugs, request any new features or if need help with code examples. Pull requests are welcomed for anyone interested in submitting them. Feel free to email for other questions.

Intellisense

The SharePoint REST API has a $metadata endpoint which contains the intellisense for its objects. This library's intellisense is generated from this data to ensure the latest functions/methods are made available for OnPremise and Online.

The intellisense for this library is included as part of the npm installation. It supports both JavaScript and TypeScript. The nuget installation includes the bundled definition file as part of the library.

Modern Experience in SharePoint 2013

One of the key reasons of creating this library, was to give an easy way to develop using the modern web stack in SharePoint 2013 environments.

User Adoption

Since these components are designed using same framework creating the new Office 365 modern experience, this gives the ability to introduce the new Office 365 experience within SharePoint 2013. This will be an important part for the SharePoint 2013 user adoption to the new modern experience. Most SharePoint 2010/2013 environments are undergoing upgrades to 2016, Hybrid 2016/O365, O365 and private O365-Gov environments.

Server-Side to Client-Side Conversion Guide

The execution method was designed to give a server-side like experience, similar to SharePoint 2010/2013 solutions. This will help convert existing server-side solutions to client-side solutions.

SPFx Support

Follow the documentation for steps on configuring this library with SPFx projects.

Security

The REST api execute requests based on the user's permissions. There is no way to elevate privileges requests against the SharePoint REST.

  • .NETFramework 4.5

    • No dependencies.

Version History

Version Downloads Last updated
4.8.2 132 4/22/2019
4.8.1 101 4/21/2019
4.7.9 55 4/18/2019
4.7.5 60 3/3/2019
4.7.4 56 3/2/2019
4.6.8 69 2/19/2019
4.6.4 63 2/7/2019
4.5.3 76 1/27/2019
4.5.2 75 1/21/2019
4.4.8 86 1/20/2019
4.4.6 139 1/20/2019
4.4.3 131 12/13/2018
4.4.2 123 12/12/2018
4.3.8 109 12/1/2018
4.3.7 97 11/11/2018
4.3.4 98 10/25/2018
4.2.7 130 9/26/2018
4.1.8 144 8/14/2018
4.1.6 159 7/23/2018
4.1.5 166 7/19/2018
4.1.4 186 7/17/2018
4.1.3 154 7/17/2018
4.1.2 173 7/13/2018
4.0.4 179 6/20/2018
3.9.1 215 4/29/2018
3.8.9 197 4/23/2018
3.8.6 198 4/18/2018
3.7.7 228 4/2/2018
3.6.4 230 3/17/2018
3.6.2 218 3/16/2018
3.6.0 192 3/15/2018
3.5.5 208 3/9/2018
3.5.3 219 3/8/2018
3.4.8 225 2/13/2018
3.4.1 214 2/7/2018
3.3.3 214 2/4/2018
3.2.3 181 1/28/2018
3.2.0 252 1/25/2018
2.5.9 271 1/10/2018
2.3.0 253 12/8/2017
2.2.8 221 12/2/2017
2.2.5 269 11/19/2017
2.2.4 260 11/5/2017
0.0.3 253 11/5/2017
0.0.2 250 11/5/2017
0.0.1 215 11/5/2017