Removing the left-hand navigation in SharePoint 2010

0 nhận xét

How to Hide or Remove the Quick Launch in SharePoint 2010

Trying to customize SharePoint master page and having so much of problem hide or remove the left navigation in SharePoint 2010. I searched in Google for solutions but it didn’t work well for me.
When I tried to hide the left navigation in SharePoint 2010 from the solutions I got, I was getting a blank space in left side.
Empty Space While hiding Left Navigation in SharePoint 2010
Empty Space While Hidding Left Navigation in SharePoint 2010
Empty Space while editing the master page hide_the_quick_launch_in_sharepoint_2010_empty_space
Many of the solutions also speaks about adding the code Content Editor but that also gave me a blank space in the left hand side. After long struggle, I made it work by using the code from
http://chrisstahl.wordpress.com/2010/03/15/hide-the-quick-launch-in-sharepoint-2010/

How to Hide or Remove the Quick Launch in SharePoint 2010 working Solutions for me:


Copy above code and past it in your master page on above to

hide Hide or Remove the Quick Launch in SharePoint 2010

hide_the_quick_launch_in_sharepoint_2010_solutions

Hide or Remove the left navigation in SharePoint 2010 Removed the empty space and by hiding the left navigation in SharePoint 2010

No Empty space anymore

How to configure SharePoint 2010 Search to crawl files in share folder

0 nhận xét
How to configure SharePoint 2010 Search to crawl file servers?
SharePoint 2010 allows you to setup a search documents in file Share. Flowing steps will guide you to setup SharePoint 2010 search to access network file share


1. Go to Central Administration Search Service Application: Manage Content Sources

Adding new content source in SharePoint 2010

2. Use this page to add, edit, or delete content sources, and to manage crawls. Click on New Content Source

Name

Type a name to describe this content source.

Content Source Type

Select what type of content will be crawled.
Note: This cannot be changed after this content source is created because other settings depend on it.

Start Addresses

Type the URLs from which the search system should start crawling.
This includes all SharePoint Server sites and Microsoft SharePoint Foundation sites.

Configure File Shares for SharePoint 2010 Search

Crawl Settings

Specify the behavior for crawling this type of content.
Selecting to crawl everything under the hostname will also crawl all the SharePoint Sites in the server.

Caution: After you select crawl settings for a SharePoint content source, you cannot change crawling behavior unless you re-create the content source. Verify that you select the option that best suits your needs



Crawl Schedules

Select the crawl schedules for this content source.

Start Full Crawl

Select "Start full crawl of this content source" and click "OK" to start a full crawl of this content source.

Crawl the folder and subfolders in SharePoint 2010

Click Ok to perform a full crawl of this content source

image

3. Let’s go and create Search Scopes for External File Share

Use this page to view and manage search scopes. The order in which the search scopes appear in this list is the order in which they will appear in the search scope list next to the Search box.

Central Administration Search Service Application: View Scopes

Create Search Scopes in SharePoint 2010

Add your scopes and click OK

4. Now click on your new scope which you created and add rules

Add rules to Search Scope

Scope Rule Type

Scope rules define what is in or not in a scope. Use different types of rules to match items in various ways

image

Web Address

Web Address scope rules can be used to create search scopes that include content in web sites, the shares, exchange public folders, or any other content in the search index that has a URL.

Folder rules will include items in the folder and subfolders of the indicated path.
Domain or hostname rules include all items within the specified domain or hostname.

Behavior

Decide how this rule should be applied to the overall scope. The scope-wide filter is used when combining the items matching all rules to determine what is in the scopes overall.

Select Content Source and from the drop down list select File Share

Content Source in SharePoint 2010

Step 2 : Create a SharePoint Enterprise Search Center

1. Go to Central Administration | Application Management | Create Site Collection

Create Enterprise Search Center in SharePoint 2010

Select Enterprise search center template to create Search Center

2. Copy your new Search Center URL and go to your SharePoint Site

The new top-level site was created successfully with the specified URL. If you have permission to view the Web site, you can do so in a new browser window by clicking the URL. To return to SharePoint Central Administration, click OK .

SharePoint 2010 Search Center URL

Site Actions | Site Settings | Site Collection Administration | Search Settings

SharePoint 2010 Search Settings

Past your Search Center URL and Enable Custom Scopes

Site Collection Search Center

To enable sites to search custom scopes (such as "All Sites"), you must define a Search Center URL.

Once enabled, Search Boxes will show custom scopes to the user in the scopes dropdown. Custom scopes can be defined in either this Site Collection or the Search Service scopes pages. Queries will be sent to the Search Center URL with the scope’s results page appended.
By checking the "Use site level defaults" web part property, the search box will send custom scope queries to the Search Center defined in this "Site Collection Search Center" property.

