SharePoint Tips

  • Script installations to save time and maintain consistency

    As SharePoint gets more and more complex, the use of scripted installations is essential to maintaining consistencies in your different staging environment. With the introduction and tight integration of PowerShell in SharePoint 2010, PowerShell has taken scripted installations to a whole new level. You should always use a scripted installation to not only save time, but to make sure that your installations look the same, allowing you to easily set...
  • Remove headers and navigation areas from a printed SharePoint page

    By default, when you print a SharePoint page, the header and navigation areas print as well, which is typically undesired. This can be overcome by adding a few CSS statements to the master page or to the CSS file used by the website. @ media print { /* for SharePoint 2010 environment */ #s4-titlerow, #s4-statusbarcontainer, #s4-topheader2 { display:none; visibility: hidden; } #s4-leftpanel { display:none; visibility: hidden; } #MSO_ContentTable {...
  • Set the maximum storage size of Site Collections

    You can control the maximum storage size of a Site Collection by using the Set-SPSiteAdministration cmdlet. You can type if you want to limit the Site storage to 500MB: PS > Set-SPSiteAdministration -Identity http : // SP01 ` >> -MaxSize 500 MB ReTweet this Tip!
  • Remove a list in SharePoint 2010 from the Quick Launch toolbar in Sharepoint

    You can use Windows PowerShell to remove a list in SharePoint 2010 from the Quick Launch toolbar. Simply store an instance of an SPList Object, set the OnQuickLaunch property to $false, and update the SPList object. PS > $spWeb = Get-SPWeb http : // sp01 / site PS > $spList = $spWeb . GetList ( "http://sp01/site/Lists/MyList" ) PS > $spList . OnQuickLaunch = $false PS > $spList . Update () ReTweet this Tip!
  • Enable folder creation on a list in Sharepoint

    You can enable folder creation on a list in SharePoint 2010 using PowerShell. Simply store an instance of an SPList Object, set the EnableFolderCreation property to $true, and update the SPList object. PS > $spWeb = Get-SPWeb http : // sp01 / site PS > $spList = $spWeb . GetList ( "http://sp01/site/Lists/MyList" ) PS > $spList . EnableFolderCreation = $true PS > $spList . Update () ReTweet this Tip!
  • Reuse customized Web Parts in Sharepoint

    You will sometimes want to reuse a customized Web Part at different sites. An example of this could be the Content Query Web Part that you could customize to show aggregate content from different sites. If this customized Web Part could be useful in different sites, or at different locations, it can be exported and then stored in the Web Part Gallery. This is how to do this. (Note, not all Web Parts can be exported): Customize the web part Change...
  • Backup and restore: SQL Server encryption

    Starting with SQL Server 2008 Enterprise and Developer editions, databases can be encrypted on disk using transparent data encryption, or TDE. SharePoint has no qualms with TDE, and SharePoint’s databases can be encrypted without issue using TDE. When backing up and restoring databases that are encrypted, though, be careful. Encryption is handled by SQL Server, and such encryption “flies below the radar” of SharePoint. For backup...
  • Search Permissions and Indexed File Shares

    One very attractive feature of SharePoint Server 2010 (and MOSS 2007) its Search engine’s ability to index content sources outside of SharePoint, such as network file shares and other Web sites. When SharePoint indexes a file share, it also reads the NTFS permissions configured on the file share to determine which SharePoint users are able to see and access content through a search. So if User 1 does not have access to Folder A in that indexed...
  • Using SQL Aliases in Your SharePoint Farm for Sharepoint

    SharePoint depends on its connections to one or more SQL Server instances for the overwhelming majority of its content and configuration data. The loss of a SQL Server can spell disaster for SharePoint, particularly if the lost SQL Server can’t be restored and a new SQL Server instance (with a new name) must be used. The use of SQL Server names and/or addresses in difficult-to-alter SharePoint database connection strings is what makes this situation...
  • Using Dashboards to Quickly Communicate in Sharepoint

    For an Intranet, determining key company metrics and showing them graphically can help keep staff focused on the same goals. SharePoint provides a Key Performance Indicator (KPI) web part which is set up by default in a site created using the Reports template. This web part is also available in other site templates such as Team / Collaboration. Setup a KPI list and a data source such as Excel, a SharePoint list or any external data source to hold...
  • How to Add a List Item using PowerShell

    SharePoint 2010 offers over 500 new cmdlets that we can use to automate the SharePoint 2010 environment through Windows PowerShell. The cmdlets go as deep as SPWeb, everything beyond SPWeb requires additional scripting, such as adding fields, views and items. Here’s an example showing how to add an item to the Announcements list in SharePoint 2010: $spWeb = Get-SPWeb -identity http : // SP $spList = $spWeb . GetList ( “ Lists / Announcements...
  • How to Quickly Access a SharePoint Hive

    If you use SharePoint on a daily basis, you are probably familiar with the SharePoint hive. In SharePoint 2010, the hive is called the SharePoint root. The SharePoint root is used by SharePoint to store features, logs, binary files, templates and much more. It’s commonly used when performing administrative tasks in SharePoint. Changing location to the path is fun, the first time, but after typing the path 100 times, it gets a bit tedious. In...
  • The KPI Values

    Previous versions of SharePoint had limitations to folders support for the KPI Lists. Whenever you tried to set Folder as a source of your KPI, SharePoint gave you an error that the folder can't be selected. To avoid such situation you had to maintain KPI values in different list or use Views. The issue with Views is that they don't allow you to assign the permissions per View, so you can't have groups of data and assign different permission...
  • Find more information about Farm configurations

    Niklas Goude -Expert in Residence You can use the Get-SPFarmConfig cmdlet to retrieve global settings for the local farm. The cmdlet returns information for items that are not on the SPFarm Object. PS > Get-SPFarmConfig WorkflowBatchSize : 100 WorkflowPostponeThreshold : 15 WorkflowEventDeliveryTimeout : 5 DataFormWebPartAutoRefreshEnabled : True ASPScriptOptimizationEnabled : True ReTweet this Tip!
  • Restrict the creation of new content in a site collection

    Mattias Karlsson -Expert in Residence If a site collection is growing to large or you for other reasons want to prevent users from adding new content, you can set a site collection lock on the site so that only existing content can be modified. This can be done either using PowerShell or from Central Administration. In SharePoint 2010 you find this setting in Central Administration by going to Application Management and Site Collection, quotas and...
1 2 3 4 5 Next > ... Last »
Idera SharePoint Reviews SMBology, Inc. Rackspace Hosting Sponsored by Idera and SharePoint Reviews and SMBology and EPCGroup.net
Copyright 2011 SecretsOfSharePoint.com. All rights reserved.