Archive | SharePoint RSS feed for this archive

Programmatically/automatically RE-index document library sharepoint 2013


  SharePoint 2013 provides the ability to reindex a document library or a list. http://office.microsoft.com/en-gb/office365-sharepoint-online-enterprise-help/manually-request-crawling-and-re-indexing-of-a-site-a-library-or-a-list-HA104052395.aspx You can add an event receiver on itemAdded or itemAdding based on the business logic and implement the code which adds the search version for the document library or list to be re-indexed. Enjoy, Atul Event Receiver /// <summary>         /// […]

Sharepoint users group DC presentation November 14 2013


SharePoint 2013 Term Store and Dynamics CRM 2013 A True love story from Atul Chhoda

ifRame a sharepoint 2013 site into Other site CRM Dynamics 2011


This is a very common requirement to iFrame SharePoint sites into other sites like in my case it was CRM Dynamics 2011 SharePoint 2010 there are no issues embedding a SharePoint Site as iFrame setting the document location in for a specific record of an entity. In SharePoint 2013 to avoid click jacking Microsoft has […]

User Display Name shows “i:0#.f|” using LDAP membership provider for FBA gives you –No Fix from MS Support


We had a MS Support case for the display names not showing up correctly for accounts in the Forms Auth using the LDAP membership provider. Believe me whatever you do its not picking it up from Active Directory User Display Name instead the user display name is like i:0#.f|mName|accountname mName = membershipprovideraliasinCentralAdmin accountname = account […]

SharePoint 2010: Create Custom Login page with persistent cookies


At my current client we are using FBA ( Forms Based Authentication) with LDAP membership provider. The issue was the users were prompted the login page( Dual Authentication) while opening Office documents( Office Client) , something below with setting in Web Application to default sign in page.   Some history on the issue and need […]

Creating site collection in forms based authentication: SharePoint Server 2010


I was trying to create a site collection on a forms based authenticated(claims based authentication) web application and was getting an error “User not found” New-SPSite http://test/ -Name "Test" -ContentDatabase WSS_Content_Test -Template "STS#1" –OwnerAlias “cgptsharepointadmin” Issue: OwnerAlias was incorrect for the forms based authentication users. Solution: 1) Run the powershell command Get-SPUser and as you […]

Switching authentication claims/classic for a SharePoint Server 2010 Web Application for Project Server 2010


I was switching authentication from claims to classic authentication for a Project Server 2010 site. I had used PowerShell but there were caveat to the script SOLUTION as there had to be some manual steps to switch authentication . See the PowerShell below: $webApp = Get-SPWebApplication "http://vm-dev6:40932/&quot; $webApp.UseClaimsAuthentication = $False; $webApp.Update() iisreset Manual Steps 1: […]

Services Configuration for a small SharePoint 2010 Server Farm


Farm Configuration Wizard         Once you have clicked on Launch the Farm Configuration wizard, use the service account serviceadmin for running all the service applications as below.     Click Next to continue to the next screen…The next screen you see is to create a site collection     You can skip […]

Installing SharePoint 2010 Server in a small farm environment


I had 2 virtual machines loaded on Hyper-V as VM-DEV5 and VM-DEV6. VM-DEV5 was used for Active Directory and Databases and VM-DEV6 was SharePoint 2010( APP and WFE) Active Directory :VM-DEV5 Roles can and should be added from Server Manager (but they can also be initiated from the Initial Configuration Tasks wizard that auto-opens the […]

SharePoint 2010: Event Receivers Part 1- Create Event Receiver for Content Types


Creating Event receivers in SharePoint is a very common task With the new Visual Studio 2010, its more easy than before though you could do same with WSP builder in SharePoint 2007. Also the VSEWSS provided a few templates that could be used. Lets look at what has changed and what hasn’t changed in SharePoint […]