Enable Custom Scopes in SharePoint 2010

Site Collection Search Dropdown Mode

Use this setting to configure the dropdown mode for search boxes in this site collection. The dropdown can include Contextual or Custom Scopes. The dropdown can show in the interface, or it can not show and simply direct searches to a default scope.
By default, a Search Box will use the "Dropdown Mode" property in the web part. By checking the "Use site dropdown mode" property, the search box will use this "Site Collection Search Dropdown Mode" setting instead.

Site Collection Search Results Page

Use this setting to configure the search results page used for contextual searches (such as "This Site"). This page will not be used for custom scopes.
By default, a Search Box will use the "Target Results Page" property in the web part. By checking the "Use site level defaults" property, the search box will use this "Site Collection Target Results Page" setting instead.

Step 3 : Create a SharePoint Enterprise Search Center

Site Actions | Site Settings | Site Collection Administration | Search Settings | Search Scopes

Search Scopes  SharePoint 2010

Under unused scopes you can see File Share. Now click on Display Groups

Display Groups Scope

Click on Search Dropdown

Search dropdown in SharePoint 2010

Select your File Share
Scopes in this group will appear with the search box in the scopes dropdown.

Search Dropdown

This will enable File Share in Search dropdown and allow you to search files with in the shared folder.
I had to restart IIS to see this

SNAGHTMLf506a9

Let’s go and search some files in the File Share folder. These are the files which I have in the Shared Folder

Searching Files from Shared Folder using SharePiont 2010

I am going to search “ ERP Data”

Shared Folder Search in SharePoint 2010

Results: All the files are coming from my Shared Folder.

Search Results from Shared Folder in SharePoint 2010

How to configure SharePoint 2010 Best Bets search

0 nhận xét
Setting up SharePoint 2010 best bets search
SharePoint 2010 search allows you to allows you add selected content at the top of search queries for certain keywords and this is called SharePoint Search Best Bets
This is blog I am going provide all the steps you need to setup best bet search in SharePoint 2010
1. Site Actions | Site Settings | Search Keywords below Site Collection Administration
Setting up SharePoint best bet search
2. Add new Keywords
Adding new keywords in SharePoint 2010 search
3. Keyword Information The Keyword Phrase is what search queries will match to return a keyword result
Synonyms are words that users might type when searching for the keyword. Separate them using semicolons.
adding keyword phrase and synonyms in sharepoint
Best Bets
Best Bets
are the recommended results for this keyword. Best Bets will appear in search results in the order listed.
Click on Add best bets and enter following information
adding best bet for sharepoint
SNAGHTML7353844
Click OK for all open Windows and go to your search center and type in your Best Bet and search. In my situations I created a folder called Books added four different books. I added this URL as Best Bet and when I perform search as my keywords “Books” SharePoint 2010 displays my best bet URL on the top of the search page
SNAGHTML7571895
Note: Make sure your Search Center is in the same site collection. If your search center is in different site collection your best bets result will not work
If you follow above steps, you can configure best bet search in SharePoint 2010

Configuring the SharePoint Federated Search on SharePoint 2010

0 nhận xét

What is federated Search?

Federated search In this approach, you are enabled to display search results for additional content that is not crawled by your search server. With federation, the query can be performed over the local content index, or it can be forwarded to an external content repository where it is processed by that repository’s search engine. The repository’s search engine then returns the results to the search server. The search server formats and renders the results from the external repository within the same search results page as the results from the search server’s own content index.

Source: http://msdn.microsoft.com/en-us/library/cc806030.aspx

How to setup federated Search in SharePoint 2010?

To setup federated search in SharePoint 2010 go to Central Administration | Search Service Application | Search Administration
In left hand side below Queries and Results click on Federated Locations


Adding Federated Search in SharePoint 2010

By using search federation, users can simultaneously search content in the search index on this server, as well as in other locations, such as database systems, internet search engines and specific scopes on this server.

To add a new location, visit the Online Gallery, download the location and then import it. Alternatively, you can define a new location by clicking on New Location. You may need to specify a proxy – click on Proxy and timeouts to use the crawl proxy specification.

To enable users to search the location in the Search Center, specify the location in the properties in one of the Web Parts enabled for federation.

By default we have following Federated locations :
Internet Search Results | Internet Search Suggestions | Local Search Results | Local People Search Results | Local FAST Search Results

image

To add a new location, click on new Location and if you want to modify existing locations click Edit

Editing Federated Search locations

Use this page to edit a federated location. On this page, you can enter general information about the location and specify how search results should be obtained and formatted.

