All posts by aackose

A Sitecore & SharePoint Consultant with over 11 years of extensive technical experience in UI/UX Designing, Requirements Analysis, Designing, Developing, Testing, Deployment, Infrastructure Setup for web/enterprise-based applications using Microsoft Technologies (SharePoint, Sitecore & .NET) across all phases of SDLC


SharePoint REST API to get Discussion List Questions and Replies separately

To get the list of questions from a SP 2013+ Distribution list using OOTB REST API: _api/lists/getByTitle('listname')/items?$filter=ContentType eq 'Discussion' or /_api/lists/getByTitle('listname')/items?$filter=FSObjType eq 1 To get the list of replies from a SP 2013+ Distribution list, using OOTB REST API: _api/lists/getByTitle('listname')/items?$filter=ContentType eq 'Message' or /_api/lists/getByTitle('listname')/items?$filter=FSObjType eq 0 To get the list of Discussions with the replies count ...

Microsoft.SharePoint.SPException: Schema version of backup 15.0.xxxx.xxxx does not match current schema version 15.0.yyyy.yyyy

A common error that you might face while doing site collection backups and restore is the following error: Could not deserialize site from E:\SiteCollection1.bak . Microsoft.SharePoint.SPException: Schema version of backup 15.0.4641.1000 does not match current schema version 15.0.4719.1000     at Microsoft.SharePoint.SPSite.Restore(String filename, Boolean isADMode, Boolean& readOnlyMode, Boolean& hadWriteLock) Note: You can capture this error ...


Having multiple JSLink based webparts on the same page, overrides all the other templates in SP 2013

Scenario: Create a dashboard page in SP 2013, displaying just 3 lists in 3 different views using Js Link capability. The 3 lists are: Accordion: A list containing title and description which will be displayed on the dashboard with an accordion functionality with title being the accordion item heading and description being the accordion item body. Menu: ...


JsLink not working with custom columns in a list

Issue: Let's say we have a list view webpart, with a JsLink URL pointing to a js file (~site/SiteAssets/customrenderer.js). JsLink seems to be working fine when we use the "Title" and "Description" fields to render the list items in a color coded format. However, when we try to display a custom column created ex. ColorCode, the JsLink ...


JSLink SharePoint 2013 troubleshooting

JsLink is a good feature that was introduced in SP 2013 to allow users to bring in more flexibility in Client Side Rendering (CSR). With this you can control how your list data is getting displayed in View, Display, Edit and New forms. For ex., you can achieve this using JSLink:   You can check ...


SharePoint 2013: Log Analytics through javascript

The following code snippet will help you to log the usage analytics into ULS://Log Views usage event on URL of catalog item    window.LogViewsToEventStore = function(url, site)    {            SP.SOD.executeFunc("sp.js", "SP.ClientContext", function()        {            var spClientContext = SP.ClientContext.get_current();            if(!$isNull(spClientContext))            {                    var spWeb = spClientContext.get_web();                    var spUser = spWeb.get_currentUser();                    var spScope = "{00000000-0000-0000-0000-000000000000}";                      ...


SharePoint 2013 BCS with WCF data source: Unknown Error occurred. Unable to load one or more of the requested types.

This is a common error that you would have faced, while adding a WCF service endpoint to BCS through SharePoint Designer 2013, connected to Office 365. The complete error would look like this: Unknown Error occurred. Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information. This is ...