Coder Social home page Coder Social logo

darius231 / chromespdevtools Goto Github PK

View Code? Open in Web Editor NEW
10.0 6.0 5.0 8.21 MB

Google chrome extension for creating, updating and deleting SharePoint web properties

License: MIT License

JavaScript 6.20% TypeScript 87.92% HTML 0.13% CSS 5.74%
sharepoint chrome-extension property-bag custom-actions features typescript webpack react redux ui-fabric

chromespdevtools's Introduction

Chrome SP Dev Tools

A Google chrome extension design to make SharePoint Developer’s life easier. Providing several useful tools:

  • Property Bag tool: allowing Devs to Create, Update or Delete web properties.
  • Site Lists tool: showing a list of all the lists and libraries Public or Hidden.
  • Web Custom Actions tool: allowing Devs to Create, Update or Delete web custom actions.
  • Web and site fueature tool: showing a list of all the web and site features with the option of Activate of Deactivate andy of the shown features.

Google Chrome Installation

The application is published in the Google Chrome Web Store. This is the direct link to it.


Development

Installation

After cloning this repo, execute in your favourite shell:

  • npm install --global gulp to make sure gulp is installed globally.
  • npm install to install npm dependencies and TypeScript typings.

Compilation Chrome extension

Within the same shell window, execute:

  • npm run generate to execute the task that will create the content of the dist folder.

Start Server, Compilation and watch Action files (using webpack)

Within the same shell window, execute:

  • npm run start to execute the task that will create the content of the dist folder, start webpack-dev-server on 8080 port and keep watching the source files for changes

Loading the extension

From a google chrome window

  1. Visit chrome://extensions in your browser (or open up the Chrome menu by clicking the icon to the far right of the Omnibox: Omnibox The menu's icon is three horizontal bars. and select Extensions under the Tools menu to get to the same place).

  2. Check the Developer mode checkbox in the top right-hand corner.

  3. Click Load unpacked extension… to pop up a file-selection dialog.

  4. Navigate to the directory where the dist folder is, and with in chromeExtension, select the dev folder.


License

The MIT License (MIT)

Copyright (c) 2016 @darius231

chromespdevtools's People

Contributors

benjacernuda avatar darius231 avatar jquintozamora avatar mistatwist avatar spcfran avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

chromespdevtools's Issues

Support for SharePoint 2010

First, I would like to say that this Chrome extension is awesome! It has a lot of potential and the way it is currently will help my productivity a lot.

Anyway, I would like to ask if you could remove the "15/" from URL constants since SharePoint redirects automatically to the correct location or perhaps, check the _spPageContextInfo.webUIVersion for SharePoint 2010 support. We have a few SharePoint 2010 websites running and I would like to use your extension there too.

SharePoint 2013 site

Hello! I'm trying to use this on a SharePoint 2013 site but I'm getting an error that says "Not a SharePoint site - Try opening the tool on a SharePoint Tab"

image

Will this extension only work for 365 sites?

[Suggestion] Lists and Libraries: include new action buttons

The Lists and Libraries module provides links to SP pages for list settings and permissions which cover many of the operations one would want to do with a list.

However there are some actions not available on the UI but there's an API in JSOM / REST for it, for example hide/unhide a list. It would be great to have some of these actions inline on the tool itself.

Doesn't Show Microsoft.SharePoint.StandardMenu Site Custom Actions Correctly

I've got 2 Site level CustomActions registered in Location Microsoft.SharePoint.StandardMenu, only 1 shows up in the Site Actions dialog showing incorrect data

2017-01-24_22-58-15

{
  "value": [
    {
      "CommandUIExtension": null,
      "Description": "2a818ad5ba5f464cba721c3669d4dd93",
      "Group": "SiteActions",
      "Id": "c7145b2b-5e0d-4e57-a0a0-08c09cc0327a",
      "ImageUrl": "/_layouts/images/myIcon.jpg",
      "Location": "Microsoft.SharePoint.StandardMenu",
      "Name": "{c7145b2b-5e0d-4e57-a0a0-08c09cc0327a}",
      "RegistrationId": null,
      "RegistrationType": 0,
      "Rights": {
        "High": "0",
        "Low": "1073741824"
      },
      "Scope": 2,
      "ScriptBlock": null,
      "ScriptSrc": null,
      "Sequence": 10,
      "Title": "{removed}",
      "Url": "{removed}",
      "VersionOfUserCustomAction": "16.0.1.0"
    },
    {
      "CommandUIExtension": null,
      "Description": "5b44df2e289a4b00b3e3126eeb0372ab",
      "Group": "SiteActions",
      "Id": "d9cd3b72-523e-4ebb-a1e2-d59a89db8ef2",
      "ImageUrl": "/_layouts/images/myIcon.jpg",
      "Location": "Microsoft.SharePoint.StandardMenu",
      "Name": "{d9cd3b72-523e-4ebb-a1e2-d59a89db8ef2}",
      "RegistrationId": null,
      "RegistrationType": 0,
      "Rights": {
        "High": "0",
        "Low": "1"
      },
      "Scope": 2,
      "ScriptBlock": null,
      "ScriptSrc": null,
      "Sequence": 10,
      "Title": "{removed}",
      "Url": "{removed}",
      "VersionOfUserCustomAction": "16.0.1.0"
    }
  ]
}