| General Information | Location Information | Display Information | Restrictions and Credentials Information|

image

In location Information Query Template is set to Live/Bing search. You can edit this to a different search if you like

Query Template in SharePoint 2010 Search

How to add federated Search to SharePoint Enterprise Search?

To add federated search to SharePoint , you need to edit result.aspx page
Site Actions | Edit Page

Editing search result page in SharePoint 2010

Add a web part in Right Zone

adding federated Search to right zone

Adding Federated Search Results
Select Search under Categories and select Federated Results Web part and save and publish result.aspx page

Adding Federated Result Web part

Now let’s go and search “ Books” and see how Federated Search Results shows up
When I search books, SharePoint Federated Search Results from Bing displays all the results from internet.

Federated Search Results from BING

Create a New Web Application in SharePoint 2010 using PowerShell

0 nhận xét

To add new web application in SharePoint 2010 with PowerShell using New-SPWebApplication

New-SPWebApplication –applicationpool -name
-applicationpoolaccount -port

Sample Command Line to create new Web Application in SharePoint 2010 using PowerShell

New-SPWebApplication –applicationpool SharePoint-80 -name SharePoint-80
–applicationpoolaccount vSharePoint\SPAdmin -port 80

Create a New Site Collection in SharePoint 2010 using PowerShell

0 nhận xét

How to create a top level site collection in SharePoint using PowerShell?
To add new site collection use the following cmdlets

New-SPSite –url -name -owneralias
-template


Sample PowerShell to create new site collection in SharePoint 2010

New-SPSite –url http://virtualizesharepoint -name Home -owneralias vSharePoint\SpAdmin
-template STS#0

If you want to know the list of templates : http://virtualizesharepoint.com/2012/01/03/site-template-names-and-ids-in-sharepoint-2010/

SharePoint 2010 Site Map

0 nhận xét

Scalable Site Map for SharePoint 2010 with MS Governance and SharePoint architecture models illustrated for reference
Source: http://consultingblogs.emc.com/photos/conchango_bloggers/images/18734/original.aspx

Change SharePoint 2010 central admin port

0 nhận xét

How to change SharePoint 2010 central admin port using Power Shell?
You can change the port central administration Port number using Power Shell command below

If your Central Administration Port number is 8080 and you want to change to 8081
Set-SPCentralAdministration –Port 8081

Configuring SharePoint fast search 2010 – Part 2

0 nhận xét

In the previous (Configure SharePoint Fast Search 2010 Part 1 ) post we installed all the prerequisites for FAST Server and Installed FAST Search Server for SharePoint 2010
In this sections we are going to configure FAST Search Server in SharePoint 2010

1. Start | All Program | Microsoft FAST Search Server 2010 for SharePoint

configure_fast_search_server_2010_for_sharepoint

2. Welcome to the Microsoft FAST Search Server 2010 for SharePoint post-setup configuration wizard
Click next to start the configuration

fast_search_server_2010_configuration_wizard

3. Select the deployment type

- Single Server stand alone
Install all FAST search server 2010 for SharePoint components on a single server

- Admin Server
Configure the admin server in a multiple server deployment. You can only have one admin server in the deployment

- Non-admin server
Configure a non-admin server in a multiple server deployment. Non-admin servers connect to an existing admin server.

4. Enter the user name and password for the FAST Search Server 2010 for SharePoint user. The user name must be an existing Windows account.

image

I enter the user name and password in the following format
Domain Name\User Name
Password

The message I get? User Validation failed while installing FAST Search for SharePoint

user_validation_failed_installing_fast_search

Looks like FAST Search server will not accept domain\user name, the correct format would be
domain.com\user name

For example if you enter vsharepoint\admin it will not work but vsharepoint.com\admin will work

Fast Search 2010 for SharePoint installation Issure

5. Enter a certificate password
Certificates are used for secure communication between servers. The password you specify below will be used when moving certificates between servers

fast_search_server_enter_certificate_password

7. Enter your server settings. It should be server name.your domain.com

fast_search_server_settings

8. Enter your database settings for your FAST Search Server.
If server.domain.com is not working, try just the name of your DB Server

database_setting_for_fast_search_server

9. Click Through relevancy settings
To ensure that click-through relevancy data is transferred from Microsoft SharePoint
server to FAST, you must enable click-through relevancy. Select the Microsoft SharePoint server installation type

click-through-relevancy-settings-fast-search

the user name should be domain.com\username

10. FAST Search Server configuration summary

fast-search-server-configuration-summary

11. Fast Search Server post configuration was successfully completed. You must restart the server

fast-search-server-post-configuraiton-setting

Source:http://virtualizesharepoint.com