Skip to content

SharePoint Provisioning engine with pure JavaScript

Notifications You must be signed in to change notification settings

okms/js-sites-core

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JS Sites Core

SharePoint Provisioning engine with pure JavaScript inspired by https://github.com/OfficeDev/PnP-Sites-Core/

Using js-sites-core

Can be as simple as

jQuery.getScript(`${_spPageContextInfo.siteAbsoluteUrl}/SiteAssets/js/pzl.sites.core.js`, () => {
    Pzl.Sites.Core.init(siteTemplateConfig, { "On": true }).then(() => {               
        
    })
});

or with logging to file

jQuery.getScript(`${_spPageContextInfo.siteAbsoluteUrl}/SiteAssets/js/pzl.sites.core.js`, () => {
    Pzl.Sites.Core.init(siteTemplateConfig, { "On": true, "LoggingFolder": _spPageContextInfo.siteServerRelativeUrl + "/SiteAssets/logs" }).then(() => {               
        
    })
});

Bower

js-sites-core is available through bower.

Package information

    bower info js-sites-core

Install package

    bower install js-sites-core

Schema

Schema is inspired by https://github.com/OfficeDev/PnP-Provisioning-Schema

Most of the differences are due to the available CSOM attributes and functions.

Schema 1.4.3

Samples

Full Sample

About

SharePoint Provisioning engine with pure JavaScript

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 54.2%
  • TypeScript 45.8%