Category: Dev

Sharepoint : Timeline with zoom

Events Timeline to manage events and rooms / ressources inside sharepoint website … I can adapt this timeline to many situations. Timelines are perfect for telling stories and visualizing processes. You can use a...

Make SP.SOD.executeFunc and SP.ClientContext Function Properly In SharePoint Online

Running the code above with a proper function implementation in executeOrDelayUntilScriptLoaded will work 100% of the time. <script src=””></script> SP.SOD.executeFunc(‘sp.js’, ‘SP.ClientContext’, function () { console.log(“Initiating SP.ClientContext”) }); SP.SOD.executeOrDelayUntilScriptLoaded(someFunction,”sp.js”);

Sharepoint : Changing date format using javascript

I would recommend to use : Moment.js library (link) Format Dates moment().format(‘MMMM Do YYYY, h:mm:ss a’); // December 6th 2018, 11:55:15 am moment().format(‘dddd’); // Thursday moment().format(“MMM Do YY”); // Dec 6th 18 moment().format(‘YYYY [escaped]...