Tuesday, May 29, 2012

Designing large lists and maximizing list performance (SharePoint Server 2010)

This is MSDN article, which is very useful for all the developers who are dealing with the large CMS. This article provides information about the performance of large document libraries and large lists. The recommendations in this article are the result of a series of performance tests that were conducted with Microsoft SharePoint Server 2010. The focus of this article is on the performance characteristics...Read more

Values chosen in the Document’s Information Panel (DIP) not being saved in the SharePoint library for Managed Metadata columns

We set up a document library with a content type. We got 14 custom columns (6 managed metadata, 2 Person or Group, 5 Text & 1 Date types).  Property promotion/demotion is enabled (SPWeb.ParserEnabled -> true) When users save a new document into the library they are prompted (DIP) to choose values for these columns. We are seeing problems related to values chosen in the document’s information...Read more

Wednesday, May 23, 2012

Jquery and Javascript date calculation /Weekdays calculation.

Jquery and Javascript date calculation /Weekdays calculation. Open sharepoint page in edit mode. Add content editor webpart to page at the end. Add below script to content editor webpart. // JScript source code <script type="text/javascript" src="http://code.jquery.com/jquery.min.js">!--script> <script src='/_layouts/SP.js' type='text/javascript'>!--script> <script type=""text/javascript"">     var myItems;     var countHolidays = 0; ...Read more

How to change the font of the Richtextbox of sharepoint library/list when it gets focus/ cursor on it.

How to change the font of the Richtextbox of sharepoint library/list when it gets focus/ cursor on it. Open New Item page in edit mode. Add content editor webpart to page at the end. Add below script to content editor webpart. (Make sure that you change your control id in below code). <script type="text/javascript" src="http://code.jquery.com/jquery.min.js">!--script> <...Read more

Saturday, May 19, 2012

Javascript: The column name that you entered is already in use or reserved. Choose another name.

When you’re creating columns either the Site Columns or the List Columns in SharePoint, it might show a message stating “The column name that you entered is already in use or reserved. Choose another name.”. Ideally, If it is reserved column name then you should avoid giving that name. Still there are cases when you have to change the name..... Here is the fix for this issue. Just check all...Read more