Building gives many errors

Followed build instructions correctly but get a lot of errors:

`
[at-loader] Checking finished with 75 errors
[22:16:27] [webpack] Hash: 8eddc28930e55a15c836
Version: webpack 2.3.2
Time: 11616ms
Asset Size Chunks Chunk Names
popup.js 182 kB 0 [emitted] popup
content.js 769 bytes 1 [emitted] content
background.js 1.01 kB 2 [emitted] background
./../styles/bundle.css 163 kB 0 [emitted] popup
popup.js.map 1.9 MB 0 [emitted] popup
./../styles/bundle.css.map 239 kB 0 [emitted] popup
content.js.map 7.3 kB 1 [emitted] content
background.js.map 8.03 kB 2 [emitted] background

ERROR in [at-loader] ./node_modules/@types/core-js/index.d.ts:350:48
TS2304: Cannot find name 'PropertyKey'.

ERROR in [at-loader] ./node_modules/@types/core-js/index.d.ts:351:52
TS2304: Cannot find name 'PropertyKey'.

ERROR in [at-loader] ./node_modules/@types/core-js/index.d.ts:352:34
TS2304: Cannot find name 'PropertyKey'.

ERROR in [at-loader] ./node_modules/@types/core-js/index.d.ts:353:34
TS2304: Cannot find name 'PropertyKey'.

ERROR in [at-loader] ./node_modules/@types/core-js/index.d.ts:354:34
TS2304: Cannot find name 'PropertyKey'.

ERROR in [at-loader] ./node_modules/@types/core-js/index.d.ts:355:61
TS2304: Cannot find name 'PropertyKey'.

ERROR in [at-loader] ./node_modules/@types/core-js/index.d.ts:356:60
TS2304: Cannot find name 'PropertyKey'.

ERROR in [at-loader] ./node_modules/@types/core-js/index.d.ts:357:65
TS2304: Cannot find name 'PropertyKey'.

ERROR in [at-loader] ./node_modules/@types/core-js/index.d.ts:357:97
TS2304: Cannot find name 'PropertyKey'.

ERROR in [at-loader] ./node_modules/@types/core-js/index.d.ts:358:60
TS2304: Cannot find name 'PropertyKey'.

ERROR in [at-loader] ./node_modules/@types/core-js/index.d.ts:359:58
TS2304: Cannot find name 'PropertyKey'.

ERROR in [at-loader] ./node_modules/@types/core-js/index.d.ts:360:59
TS2304: Cannot find name 'PropertyKey'.

ERROR in [at-loader] ./node_modules/@types/core-js/index.d.ts:361:58
TS2304: Cannot find name 'PropertyKey'.

ERROR in [at-loader] ./node_modules/@types/core-js/index.d.ts:362:61
TS2304: Cannot find name 'PropertyKey'.

ERROR in [at-loader] ./node_modules/@types/core-js/index.d.ts:362:117
TS2304: Cannot find name 'PropertyKey'.

ERROR in [at-loader] ./node_modules/@types/core-js/index.d.ts:363:42
TS2304: Cannot find name 'PropertyKey'.

ERROR in [at-loader] ./node_modules/@types/core-js/index.d.ts:365:81
TS2304: Cannot find name 'PropertyKey'.

ERROR in [at-loader] ./node_modules/@types/core-js/index.d.ts:366:78
TS2304: Cannot find name 'PropertyKey'.

ERROR in [at-loader] ./node_modules/@types/core-js/index.d.ts:367:76
TS2304: Cannot find name 'PropertyKey'.

ERROR in [at-loader] ./node_modules/@types/core-js/index.d.ts:368:73
TS2304: Cannot find name 'PropertyKey'.

ERROR in [at-loader] ./node_modules/@types/core-js/index.d.ts:464:59
TS2304: Cannot find name 'PropertyKey'.

ERROR in [at-loader] ./node_modules/@types/core-js/index.d.ts:465:59
TS2304: Cannot find name 'PropertyKey'.

ERROR in [at-loader] ./node_modules/@types/core-js/index.d.ts:467:48
TS2304: Cannot find name 'PropertyKey'.

ERROR in [at-loader] ./node_modules/@types/core-js/index.d.ts:468:69
TS2304: Cannot find name 'PropertyKey'.

ERROR in [at-loader] ./node_modules/@types/core-js/index.d.ts:472:40
TS2304: Cannot find name 'PropertyKey'.

ERROR in [at-loader] ./node_modules/@types/core-js/index.d.ts:474:48
TS2304: Cannot find name 'PropertyKey'.

ERROR in [at-loader] ./node_modules/@types/core-js/index.d.ts:494:55
TS2304: Cannot find name 'PropertyKey'.

ERROR in [at-loader] ./node_modules/@types/core-js/index.d.ts:495:45
TS2304: Cannot find name 'PropertyKey'.

ERROR in [at-loader] ./node_modules/@types/core-js/index.d.ts:627:20
TS2304: Cannot find name 'PromiseConstructor'.

ERROR in [at-loader] ./node_modules/@types/core-js/index.d.ts:1280:36
TS2339: Property 'for' does not exist on type 'SymbolConstructor'.

ERROR in [at-loader] ./node_modules/@types/core-js/index.d.ts:1284:43
TS2339: Property 'hasInstance' does not exist on type 'SymbolConstructor'.

ERROR in [at-loader] ./node_modules/@types/core-js/index.d.ts:1288:50
TS2339: Property 'isConcatSpreadable' does not exist on type 'SymbolConstruc
tor'.

ERROR in [at-loader] ./node_modules/@types/core-js/index.d.ts:1296:38
TS2339: Property 'keyFor' does not exist on type 'SymbolConstructor'.

ERROR in [at-loader] ./node_modules/@types/core-js/index.d.ts:1300:37
TS2339: Property 'match' does not exist on type 'SymbolConstructor'.

ERROR in [at-loader] ./node_modules/@types/core-js/index.d.ts:1304:39
TS2339: Property 'replace' does not exist on type 'SymbolConstructor'.

ERROR in [at-loader] ./node_modules/@types/core-js/index.d.ts:1308:38
TS2339: Property 'search' does not exist on type 'SymbolConstructor'.

ERROR in [at-loader] ./node_modules/@types/core-js/index.d.ts:1312:39
TS2339: Property 'species' does not exist on type 'SymbolConstructor'.

ERROR in [at-loader] ./node_modules/@types/core-js/index.d.ts:1316:37
TS2339: Property 'split' does not exist on type 'SymbolConstructor'.

ERROR in [at-loader] ./node_modules/@types/core-js/index.d.ts:1320:43
TS2339: Property 'toPrimitive' does not exist on type 'SymbolConstructor'.

ERROR in [at-loader] ./node_modules/@types/core-js/index.d.ts:1324:43
TS2339: Property 'toStringTag' does not exist on type 'SymbolConstructor'.

ERROR in [at-loader] ./node_modules/@types/core-js/index.d.ts:1328:43
TS2339: Property 'unscopables' does not exist on type 'SymbolConstructor'.

ERROR in [at-loader] ./node_modules/@types/core-js/index.d.ts:2059:36
TS2339: Property 'for' does not exist on type 'SymbolConstructor'.

ERROR in [at-loader] ./node_modules/@types/core-js/index.d.ts:2063:43
TS2339: Property 'hasInstance' does not exist on type 'SymbolConstructor'.

ERROR in [at-loader] ./node_modules/@types/core-js/index.d.ts:2067:50
TS2339: Property 'isConcatSpreadable' does not exist on type 'SymbolConstruc
tor'.

ERROR in [at-loader] ./node_modules/@types/core-js/index.d.ts:2075:38
TS2339: Property 'keyFor' does not exist on type 'SymbolConstructor'.

ERROR in [at-loader] ./node_modules/@types/core-js/index.d.ts:2079:37
TS2339: Property 'match' does not exist on type 'SymbolConstructor'.

ERROR in [at-loader] ./node_modules/@types/core-js/index.d.ts:2083:39
TS2339: Property 'replace' does not exist on type 'SymbolConstructor'.

ERROR in [at-loader] ./node_modules/@types/core-js/index.d.ts:2087:38
TS2339: Property 'search' does not exist on type 'SymbolConstructor'.

ERROR in [at-loader] ./node_modules/@types/core-js/index.d.ts:2091:39
TS2339: Property 'species' does not exist on type 'SymbolConstructor'.

ERROR in [at-loader] ./node_modules/@types/core-js/index.d.ts:2095:37
TS2339: Property 'split' does not exist on type 'SymbolConstructor'.

ERROR in [at-loader] ./node_modules/@types/core-js/index.d.ts:2099:43
TS2339: Property 'toPrimitive' does not exist on type 'SymbolConstructor'.

ERROR in [at-loader] ./node_modules/@types/core-js/index.d.ts:2103:43
TS2339: Property 'toStringTag' does not exist on type 'SymbolConstructor'.

ERROR in [at-loader] ./node_modules/@types/core-js/index.d.ts:2107:43
TS2339: Property 'unscopables' does not exist on type 'SymbolConstructor'.

ERROR in [at-loader] ./node_modules/@types/whatwg-fetch/index.d.ts:11:13
TS2300: Duplicate identifier 'fetch'.

ERROR in [at-loader] ./node_modules/@types/whatwg-fetch/index.d.ts:13:14
TS2300: Duplicate identifier 'HeadersInit'.

ERROR in [at-loader] ./node_modules/@types/whatwg-fetch/index.d.ts:14:15
TS2300: Duplicate identifier 'Headers'.

ERROR in [at-loader] ./node_modules/@types/whatwg-fetch/index.d.ts:31:14
TS2300: Duplicate identifier 'BodyInit'.

ERROR in [at-loader] ./node_modules/@types/whatwg-fetch/index.d.ts:41:14
TS2300: Duplicate identifier 'RequestInfo'.

ERROR in [at-loader] ./node_modules/@types/whatwg-fetch/index.d.ts:42:15
TS2300: Duplicate identifier 'Request'.

ERROR in [at-loader] ./node_modules/@types/whatwg-fetch/index.d.ts:61:11
TS2300: Duplicate identifier 'Request'.

ERROR in [at-loader] ./node_modules/@types/whatwg-fetch/index.d.ts:84:15
TS2300: Duplicate identifier 'Response'.

ERROR in [at-loader] ./node_modules/@types/whatwg-fetch/index.d.ts:102:11
TS2300: Duplicate identifier 'Response'.

ERROR in [at-loader] ./node_modules/@types/whatwg-streams/index.d.ts:25:15
TS2300: Duplicate identifier 'ReadableStream'.

ERROR in [at-loader] ./node_modules/typescript/lib/lib.d.ts:11168:11
TS2300: Duplicate identifier 'Headers'.

ERROR in [at-loader] ./node_modules/typescript/lib/lib.d.ts:11177:13
TS2300: Duplicate identifier 'Headers'.

ERROR in [at-loader] ./node_modules/typescript/lib/lib.d.ts:13544:11
TS2300: Duplicate identifier 'ReadableStream'.

ERROR in [at-loader] ./node_modules/typescript/lib/lib.d.ts:13550:13
TS2300: Duplicate identifier 'ReadableStream'.

ERROR in [at-loader] ./node_modules/typescript/lib/lib.d.ts:13566:11
TS2300: Duplicate identifier 'Request'.

ERROR in [at-loader] ./node_modules/typescript/lib/lib.d.ts:13583:13
TS2300: Duplicate identifier 'Request'.

ERROR in [at-loader] ./node_modules/typescript/lib/lib.d.ts:13588:11
TS2300: Duplicate identifier 'Response'.

ERROR in [at-loader] ./node_modules/typescript/lib/lib.d.ts:13599:13
TS2300: Duplicate identifier 'Response'.

ERROR in [at-loader] ./node_modules/typescript/lib/lib.d.ts:19116:18
TS2300: Duplicate identifier 'fetch'.

ERROR in [at-loader] ./node_modules/typescript/lib/lib.d.ts:19121:6
TS2300: Duplicate identifier 'BodyInit'.

ERROR in [at-loader] ./node_modules/typescript/lib/lib.d.ts:19142:6
TS2300: Duplicate identifier 'HeadersInit'.

ERROR in [at-loader] ./node_modules/typescript/lib/lib.d.ts:19152:6
TS2300: Duplicate identifier 'RequestInfo'.
[22:16:27] Finished 'build-chromeExt' after 12 s
[22:16:27] Starting 'generate-chrome-dev'...
[22:16:27] Finished 'generate-chrome-dev' after 24 µs`

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.