SPServices

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

Get login of current user in SharePoint with SPServices

SharePoint 2016 Logo

I guess SPServices is the best solution for SharePoint. We still have SharePoint 2010 and prepate to migrate to SharePoint 2016 through SharePoint 2013. But for current tasks which must be made immediately, we still use SharePoint 2010, but only without server code. Rather often we have to make custom views for other users. Read more»

SharePoint

Console.log() function stops JavaScript executing in Internet Explorer 10

jQuery logo

Strange behavior of console.log() I have noticed when I created a JS code for SharePoint page. My code used jQuery and SPServices library. The code used to get items from a list and render options for “select” control. Below I post a part of my function which fills a JS array and renders options for […] Read more»

TypeScipt / Javascript

Popular Posts