Helper class for creating SharePoint Assets
let cfg = Helper.SPConfig({ ListCfg: [ { ListInformation: { BaseTemplate: SPTypes.ListTemplateType.GenericList, Description: "", Title: "My Custom List", }, ViewInformation: [ { JSLink: "~sitecollection/style library/jslinks/mySolution.js", ViewFields: ["ID", "Title", "InternalFieldName"], ViewName: "All Items", ViewQuery: "<Query></Query>" } ] } ] }); // Install the library cfg.install(); // Unisntall the library cfg.uninstall();
Generated using TypeDoc
Helper class for creating SharePoint Assets
Example Configuration
let cfg = Helper.SPConfig({ ListCfg: [ { ListInformation: { BaseTemplate: SPTypes.ListTemplateType.GenericList, Description: "", Title: "My Custom List", }, ViewInformation: [ { JSLink: "~sitecollection/style library/jslinks/mySolution.js", ViewFields: ["ID", "Title", "InternalFieldName"], ViewName: "All Items", ViewQuery: "<Query></Query>" } ] } ] }); // Install the library cfg.install(); // Unisntall the library cfg.uninstall();