Tuesday, February 23, 2016

Uncaught TypeError: func is not a function in init.debug.js

Dear All,

I was facing "Uncaught TypeError: func is not a function" issue when browsing my SharePoint 2010 

site and due to this all the functions in my ribbon was not working.

Whenever I am clicking on ribbon items it always show me loading as shown below  


After digging more in to the issue I found that, in my Javascript code I have written 

ExecuteDelayUntilScriptLoaded(init(),"sp.js")

In the above syntax the '()' after init method was creating the problem.

I replace above syntax with 

ExecuteDelayUntilScriptLoaded(init,"sp.js")

and ribbon start working as expected.

Hope this post will save your time.

Thanks,
Sachin K.



Monday, November 16, 2015

Search Sort and Pagination in ng-repeat – AngularJS

Dear All,

Please find below link which explain a simple way to implement sorting, filtering and paging using angular js on your collection object.

Search Sort and Pagination in ng-repeat – AngularJS

Hope this information will save your time.

Thanks,
Sachin K. 

Monday, July 27, 2015

Wiki Page All item view SharePoint 2013

Dear All,

Today, I was surprise as I wanted to navigate to all items view for the wiki page library. 
Normally when use clicks on wiki page library, it redirect you to wiki home page to display the content which is normal behavior.

As a site owner, I wanted to see all the page inside my wiki page. When I am navigating to wiki page SharePoint removes the library tab from the ribbon which normally appears on any document library.

After spending some time I found that, on wiki page if you navigate to page tab from ribbon, you will find an option view all Pages option which will redirect you to all items page.









Hope this information save a little time for you.


Thanks,
Sachin K. 

Tuesday, July 29, 2014

Sharepoint 2013 App VS Solutions

Hi All,

Please refer to this link to get some useful information on SharePoint 2013 App development Vs Solutions.

Thanks,
Sachin K.


SharePoint 2013 on-line Breadcrumb

Hi All,

By default SharePoint 2013 doesn’t have a breadcrumb (like the 2010 version used to have). This was a very helpful feature to navigate back in your site and some users really miss it.

Actually its not totally removed from SharePoint but its hidden in SharePoint master page.

To restore it back, Open your site master page in SharePoint designer and search for following tag



Delete the CSS attribute style="display:none;"

Save the modified master page, check it in and publish the major version.

Thanks,

Sachin K.

Thursday, July 3, 2014

The database could not be exclusively locked to perform the operation.

Hi All,

While renaming sql server database if you get following error 
The database could not be exclusively locked to perform the operation. (Microsoft SQL Server, Error: 5030) that means your database is in multi-user mode.

To resolve this issue, you need to first set database single user mode 

ALTER DATABASE dbName
SET SINGLE_USER WITH ROLLBACK IMMEDIATE

Now, Rename the database using following command

ALTER DATABASE dbName MODIFY NAME = dbName_new

At the end, Set database mode to multi-user 

ALTER DATABASE dbName

SET MULTI_USER WITH ROLLBACK IMMEDIATE

Hope this will resolve your issue.

Thanks & Regards,
Sachin K.

Tuesday, July 1, 2014

Sideloading of apps is not enabled on this site

Hi All,

When you are deploying solution to SharePoint online environment and if you get the following error while deployment "Install app for SharePoint': Sideloading of apps is not enabled on this site."

This means that you need to enable sideloading first before deploying the app.

Refer to this link to see how to fix this issue.

Thanks,
Sachin K.