GithubHelp home page GithubHelp logo

jcalan8907 / sprest-webparts Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gunjandatta/sprest-webparts

0.0 1.0 0.0 179 KB

WebPart examples using the gd-sprest-react library.

License: MIT License

TypeScript 92.48% CSS 3.81% JavaScript 3.71%

sprest-webparts's Introduction

SharePoint React WebParts

This project provides examples of using the gd-sprest and gd-sprest-react libraries. These solutions are designed for SharePoint 2013, but is supported in SharePoint 2013/2016 and Office 365.

Blog Post

Refer to this blog post for details on the available webparts to inherit from. The blog post gives an overview of the code for the "Document View WebPart" example.

Batch Demo WebPart

An example of the executing batch operations. Refer to this link for Microsoft's documentation for performing batch operations using the SharePoint Online REST API.

Document View WebPart

Simple example of using the WebPartSearch classes to display documents. The search webpart class allows the user to select the searchable fields, currently limited to:

  • Choice/Multi-Choice
  • Lookup/Multi-Lookup
  • Taxonomy
  • Text

A mapper will be generated from the field values, and used as a tag picker for filtering the documents. Clicking on an office document will display it in the office app.

Email WebPart

Simple example of using the SP People Picker component and the email class of the gd-sprest library.

Hello World WebPart

Probably the first one you should look at. It's a simple example of using the webpart component, and the OnRenderDisplay and OnRenderEdit events. The page will render the webpart id in display mode, and a message indicating it's an edit mode when the page is being edited.

List WebPart

An example of extending the WebPart Search class to display a list view and item form. The "ItemForm" component will be used to render the item form panel.

WebPart Tabs

An example of using the WebPart Tabs class to generate a tab for each associated webpart in the same zone.

sprest-webparts's People

Contributors

gunjandatta avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.