Posts By :

Sameer Mohammed

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
Host header site collection VS Path based Site Collections in SharePoint 2010
Host header site collection VS Path based Site Collections in SharePoint 2010 150 150 Sameer Mohammed

SharePoint gives the ability to create site collections with its own domain name while the web application has a different domain name, these site collections are called hostname site collections and their creation and behavior are different from regular path-based site collections which by default are created under http://sp2010/SITES/XYZ/. Below are 10 differences that I…

read more
Adding Custom Styles to Ribbon’s Styles dropdown
Adding Custom Styles to Ribbon’s Styles dropdown 150 150 Sameer Mohammed

The cool part about SP2010 is that as soon as it sees styles in the custom CSS file, it will add it to the Style drop-down, I made a quick documentation for a colleague so I thought would blog it as well. You see the “Styles” in the Ribbon that is where I want to…

read more
Creating site Collection in its own Database
Creating site Collection in its own Database 150 150 Sameer Mohammed

Creating site collection from CA is one of the easiest things but creating it with its own database is a little different, there are several ways to do it but I am going to do it using PowerShell: //Get the web application in $wb variable $wb = Get-SPWebApplication -Identity http://MySharePointServer:9001 //Get the desired name of…

read more
Implementing SSL on SharePoint 2010 and IIS 7 and forcing http request to redirect to https
Implementing SSL on SharePoint 2010 and IIS 7 and forcing http request to redirect to https 150 150 Sameer Mohammed

1. The certificate is already imported in IIS 2. I am using a wildcard cert here but I believe it will be pretty much the same for other types of certs as well. 3. Port 443 is configured to point to this web application also. 4.web applications are using host headers Open up IIS 7.0…

read more

Subscribe