Display rating control in xslt list view webpart after migration from SP2010 to SP2013

  Make sure you have Ratings setting enabled in your list/ library.   As the rating field is not shown properly;     Add below link for XSLT; <xsl:include href=”/_layouts/15/xsl/blog.xsl”/> <xsl:include href=”/_layouts/15/xsl/internal.xsl”/> <xsl:include href=”/_layouts/15/xsl/fldtypes_Ratings.xsl”/>   Add below code for Rating; <xsl:call-template name=”emit_RatingsInitialization”/> <xsl:apply-templates select=”$Fields[@Name=’AverageRating’]” mode=”PrintField”> <xsl:with-param name=”thisNode” select=”$thisNode”/> <xsl:with-param name=”Position” select=”$Position”/> </xsl:apply-templates>

Read More

SharePoint 2013 BreadCrumb On Master Page

Let’s bring the breadcrumb back to SharePoint 2013! By default SharePoint 2013 design manager  doesn’t have a breadcrumb snippet . If you are going to build master page for sharepoint 2013 and wants breadcrumb in your master page, this was a very helpful feature to navigate back in your site and some users really miss it. You have to just paste the given bellow code… Read More

Read More

Bulk delete SharePoint List items using CSOM

SharePoint CSOM enables us to delete bulk list items using browser console. Scenario-1:  We have a list of records to be deleted from a SharePoint list and we do not want to delete record one by one. Scenario-2:  We want to delete the list and list already had cross the threshold limit and not allowing to delete list until records reaches under the threshold limit.… Read More

Read More

To set custom sub site icon in a custom master page.

I.e. For Sub Site – A: . For Sub Site – B: Below is the approach followed from me: Added below entry in master page but it was always resulting in wrong URL (404 URL not found) and referring to Site Collection URL (It was needed to refer sub site URL) <asp:Image runat=”server” id=”idMainSubSiteImageLink” CssClass=”subSiteIconData” ImageUrl=”../../SiteAssets/banner.png”></asp:Image> 2    I have used trick to resolve correct… Read More

Read More