SharePoint Tips

  • Control metadata using the Managed Metadata Services in SP

    Managing metadata in SharePoint 2010 has been significantly improved with the new Managed Metadata Service Application. With this new service application, you can now control and manage your metadata throughout the whole SharePoint farm, or even between farms. For example, you can create content types that could become available in all your site collections—this was not an easy task in earlier SharePoint versions. ReTweet this Tip!
  • Set the Site Collections Warning Limits in SP

    You can configure your Site Collection to send a warning e-mail when Site storage reaches a specific size. If you want to send an e-mail when the Site storage reaches 300MB, you can type: PS > Set-SPSiteAdministration -Identity http : // SP01 ` >> -WarningSize 300 MB ReTweet this Tip!
  • Script installations to save time and maintain consistency in SP

    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 in SP

    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 in SP

    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!
  • Add a Text Field to a List in SP

    You can use Windows PowerShell to add Text fields to a List in SharePoint 2010. Simply use the Add() method available on a fieldcollection. The example below demonstrates how to add a Text field to the Tasks list, set a Description and set the field as required. Note that the Add() method allows us to specify the Fields Name, the Type of Field and a Boolean value that determines if the field should be required. PS > $spWeb = Get-SPWeb http : /...
  • Add UI Culture in SP

    You can add supported UI Cultures to a SharePoint 2010 Site using Windows PowerShell. First, you can retrieve a specific Web site: PS > $spWeb = Get-SPWeb http : // SP01.powershell.nu Next, set the IsMultilingual property to true: PS > $spWeb . IsMultilingual = $true PS > $spWeb . Update () Next, you can retrieve the Regional Settings that are used on the Server: PS > $spReg = New-Object Microsoft.SharePoint.SPRegionalSettings $spWeb Next...
  • Updating Web Parts in SP

    You can use Windows PowerShell when updating Web Parts on a SharePoint 2010 Web site. First, you can retrieve a specific Web site: PS > $spWeb = Get-SPWeb http : // SP01.powershell.nu Next, retrieve the Site page that contains the Web Part and check it out: PS > $sitePages = $spWeb . GetFolder ( "SitePages" ) PS > $homeASPX = $sitePages . Files | >> Where-Object { $_ . Name -eq "Home.aspx" } PS > $homeASPX . CheckOut...
  • Adding Custom Groups to the QuickLaunch in SP

    You can add Custom groups in SharePoint 2010 to the QuickLaunch using PowerShell. This is a scenario that you might encounter if you’re creating sites using code. To add Custom created groups to the QuickLaunch, you can use the spWeb property bag directly as shown below. First, you can retrieve a specific Web site: PS > $spWeb = Get-SPWeb “ http : // SP01.powershell.nu ” Next, get the group that you want to associate: PS >...
  • Associate Custom Groups in SP

    You can associate Custom Groups in SharePoint 2010 as Visitor Group, Member Group or Owner Group. This is a scenario that you might encounter if you’re creating Web sites using code. To associate custom-created groups, you can use the spWeb property bag directly as shown below. First, you can retrieve a specific Web site: PS > $spWeb = Get-SPWeb “ http : // SP01.powershell.nu ” Next, get the group that you want to associate: PS...
  • Using SQL Aliases in Your SharePoint Farm for SP

    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 SP

    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 in SP

    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 in SP

    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 in SP

    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...
< Previous 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.