搜索功能和工作日编辑功能
SOPS 项目
In order to use this application you need a SharePoint 2013/2016 tenant. While this application has been built on SharePoint Online, it should work as well with SharePoint on-premises.
Following are the steps that you need to complete in order to see this application working in your tenant:
- clone this repository
- in the js/stores/SearchResultsStore.js on line 51 change the URL to the URL of your SharePoint tenant
- in the command line run
$ npm run dist
- rename
index.html
tosearch.aspx
- upload search.aspx, app.dist.js and app.dist.js.map to a SharePoint Document Library
- in your web browser navigate to the search.aspx page
When developing you can use the $ npm start
command. It will start a new instance of the webpack web server on https://localhost:8443. Please note that from that page you won't be able to connect to your SharePoint tenant but you will be able to test how the events flow in the application.