gd-sprest 3.2.3

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

There is a newer version of this package available.
See the version list below for details.
Install-Package gd-sprest -Version 3.2.3
dotnet add package gd-sprest --version 3.2.3
<PackageReference Include="gd-sprest" Version="3.2.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add gd-sprest --version 3.2.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

The SharePoint REST Framework was designed for SharePoint 2013, but works in both SharePoint 2013/2016 and Office 365. This framework is designed to remove the overhead of SharePoint development, allowing the developer to focus on the client requirements. A reference to the associated github projects are listed below:

gd-sprest vs pnp-js-core

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. Some reasons to use this functionality:

  • No powershell or admin access to the server farm
  • Ability to create scripts which can be tested in staging before running aginst production
  • The intellisense and ability to make live requests allows for easy debug issues in production
  • Easy way to perform research and development by exploring the REST API with the available intellisense
  • Designed to give work in very restricted SharePoint environments with limited access to the SharePoint Farm, Web App, Site Collection, Root Web, etc.

Bugs/Feature Requests/Help

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.

Security

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

Features

The Wiki gives a detailed overview of the framework.

Automation

The "SharePoint Configuration" class allows the developer to define configuration files for the SharePoint solution. The configuration options are available through the built-in intellisense, shown below. This configuration class contains built-in methods to install and uninstall the SharePoint assets.
SharePoint Enumerator Types

Caching

The library has been designed to create the SharePoint object based on the response from the SharePoint REST API. This will allow us to easily stringify the request's target information and the SharePoint REST API's response to the local or storage session. A built-in stringify and parse method has been included in the library. Based on this design, SharePoint object will also contain all of its built-in methods.

Intellisense

One of the more important features of this framework is the intellisense. The classes have been setup to ensure the developer does not need to define the output type of the request. The "Types" and "SPTypes" classes can both be imported into the project. The "Types" class includes allows of the interfaces available in the library. The "SPTypes" class contains all of the enumerators in SharePoint. These interfaces can be used to provide intellisense for the custom variables.Caching

Helpers

The library contains various helpers to help with the various ways to develop against SharePoint 2013/Online

  • App/Add-In Web - Helper methods when developing within an app web
  • Dependencies - Loads the required SharePoint scripts
  • Field - Generates field schema xml
  • JSLink - Helper class for creating JSLink solutions
  • ListForm - Helper class for creating custom list forms
  • ListFormField - Helper class for custom list forms
  • Caching - Based on the library's design to create the SharePoint object from the SharePoint REST API's response, the object can be recreated from data stored in the local/session storage.
  • Custom Fields - As part of the automation features for creating various SharePoint assets, there are helper classes for site and list fields. A helper for creating the Schema XML is available. The SharePoint Configuration intellisense has built in intellisense for creating fields, to handle advanced customizations.
  • [[Taxonomy|Taxonomy]] - Helper class for getting terms from the managed metadata taxonomy term store
  • [[WebPart|WebPart]] - Helper class for creating webpart solutions
Modern Experience in SharePoint 2013

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

Office Fabric UI React Framework

The gd-sprest-react library contains various components utilizing the Office Fabric UI React Framework.

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.

Automation of SharePoint Assets

The SharePoint Configuration automation feature allows the develoepr to easily create built-in scripts to install/uninstall SharePoint assets. This feature is designed to work in both SharePoint 2013 and Online.

  • Content Types
    • JSLink
  • Custom Actions
    • Web
    • Site
  • Fields
    • JSLink
  • Lists
    • Content Types
    • Fields
    • JSLink
    • Views
  • WebParts
SharePoint React Components
  • [[Field|React-Field]]
  • [[Item Form|React-Item-Form]]
  • [[Panel|React-Panel]]
  • [[People Picker|React-People-Picker]]
  • [[WebPart|React-WebPart]]
    • [[Configuration|React-WebPart-Configuration]]
    • [[List |React-WebPart-List]]
    • [[Search |React-WebPart-Search]]
    • [[Tabs |React-WebPart-Tabs]]
Upgrade Path to SharePoint Framework SPFx

The javascript, typescript, react/angular/react/etc solutions developed for SharePoint 2013 can easily be migrated/copied to a SharePoint Framework (SPFx) modern solution.

The SharePoint REST Framework was designed for SharePoint 2013, but works in both SharePoint 2013/2016 and Office 365. This framework is designed to remove the overhead of SharePoint development, allowing the developer to focus on the client requirements. A reference to the associated github projects are listed below:

gd-sprest vs pnp-js-core

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. Some reasons to use this functionality:

  • No powershell or admin access to the server farm
  • Ability to create scripts which can be tested in staging before running aginst production
  • The intellisense and ability to make live requests allows for easy debug issues in production
  • Easy way to perform research and development by exploring the REST API with the available intellisense
  • Designed to give work in very restricted SharePoint environments with limited access to the SharePoint Farm, Web App, Site Collection, Root Web, etc.

Bugs/Feature Requests/Help

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.

Security

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

Features

The Wiki gives a detailed overview of the framework.

Automation

The "SharePoint Configuration" class allows the developer to define configuration files for the SharePoint solution. The configuration options are available through the built-in intellisense, shown below. This configuration class contains built-in methods to install and uninstall the SharePoint assets.
SharePoint Enumerator Types

Caching

