SharePoint Tips

  • Take a Document Library Offline with SharePoint Workspace

    Corey Roth -Expert in Residence About to jump on a plane, but still have work to do on that proposal? Not a problem with SharePoint Workspace. Simply, go to the document library you are working on, click the Library tab in the Ribbon and then click the Sync to SharePoint Workspace button. After a few short moments, you'll have a copy of every file in your document library that is available for reading and editing. You are then free to catch your...
  • Changing Custom Master Page

    Niklas Goude -Expert in Residence You can use Windows PowerShell to change a Web’s custom master page. Simply point the CustomMasterUrl to a new master page: PS > $spWeb = Get-SPWeb http : // SP01.powershell.nu PS > $spWeb . CustomMasterUrl = "/_catalogs/masterpage/myNew.master" PS > $spWeb . Update () PS > $spWeb . Dispose () ReTweet this Tip!
  • Adding Solutions

    Niklas Goude -Expert in Residence Did you know that when you upload solution packages to a farm, you can use the Add-SPSolution cmdlet? Simply: # Adding a Solution Add-SPSolution – LiteralPath C:\Stuff\MySolution.wsp After you’ve uploaded a solution package, you can use the Install-SPSolution cmdlet. The example below will get you all solutions and then filter out the solution where the name is equal to MySolution.wsp. Finally, the solution...
  • Adding Managed Accounts using PowerShell

    Niklas Goude -Expert in Residence You can add SharePoint 2010 managed accounts by using New-SPManagedAccount in Windows PowerShell. When creating automated scripts, you may want to check if an account is already a managed account. Simply use Get-SPManagedAccount and a simple if/else statement to determine if the managed account already exists. Here’s a short code example: $userName = "domain\user" if ( Get-SPManagedAccount | Where...
  • Adding Alternate Access Mappings using PowerShell

    Niklas Goude -Expert in Residence Adding Alternate Access Mappings is a simple task using Windows PowerShell. You can simply use the New-SPAlternateUrl cmdlet, which supports the creation of internal or public URLs for a given Web application. The examples below demonstrate how to create both a public and internal URL: # Public PS > New-SPAlternateURL -Url http : // public.powershell.nu ` >> -Zone "Internet" -WebApplication http...
  • Add Managed Paths to Web Applications using PowerShell

    Niklas Goude -Expert in Residence You can use the New-SPManagedPath cmdlet to add managed paths to a given Web application: PS > New-SPManagedPath -RelativeURL MyPath ` >> -WebApplication http : // SP01.powershell.nu The example above creates a “MyPath” managed path for the Web application http://SP01.powershell.nu. ReTweet this Tip!
  • Use Save Site as Template to create reusable Web Templates

    Corey Roth -Expert in Residence If you have a need to reuse an existing site as a web template, the Save as Site Template option can help. This functionality, found under Site Settings, allows you to take a copy of the current site including lists and document libraries and save it as a reusable SharePoint solution package (.wsp file). On the Save as Template screen, specify a File name, Template name, and description. You can also check the Include...
  • User Management in SharePoint 2010 with 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...
  • Backup and Restore Site Collections in SharePoint 2010 using PowerShell

    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 the max-age Attribute with BLOB Caching to Reduce the Number of Client Requests to SharePoint Servers

    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 clients to locally store .GIF and...
    Filed under: ,
  • Using Custom Columns to Improve Search Results

    Categorizing content helps users effectively find documents within the site. This can be done via SharePoint through the use of custom columns or meta data. Create these columns at the global level of the site collection and add them to the required content types. The document libraries or lists associated with these content types will then inherit these custom columns. These custom columns can also be set as required fields. For example, you may...
  • Managing sites in SharePoint 2010 Using PowerShell cmdlets

    In SharePoint 2010 you can manage sites through Windows PowerShell. You can create new sites in a site collection using the New-SPWeb cmdlet: New-SPWeb http : // SP / TeamSite -Template "STS#0" – Name "Team Site" ` -Description "Description of Site" – AddToTopNav – UseParentTopNav You can retrieve an existing site using the Get-SPWeb cmdlet: Get-SPWeb http : // SP / TeamSite You can configure a site...
  • Use SharePoint BLOB Caching to increase performance

    BLOB caching, or disk-based caching, is an out of the box (OOTB) caching mechanism that is built into the MOSS 2007 and SharePoint Server 2010 platforms. It is commonly used to speed-up access to large and relatively static resources that are stored in content databases, such as images, videos, javascript files, and more. Performance improvements are gained by storing these assets on web front-ends (WFEs) once they’ve been requested by a client...
    Filed under: ,
  • Using SQL Aliases in Your SharePoint Farm

    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...
    Filed under:
  • Using Dashboards to Quickly Communicate

    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...
« First ... < Previous 28 29 30 31 32 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.