Javascrpt

Expand all the events in Calendar View on page load SharePoint

The method to expand all the events in Calendar View on load using Content Editor WebPart. You should add this code. You should copy and paste it to html file, save this file to document library and set its path into the settings of CEWP. Read more»

SharePoint

Parse SharePoint lookup value with JavaScript and Regular expression

Javascript logo

If you use SharePoint and get data from lists with JavaScript, once you will receive SharePoint lookup value which looks like ’34;#Item title’. There is a way to parse this data with Regular expression and to convert it to an object. I have created a small method to make it easier. In my case I […] Read more»

SharePoint

Disable modal windows in Calendar view SharePoint 2010

With SharePoint 2010 you can disable usage of modal windows in List settings. But if you use calendar view, it does not matter what you have installed in the settings – all the list forms will be opened in modal windows. How to disable them? Read more»

SharePoint

Convert date format dd.mm.yyyy to a SharePoint query string format with JavaScript regular expression

Javascript logo

In SharePoint queries you should use date in the format ‘yyyy-mm-ddTHH:MM:SSZ’, for example, 2019-09-30T09:00:00Z. But the input form of the SharePoint datetime controls returns the value as ‘dd.mm.yyyyy’, the time value you will recieve in another way. Read more»

TypeScipt / Javascript

Create Save and Stay on Page button in SharePoint list Edit Form page

SharePoint 2016 Logo

Recently I was looking for the solution about how to add the button to “Save and Stay on page” for SharePoint Edit Form page. I read several articles how to do it, but most of them were no good. But also I found one useful page which became the base for my solution. Read more»

SharePoint

Open specific tab on page load with JQuery UI

jQuery logo

I made a simple HTML page with JQuery UI tabs. But the customer asked to give URLs for each tab. I was a bit surprised with it, because I remember only how to make default tab on page load. You can do it with the syntax like this: $(“#tabs”).tabs( { selected: x  });  where ‘x’ […] Read more»

TypeScipt / Javascript

Embed stream RTMP video in Intranet site SharePoint 2010

VideoJS

Playing stream video is a very popular task in nowadays in companies with wide network. Stream video is supported well with modern browsers, but there are some difficulties with streaming inside networks without direct Internet access and SharePoint 2010 as a portal solution. Of course, SharePoint 2010 is very good, but it is unlikely to […] Read more»

React

SharePoint 2010 Javascript Snippet – open page in modal Window

SharePoint 2016 Logo

You can add a bit of customization easily with Content Editor Web Part, where you add Javascript and HTML. In this post you can find a snippet for SharePoint 2010 to open a custom page in the modal dialog window. Read more»

SharePoint

Popular Posts