September 2010 - SharePoint Tips

  • Managing Users in SharePoint 2010 using Powershell

    Niklas Goude -Expert in Residence SharePoint 2010 includes three cmdlets that you can use to manage users in SharePoint 2010. Here’s an example on adding a new user: New-SPUser "XYZ\david" -Web http: // SP -PermissionLevel "Contribute" The example above adds the user “david” to the specified site and sets the user permissions to contribute. You can retrieve an existing user through the Get-SPUser cmdlet: Get-SPUser...
  • Set File Access Method to ‘Process Amount’ When Using Excel Services

    Anjali Sharma -Expert in Residence SharePoint provides several Excel Application interactions within SharePoint itself. This may be in relation to retrieving Key Performance Indicator values from an Excel Spreadsheet or displaying a portion of an Excel Spreadsheet on a Web Page via the Excel Web Access web part. However, these features will only work if the File Access Method for Excel Services is set to Process account. This is configured as Impersonation...
  • Managing Content Databases in SharePoint 2010 using cmdlets

    Niklas Goude -Expert in Residence In SharePoint 2010 you can manage content databases through Windows PowerShell. You can create new content database using the New-SPContentDatabse cmdlet: New-SPContentDatabase -Name "MyContentDB" ` -WebApplication http: // SP The example above creates a new content database named “MyContentDB” and attaches it to the specified web application. You can retrieve an existing content database the...
  • Use Custom Office Application Templates as Content Types Inside Document Libraries

    Anjali Sharma -Expert in Residence The ‘New’ menu on the toolbar inside a document library allows the user to create a document based on what was set up as the default content type for that library. This is useful, as a frequent requirement for most intranet sites is to create documents based on a template or a form (usually a custom Excel Spreadsheet or a custom Word Document). To enable this feature, allow the document library to manage...
  • Adding a new List in SharePoint 2010 using Powershell

    Niklas Goude -Expert in Residence Did you know that you can add Lists in SharePoint 2010 using Windows PowerShell? There are a couple of list templates that you can use. Here’s how to retrieve the available List templates: $SPAssignment = Start-SPAssignment $SPWeb = Get-SPWeb http: // SP -AssignmentCollection $spAssignment $SPWeb . ListTemplates | Select Name, Description You can use any of the templates returned when creating a new list in...
  • Modifying Themes to Apply Custom Branding to Administrative Pages on the Site

    Anjali Sharma -Expert in Residence Custom branding on a SharePoint site can be done via MasterPages, Themes or a combination of both. If the changes required are only with respect to the page colors and fonts (i.e. no layout or control changes are needed), the best way to do this is to customize a theme. Changes made to a theme are also applied to the administrative pages and the search results page on the site. This includes all the pages that are...
  • Improve Site Collection Backups and Exports with SQL Server Snapshots in SharePoint 2010

    Sean McDonough -Expert in Residence Prior to SharePoint 2010, site collection backup operations required some form of site collection lock to avoid data changes that would compromise the consistency of the backup being created. Locks of this type impacted the end-user experience adversely by preventing writes and updates to the target site collection until the backup operation could be completed. SharePoint 2010 introduces integrated support for SQL...
  • Updating Items in SharePoint 2010 using Powershell

    Niklas Goude -Expert in Residence Did you know that you can modify items in SharePoint 2010 using Windows PowerShell? First you have to connect to the site using the Get-SPWeb cmdlet: $SPAssignment = Start-SPAssignment $SPWeb = Get-SPWeb http: // SP -AssignmentCollection $spAssignment Next step is to get the list: $SPList = $SPWeb . Lists [ "Announcements" ] When we have located the list we can retrieve the item. The quickest way is to use...
  • Set All Relative URLs in a Publishing HTML Type Column in a List

    Anjali Sharma -Expert in Residence The Content Editor Web Part or any other control that uses a standard Rich Text Editor (InputFormTextBox control) converts relative URLs to absolute URLs. When a publishing site gets deployed from staging or development to production, these URLs do not get ported over as production site URLs. To resolve this issue, you can set these URLs inside SharePoint List fields as a Publishing HTML type. ReTweet this Tip!
  • Importing & Exporting sites in SharePoint 2010 using Powershell

    Niklas Goude -Expert in Residence In SharePoint 2010 you can import and export sites, lists, document libraries and items using Export-SPWeb and Import-SPWeb. Here’s how you export a site in SharePoint 2010: Export-SPWeb http: // SP / TeamSite –Path C:\Backup\ website.bak If you only want to export a list in a site you can use –ItemUrl parameter as shown below: Export-SPWeb http: // SP / TeamSite -ItemUrl “Lists / Announcements”...
  • Use Alternate Access Mappings (AAM) to Configure Search on Sites Using Forms Authentication

    Anjali Sharma -Expert in Residence The default SharePoint search crawler cannot crawl on sites that are set up to use Forms Authentication or sites that use a security certificate. Alternate Access Mappings provide an alternate URL to access the same SharePoint site and can also be set to different zones such as Default, Intranet, Internet or Extranet. Create an AAM to a site that cannot be crawled and assign it to the default zone. Set the authentication...
  • Creating Larger List and Site Templates

    Creating Larger List and Site Templates Sean McDonough -Expert in Residence The creation of templates within SharePoint is a great way to preserve customizations and data that are associated with lists (SharePoint 2007) and lists and sites (SharePoint 2010). While templates are exceptionally useful for externally preserving SharePoint structure and content, their maximum size is constrained. SharePoint 2007 permits the creation of templates that are...
  • Backup & Restore Site Collections in SharePoint 2010 using Powershell

    Niklas Goude -Expert in Residence In SharePoint 2010 you can take a backup of a site collection using the Backup-SPSite cmdlet: Backup-SPSite http: // SP –Path C:\Backup\ siteCollection.bak Restoring a site collection in SharePoint 2010 is just as simple: Restore-SPSite http: // SP –Path C:\Backup\ siteCollection.bak ReTweet this Tip!
  • Use Smart Client Authoring to Easily Convert Word Documents to Web Pages

    Anjali Sharma -Expert in Residence A typical intranet site requires several company manuals and documents to be published as a Web Page. A nice and very easy way to do this is to use the Smart Client Authoring feature of SharePoint (MOSS). Additionally, the documents and the web pages can be kept in sync. The steps required to set this up are: Start the Document Conversions Load Balancer and Document Conversions Launcher Service from Central Administration...
  • Use the max-age Attribute with BLOB Caching to Reduce the Number of Client Requests Your SharePoint Servers Receive

    Sean McDonough -Expert in Residence When configuring BLOB caching for MOSS 2007 and SharePoint 2010, it is possible to specify an optional max-age attribute in the web.config element. This attribute determines the amount of time, in seconds, that SharePoint clients should cache resources locally (typically in the browser’s temporary files area) that are served from a WFE’s BLOB cache. For example, the following web.config element instructs...
1 2 Next >
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.