Everything began from nothing.

Wednesday, 22 March 2017

PropretyBag with JavaScript in SharePoint 2013

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");
var webProperties;
function getWebProperties() {
    var clientContext = new SP.ClientContext.get_current();
    webProperties = clientContext.get_web().get_allProperties();
    clientContext.executeQueryAsync(Function.createDelegate(this, this.getWebPropertiesSucceeded), Function.createDelegate(this, this.onQueryFailed));
function getWebPropertiesSucceeded() {
          //debugger; //use this to force a break here
    //returns an object with all properties. 
          //Use the quick watch to expand this out to see all of them.
    var allProps = webProperties.get_fieldValues();
    var customProp = "";
         //make sure the property is there before using it.
    if(webProperties.get_fieldValues().CustomSite_Version != undefined)
        var customProp = webProperties.get_fieldValues().CustomSite_Version;
function onQueryFailed(args, sender)
     //handle errors here

var customProp = webProperties.get_fieldValues().CustomSite_Version;

Monday, 20 March 2017

[City] Version Béta by Fiks It

Version 1.0 ( just for test) 
Game developed by: Firas KSONTINI & Aziz Gassara

Thanks for your Support

Friday, 24 February 2017

My first experience with SharePoint 2016 on premise


Today i will share with you my Experience with SharePoint 2016 on premise.
I installed this farm on my Personnel machine. Just for testing with 6 RAM memory and 80 GB Hard disk, and also 2 processors. Ha-ha

The Top Bar:

As we see a new sexy black top bar. Same as Office 365.

New option MINROLE:

 Convert Server role in this farm, is a new option that’s allows us to change the role of each server simply.

Information policy

A new section in the security scope that helps us to configure IRM ;)

Monday, 20 February 2017

SharePoint Framework / NodeJS ( setup envoriment)

Hello SharePointiens,

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

Open cmder :
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

specify he solution name,the target of the project , ....
install the certification SSL : gulp trust-dev-cert
to test if its ok run
gulp serve

the browser will open a new workbench page to test your sharepoint webpart on your localhost machine.

if you have this errors :
Error - typescript - node_modules@types\lodash\index.d.ts(11444,21): error TS1005: ']' expected.
Error - typescript - node_modules@types\lodash\index.d.ts(11444,22): error TS1005: ';' expected.
Error - typescript - node_modules@types\lodash\index.d.ts(11444,23): error TS1128: Declaration or statement expected.
Error - typescript - node_modules@types\lodash\index.d.ts(11444,33): error TS1005: ']' expected.
Error - typescript - node_modules@types\lodash\index.d.ts(11444,34): error TS1005: ')' expected.
Error - typescript - node_modules@types\lodash\index.d.ts(11444,35): error TS1128: Declaration or statement expected.
Error - typescript - node_modules@types\lodash\index.d.ts(11444,37): error TS1128: Declaration or statement expected.
Error - typescript - node_modules@types\lodash\index.d.ts(19441,1): error TS1128: Declaration or statement expected.

Execute this : npm install @types/lodash@4.14.50
then : gulp serve