Posts

Import a SharePoint List from SharePoint 2010 to SharePoint 2013

Copied from: http://absolute-sharepoint.com/2013/08/how-to-move-a-list-from-sharepoint-2010-to-sharepoint-2013.html How to move a List from SharePoint 2010 to SharePoint 2013 Fast & Cheap : “Dirty” export and import Fast & Clean : Third party solution Clean & Cheap: Content Database Import 1. Fast & Cheap — > Modify the .CMP file This is the “dirty” method to make it work fast. What I mean by dirty, is that it isn’t supported by Microsoft officially since we will modify the .cmp file. Here is how to do it step by step. Export the list from SharePoint 2010 using either the Central Administration or PowerShell (Export-SPWeb). In the Central Administration, go to Backup and Restore > Export a site or list. Choose your list, and click Start Export Copy the exported list (.cmp file) to your desktop and change the extension to .cab. You can then extract it using a software like WinRar. You will then have those files: Open the SystemData.XML file with an ...

Create a Sharepoint 2013 Master Page based on Seattle.master with VS 2012 / VS2013

1. Create a new project: 2. Configure as a Sandbox (or as a Farm) Solution: 3. Add a new Module to your project: 4. Download a copy of Seattle.master: 5. Add the copy to your module, rename to CustomMaster.master, and Change your elements.xml file to point to _catalogs\masterpage folder: 6. Change your masterpage, to include a welcome message: 7. Deploy your solution and change your Site master page: 8. Verify that it shows your welcome message: Source: https://raquelalineblog.wordpress.com/2013/04/26/sharepoint-2013-create-a-master-page-based-on-seattle-master-with-vs-2012/

Add robots.txt file to the root directory using PowerShell

$fileBytes = [system.io.file]::ReadAllBytes("c:\the\full\path\to\your\robots.txt"); $site = Get-SPSite "http://yourdomain:portifneeded"; $site.RootWeb.Files.Add("robots.txt", $fileBytes, $true);    copied from: http://www.jonthenerd.com/2011/08/17/sharepoint-2010-add-a-file-to-the-root-of-your-site-using-powershell/

configuration of web.config fo IIS Application to show special character in mobile device

Following codes need to be added in web.config file to to enable the IIS for showing special character in mobile devices. <system.webServer> <staticContent> <remove fileExtension = ".woff" /> <!-- In case IIS already has this mime type --> <mimeMap fileExtension = ".woff" mimeType = "application/x-font-woff" /> </staticContent> </system.webServer> source: http://stackoverflow.com/questions/23007250/fontawesome-does-not-work-when-served-by-iis

Enable versioning on all lists and libraries

Copied from: https://social.technet.microsoft.com/Forums/office/en-US/2d82272d-9aea-453a-b2ae-bf7df55a0304/automatically-enable-versioning-on-all-document-libraries?forum=sharepointadminprevious There is no OOTB feature to do this but below mentioned powershell script will enable it on all existing sites: Add - PSSnapin Microsoft.SharePoint.PowerShell - erroraction SilentlyContinue $siteURL = $args [ 0 ] $site = Get - SPSite( $siteURL ) foreach ( $web in $site .AllWebs) { Write - Host "Inspecting " $web .Title foreach ( $list in $web .Lists) { if ( $list .BaseType -eq "DocumentLibrary" ) { Write - Host "Versioning enabled: " $list .EnableVersioning $host .UI.WriteLine() Write - Host "MinorVersioning Enabled: " $list .EnableMinorVersions $host .UI.WriteLine() Write - Host "EnableModeration: " $list .EnableModeration $host .UI.WriteLine() Write - Host "Major Versions: " $list .MajorVersionLimit ...

Configure Basic authentication for a classic-mode Web application (SharePoint Server 2010)

Copy-paste from: http://technet.microsoft.com/en-us/library/gg558567%28v=office.14%29.aspx To configure IIS to enable Basic authentication Verify that you have one of the following administrative credentials: You must be a member of the Administrators group on the server on which you are configuring IIS. On the Start menu, point to All Programs , click Administrative Tools , and then click Internet Information Services (IIS) Manager to start the IIS Management Console. Expand Sites on the console tree, right-click the IIS Web site that corresponds to the Web application zone on which you want to configure Basic authentication. In Features View, double-click Authentication . On the Authentication page, select Basic Authentication. In the Actions pane, click Enable to use Basic authentication with the default settings. In the Actions pane, click Edit to enter a realm name. In the Edit Basic Authentication Settings ...

Resolve KN server slowness

1. Hosting / Production server OS investigation: using monitoring tools, need for Hot-fixes, missing certificate => http://kb4sp.wordpress.com/2011/07/28/got-a-slow-sharepoint-farm-maybe-theres-some-smoke-in-your-chimney/ 2. IIS investigation: Worker processes, IIS Application pooling, IIS log 3. Network level investigation: 4. SQL Server investigation: db logs, recovery model,  => http://www.networkworld.com/article/2210265/tech-primers/10-steps-to-optimize-sharepoint-performance.html 5. SQL code level using SQL profiles => http://www.slideshare.net/rishumehra/sql-server-profiler-performance-monitor-sarabpreet-singh 6. SharePoint server level investigation http://technet.microsoft.com/en-us/library/ff872146%28v=office.14%29.aspx http://apmblog.compuware.com/2013/03/12/net-and-sharepoint-performance-dont-let-default-settings-ruin-your-end-user-experience/ 7. SP server interaction with DB server 8. SP se...