Posts

Showing posts with the label SharePoint-generator

PropretyBag with JavaScript in SharePoint 2013

Image
Hello,
as we know, Property bag are very important in SharePoint development, and to get it with JavaScript is very simple :



//wait until client object model dependencies are loaded before executing our code ExecuteOrDelayUntilScriptLoaded(getWebProperties, "sp.js"); varwebProperties;

SharePoint Framework / NodeJS ( setup envoriment)

Image
Hello SharePointiens,

i will show you how we configure our workspace to work with Sharepoint Framework:
Tools :
NodeJS server.
Visual Studio Code.
Cmder.

Open cmder :
d:/
mkdir workspace
cd workspace
mkdir SPFramework
cd SPFramework
mkdir HelloWorld
cd HelloWorld



now we should install yoman :
# install yo & gulp

npm install yo gulp # install Sharepoint generator npm install --global @microsoft/sharepoint-generator # create a new project yo @microsoft/sharepoint