Uncategorized

XSLTListview VS DataFormWebpart
XSLTListview VS DataFormWebpart Sameer Mohammed

Applies to SharePoint 2013 XSLTListview webpart was release with SharePoint 2010 to replace the Listview webpart which was used to display the list data in SharePoint 2007. It uses XSL and users can customize a lot of the XSLT and modify the look feel functionality which the listview webpart could not do. XSLTListview webpart works…

read more
Clearing filter selection on a DataView created by Filter Webparts
Clearing filter selection on a DataView created by Filter Webparts 150 150 Sameer Mohammed

Applies to SharePoint 2013 After using filter webparts with a dataview you will soon realize that if you want to clear the filter so that you can see all the records in the dataview it just does not work, i.e. you have to select all the filters all the time. There is not the way…

read more
Using Apply Filter Button webpart with multiple Filter webparts
Using Apply Filter Button webpart with multiple Filter webparts Sameer Mohammed

Applies to SharePoint 2013 The good or bad thing about the filter webparts from the post above is that they do the filtering but instantaneously i.e as soon as I select the first name it applies the first name filter, then when I select the last name it does the last name filtering, at time…

read more
Filtering XSLT List view web part with Text filter Web parts
Filtering XSLT List view web part with Text filter Web parts Sameer Mohammed

Applies to SharePoint 2013. Out of the several different filters, webparts let’s try using a Text filter webpart On a new non-webpart page created form designer add a dataview webpart and select a list Select a Text Filter webpart Change the filter name and Title name to something simple We are going to create a…

read more
Using Dataview Webpart with SharePoint 2013
Using Dataview Webpart with SharePoint 2013 150 150 Sameer Mohammed

Using Dataview Webpart web partrePoint 2013 Let’s go ahead and use a DataView webpart and discuss some of the basic options that it provides. Open SharePoint Designer 2013, connect to your site and create a new non-webpart page by clicking on New ASPX page in the folder in which you want to create the page.…

read more
Force FBA users to download word document instead of having them open in MS Word
Force FBA users to download word document instead of having them open in MS Word 150 150 Sameer Mohammed

FBA users when opening documents get either prompted with login or MS Word opens up the document and it is either blank or just a new document. The way I found around this problem is to force them to download the document by going to Central Admin \ Select webapplication\ Authentication provider\ Set Enable Client…

read more
Anonymous user gets prompted to view list items even through they have view list item permissions
Anonymous user gets prompted to view list items even through they have view list item permissions 150 150 Sameer Mohammed

In a publishing site even if anonymous users have been granted permission on all the level i.e in Central admin, in Site and if permissions are broken then in List\ Libraries but still they get prompted to enter username\ password to view the list\ list items. To fix this issue deactivate a hidden feature by…

read more
Converting a site to a Site collection
Converting a site to a Site collection 150 150 Sameer Mohammed

Creating a site collection from site 1. Below I am creating a new database since my site is a publishing site I will be creating a blank publishing site. Create a new site in its own DB using the below cmstemplate a. $w=Get-SPWebApplication(“http://shareptapptest:9002”) b. New-SPContentDatabase “WSS_Content_Internet_Hosted_Sites_3” -DatabaseServer “shareptDBtest” -WebApplication $w c. new site: here I…

read more
LinQ to SharePoint examples
LinQ to SharePoint examples 150 150 Sameer Mohammed

Namespaces to refer in Visual studio for using LinQ using System.Linq; using Microsoft.SharePoint.Linq; using System.Collections.Generic; Generate Entity classes using SPMetal Run the following command to generate it spmetal /web:http:// /code: Creating a Join between two list UserAccounts and Invoices List UserAccounts have Account, Name List Invoices have Account, Amount, Paid //First refer the Datacontext class…

read more
Moving content using the granular “Perform a Site Collection Backup” option in SharePoint 2010
Moving content using the granular “Perform a Site Collection Backup” option in SharePoint 2010 150 150 Sameer Mohammed

The good part about it is that using this option everything within a site collection will be backed up including workflows! Backup Process Backup of the site collection can be done using CA but the restore has to be done using power shell command, I am going to take you step by step through both…

read more