Showing posts with label SharePoint 2010. Show all posts
Showing posts with label SharePoint 2010. Show all posts

Monday, August 15, 2011

Object cache options in site settings page not appearing in some templates in SharePoint 2010

----------
Problem
----------
Unable to config/view object cache options in site settings page for site templates other than 'publishing ones'


----------
Solution
----------
Visit the web application (root site collection)
1.       Click Site Actions -> Site Settings -> Site collection features, activate 'SharePoint Server Publishing Infrastructure' feature.
2.       Click Site Actions -> Site Settings -> Manage site features, activate 'SharePoint Server Publishing' feature.
3.       Boom! Cache options are now visible in site settings page.

Opening files within SharePoint 2010 do not open correctly. Fix this by changing the 'Browser File Handling' from 'Strict' to 'Permissive' using Powershell

Create a PS1 file with the code below (Change the $url value to the URL of your web app)

#####################################################################
$url = "http://webappname"
Get-SPWebApplication $url | ForEach-Object {$_.BrowserFileHandling = “permissive”; $_.update()}
#####################################################################

This will update the web application Browser File Handling from 'Strict' to 'Permissive'