The library has been designed to create the SharePoint object based on the response from the SharePoint REST API. This will allow us to easily stringify the request's target information and the SharePoint REST API's response to the local or storage session. A built-in stringify and parse method has been included in the library. Based on this design, SharePoint object will also contain all of its built-in methods.

Intellisense

One of the more important features of this framework is the intellisense. The classes have been setup to ensure the developer does not need to define the output type of the request. The "Types" and "SPTypes" classes can both be imported into the project. The "Types" class includes allows of the interfaces available in the library. The "SPTypes" class contains all of the enumerators in SharePoint. These interfaces can be used to provide intellisense for the custom variables.Caching

Helpers

The library contains various helpers to help with the various ways to develop against SharePoint 2013/Online

  • App/Add-In Web - Helper methods when developing within an app web
  • Dependencies - Loads the required SharePoint scripts
  • Field - Generates field schema xml
  • JSLink - Helper class for creating JSLink solutions
  • ListForm - Helper class for creating custom list forms
  • ListFormField - Helper class for custom list forms
  • Caching - Based on the library's design to create the SharePoint object from the SharePoint REST API's response, the object can be recreated from data stored in the local/session storage.
  • Custom Fields - As part of the automation features for creating various SharePoint assets, there are helper classes for site and list fields. A helper for creating the Schema XML is available. The SharePoint Configuration intellisense has built in intellisense for creating fields, to handle advanced customizations.
  • [[Taxonomy|Taxonomy]] - Helper class for getting terms from the managed metadata taxonomy term store
  • [[WebPart|WebPart]] - Helper class for creating webpart solutions
Modern Experience in SharePoint 2013

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

Office Fabric UI React Framework

The gd-sprest-react library contains various components utilizing the Office Fabric UI React Framework.

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.

Automation of SharePoint Assets

The SharePoint Configuration automation feature allows the develoepr to easily create built-in scripts to install/uninstall SharePoint assets. This feature is designed to work in both SharePoint 2013 and Online.

  • Content Types
    • JSLink
  • Custom Actions
    • Web
    • Site
  • Fields
    • JSLink
  • Lists
    • Content Types
    • Fields
    • JSLink
    • Views
  • WebParts
SharePoint React Components
  • [[Field|React-Field]]
  • [[Item Form|React-Item-Form]]
  • [[Panel|React-Panel]]
  • [[People Picker|React-People-Picker]]
  • [[WebPart|React-WebPart]]
    • [[Configuration|React-WebPart-Configuration]]
    • [[List |React-WebPart-List]]
    • [[Search |React-WebPart-Search]]
    • [[Tabs |React-WebPart-Tabs]]
Upgrade Path to SharePoint Framework SPFx

The javascript, typescript, react/angular/react/etc solutions developed for SharePoint 2013 can easily be migrated/copied to a SharePoint Framework (SPFx) modern solution.

  • .NETFramework 4.5

    • No dependencies.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
5.3.7 0 3/27/2020
5.3.6 0 3/26/2020
5.3.5 0 3/25/2020
5.3.4 0 3/25/2020
5.3.3 0 3/24/2020
5.3.2 0 3/24/2020
5.3.1 0 3/22/2020
5.2.7 0 3/22/2020
5.2.6 155 2/27/2020
5.2.3 75 2/11/2020
5.2.2 40 2/10/2020
5.2.1 55 1/28/2020
5.1.9 155 1/25/2020
5.1.3 91 12/16/2019
5.0.8 64 11/24/2019
5.0.6 53 11/19/2019
5.0.5 48 11/17/2019
4.9.9 69 9/21/2019
4.9.2 87 8/25/2019
4.9.1 76 8/23/2019
4.9.0 77 8/21/2019
4.8.9 79 8/20/2019
4.8.7 106 6/14/2019
4.8.5 99 6/11/2019
4.8.2 214 4/22/2019
4.8.1 173 4/21/2019
4.7.9 136 4/18/2019
4.7.5 134 3/3/2019
4.7.4 127 3/2/2019
4.6.8 137 2/19/2019
4.6.4 128 2/7/2019
4.5.3 139 1/27/2019
4.5.2 141 1/21/2019
4.4.8 156 1/20/2019
4.4.6 207 1/20/2019
4.4.3 201 12/13/2018
4.4.2 194 12/12/2018
4.3.8 171 12/1/2018
4.3.7 160 11/11/2018
4.3.4 171 10/25/2018
4.2.7 208 9/26/2018
4.1.8 220 8/14/2018
4.1.6 251 7/23/2018
4.1.5 268 7/19/2018
4.1.4 300 7/17/2018
4.1.3 237 7/17/2018
4.1.2 292 7/13/2018
4.0.4 291 6/20/2018
3.9.1 325 4/29/2018
3.8.9 299 4/23/2018
3.8.6 306 4/18/2018
3.7.7 328 4/2/2018
3.6.4 325 3/17/2018
3.6.2 346 3/16/2018
3.6.0 285 3/15/2018
3.5.5 330 3/9/2018
3.5.3 322 3/8/2018
3.4.8 336 2/13/2018
3.4.1 320 2/7/2018
3.3.3 333 2/4/2018
3.2.3 266 1/28/2018
3.2.0 372 1/25/2018
2.5.9 384 1/10/2018
2.3.0 385 12/8/2017
2.2.8 329 12/2/2017
2.2.5 595 11/19/2017
2.2.4 578 11/5/2017
0.0.3 628 11/5/2017
0.0.2 638 11/5/2017
0.0.1 319 11/5/2017
Show less