April 2012 - SharePoint Tips

  • Use SharePoint BLOB Caching to increase performance in SharePoint

    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...
  • Add a new service application pool in SharePoint

    You can use the New-SPServiceApplicationPool cmdlet to create new Web service application pools in IIS. PS > New-SPServiceApplicationPool -Name “ AppPool ” ` >> -account ( Get-SPManagedAccount domain\account ) ReTweet this Tip!
  • Change the account used for a Web service application pool in SharePoint

    Change the account used for a Web service application pool PS > Get-SPServiceApplicationPool -Identity “ AppPool ” | >> Set-SPServiceApplicationPool -Account domain\account ReTweet this Tip!
  • Improve search results with Keywords and Best Bets in SharePoint

    An easy way to improve the search relevancy in SharePoint is to use Keywords and Best Bets, which are created by the Site Collection Administrator as a way to promote important information to end users. For example, you might know that a common search query for employees is the word “benefits” to help them find out the different benefits for an employee. But since the word “benefits” is commonly used in pages and documents...
  • Display information about your Web service application pools in SharePoint

    You can use the Get-SPServiceApplication cmdlet to display information about your IIS service application pools. By default, the Name and ProcessAccountName properties are displayed. You can use Select-Object if you want to display all properties. PS > Get-SPServiceApplicationPool -Identity "Metadata AppPool" | >> Select-Object * ReTweet this Tip!
  • Create SharePoint Lists From A Microsoft Excel Spreadsheet in SharePoint

    With the “Import Spreadsheet” feature in SharePoint, you can take an existing Microsoft Excel spreadsheet and convert it into a SharePoint list. This is particularly useful when you have a lot of data in a spreadsheet that you want to import into SharePoint, or if you need to create a new list that should contain a lot of columns. This makes it easier to use the first row in your spreadsheet and type the name of your columns. When importing...
  • Displaying The Left Navigation Menu in SharePoint

    The left navigation menu is available out of the box and can also be customized by the navigation settings in the site settings menu. By default, the left navigation does not appear in a web part page. To show the left navigation, customize the page in SharePoint Designer via these simple steps – Delete or comment out these tags : < SharePoint : UIVersionedContent ID = "WebPartPageHideQLStyles" UIVersion = "4" runat =...
  • Set The Lockstate Of Site Collections in SharePoint

    You can control the lock state of a Site Collection by using the Set-SPSiteAdministration cmdlet. There are four levels of LockState available: Unlock - Sets the site collection to unlock NoAdditions - No new content can be added as only updates and deletions are allowed Readonly - Sets the site collection to read-only Noaccess - Sets the site collection to unavailable to all users You can set the LockState to “NoAdditions” if you want...
  • Failover Database Server in SharePoint

    A new feature in SharePoint 2010 is that SharePoint is now “mirroring-aware.” As you may have seen when creating a new content database in SharePoint 2010, you have the option to specify the failover server. This property can be used when you have set up a mirroring of the SQL-layer, allowing SharePoint to add the failover server to the connection string. In case of a SQL-Server time-out, this allows the SQL server to failover to the configured...
  • Integrate Active Directory Fields Into Sharepoint Via The User Profile Import Services in SharePoint

    One common business requirement is to direct various tasks to a user’s supervisor(s) for approval, feedback or review. For most organizations, the supervisor’s or manager’s information is stored in Active Directory. The Active Directory fields can be integrated into SharePoint via the user profile import service. With SharePoint 2010 Designer, a new out-of-the-box feature is the ability to query Active Directory fields that are imported...
  • Adding Term Store Groups Using PowerShell in SharePoint

    You can use Windows PowerShell when adding Term Store Groups. You can start by using the Get-SP Taxonomy Session cmdlet to get a Taxonomy Session object. A Taxonomy Session object will contains the set of metadata term stores for a taxonomy session: PS > $session = Get-SPTaxonomySession -Site http : // SP01.powershell.nu Next, you will get a specific Term Store: PS > $termStore = $session . TermStores [ “ Metadata Service App Proxy ”...
  • Add Metadata Navigation to a List in SharePoint

    You can use Windows PowerShell to add Metadata Navigation on a List in SharePoint. You can configure Navigation Hierarchies where you can use fields as navigation hierarchies for a List or you can configure Key Filters, using fields as key filters for a spec ific list. In the example below we will Configure the metadata navigation on a Document Library and add the field “Metadata Field” as a Navigation Hierarchy. # Use Get-SPWeb to retrieve...
  • Install PDF Filter Using PowerShell in SharePoint

    SharePoint 2010 doesn’t support PDF files by default. You can solve this by installing Adobe PDF iFilter 9 for 64-bit platforms and following the steps described below. First, you can download PDFFilter64installer.msi: http://www.adobe.com/support/downloads/detail.jsp?ftpID=4025 You’ll also need an icon that will be used in SharePoint 2010 for PDF files: http://www.mossgurus.com/adnan/Documents/pdf16.gif Next, start PowerShell and run...
  • Display a List’s Event Receivers in SharePoint

    You can use Windows PowerShell to display the Event Receivers connected to a List in SharePoint 2010. You can simply connect to the List and use the Event Receivers Property: PS > $spWeb = Get-SPWeb http : // SP01.powershell.nu PS > $spList = $spWeb . Lists [ "Tasks" ] PS > $spList . EventReceivers PS > $spWeb . Dispose () ReTweet this Tip!
  • Adding Custom Event Receivers to a List in SharePoint

    You can add Custom Event Receivers to a List in SharePoint 2010 using Windows PowerShell. Event Receivers can be used to execute code before or after an Item is created, updated, or deleted. It’s possible to run the code either Synchronous or Asynchronous. The example below demonstrates how you can add a Custom Event Receiver to a List in SharePoint 2010: PS > $spWeb = Get-SPWeb http : // SP01.powershell.nu PS > $spList = $spWeb . Lists...
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.