rajgithub123 / google-enterprise-connector-sharepoint

Automatically exported from code.google.com/p/google-enterprise-connector-sharepoint
0 stars 0 forks source link

Google Search Box: Deploy searchbox to a single web app only #109

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Can't we find a solution?

Original issue reported on code.google.com by jeffreyl...@gmail.com on 24 Sep 2009 at 9:41

GoogleCodeExporter commented 9 years ago
The search control is global to all web applications. Hence cannot be 
selectively 
enabled for one web application. What you are talking of is a web-part that can 
be 
added/removed on per web-application, site basis selectively

Original comment by rakeshs101981@gmail.com on 24 Sep 2009 at 11:14

GoogleCodeExporter commented 9 years ago

Original comment by jeffreyl...@gmail.com on 19 Oct 2009 at 8:07

GoogleCodeExporter commented 9 years ago

Original comment by jeffreyl...@gmail.com on 19 Oct 2009 at 8:07

GoogleCodeExporter commented 9 years ago

Original comment by j.dars...@gmail.com on 4 Feb 2010 at 9:56

GoogleCodeExporter commented 9 years ago
We have a separate configuration file for each Web Application. How about 
having a
configuration parameter which lets users choose between GSA powered search and
built-in search.

Depending on the choice we can conditionally redirect the user to appropriate 
search
results page.

Original comment by j.dars...@gmail.com on 26 Feb 2010 at 6:54

GoogleCodeExporter commented 9 years ago
Workaround for current deployments
==================================
Applicable for MOSS 2007 (Non - Admin Web Application and its sites) 

If GSBS is already installed:
======================

    * Go to 12 hive\Bin folder [i.e. C:\Program Files\Common Files\Microsoft
Shared\web server extensions\12\BIN ]
    * Run following commands to deactivate GSBS:

stsadm.exe -o deactivatefeature -name GSAFeature -force
stsadm.exe -o uninstallfeature -name GSAFeature -force

    * Edit File 12 hive\TEMPLATE\FEATURES\GSAFeature\Feature.xml [i.e. C:\Program
Files\Common Files\Microsoft Shared\web server
extensions\12\TEMPLATE\FEATURES\GSAFeature\Feature.xml ]
    * Change "Scope="Farm" to Scope="WebApplication"
    * Save the file
    * Run following command to install GSBS on a give web application only

stsadm.exe -o installfeature -name GSAFeature -force
stsadm.exe -o activatefeature -name GSAFeature -url
http://webappsiteURL.mycompany.com:[port]/ -force

Original comment by amit.per...@gmail.com on 18 Mar 2010 at 12:30

GoogleCodeExporter commented 9 years ago
Thanks Amit, The following Steps works like charm.

- Install the GSBS in the Farm
- Go to Control Templates Folder Copy the SearchArea.ascx and Go to Layouts 
folder 
and Copy SearchResults.aspx and Rename them GSASearchArea.ascx and 
SearchResults.aspx
- Deactivate the Feature
- Go to Features Folder and Look for Google Search Feature and Modify the 
Elements.XML with a new GUID and Proper Usercontrol File ( GSASearch.ascx)
- Modify the User Control File to point to GSASearchResults.aspx instead of 
Searchresults.aspx
- Change the Scope in the Feature to Site Collection (Web)
- Redeploy the feature, now you will get an activate/deactivate option in each 
sitecollection and that helps to have both Sharepoint Search & Google Search at 
the 
same place.

Original comment by dropin2...@gmail.com on 18 Mar 2010 at 1:32

GoogleCodeExporter commented 9 years ago
Fix Details
===========
http://code.google.com/p/google-enterprise-connector-sharepoint/source/detail?r=
648

To Apply Patch
===============

1.Copy GSASearchArea.ascx to C:\Program Files\Common Files\Microsoft Shared\web
server extensions\12\TEMPLATE\CONTROLTEMPLATES
2.Copy GSASearchresults.aspx to C:\Program Files\Common Files\Microsoft
Shared\web server extensions\12\TEMPLATE\LAYOUTS
3.Uninstall old GSAFeature
a.stsadm.exe -o deactivatefeature -name GSAFeature -force
b.stsadm.exe -o uninstallfeature -name GSAFeature –force
4.Replace the “GSAFeature” folder @ C:\Program Files\Common Files\Microsoft
Shared\web server extensions\12\TEMPLATE\FEATURES  with the attached one.
5.Reinstall new GSA Feature
a.stsadm.exe -o installfeature -name GSAFeature -force
b.stsadm.exe -o activatefeature -name GSAFeature -url http://webappurl:port/
-force

Original comment by amit.per...@gmail.com on 29 Apr 2010 at 8:39

GoogleCodeExporter commented 9 years ago
For SharePoint 2010, replace 12 hive (i.e. C:\Program Files\Common 
Files\Microsoft Shared\web server extensions\12) with 14 hive (i.e. C:\Program 
Files\Common Files\Microsoft Shared\web server extensions\14)

Original comment by amit.per...@gmail.com on 17 Jun 2010 at 7:21

GoogleCodeExporter commented 9 years ago

Original comment by amit.per...@gmail.com on 17 Jun 2010 at 8:55

GoogleCodeExporter commented 9 years ago
For Sharepoint 2010, the steps to be followed are :-

1) Uninstall the GSA Resource Kit for Sharepoint(only if it is already 
installed). 
2) Install the GSA Resource Kit for Sharepoint.With this, the GSA Search Box is 
enabled on a farm wide basis or scope. 
3) Deactivate the feature GSAFeature.

Command:
stsadm.exe -o deactivatefeature -name GSAFeature -force

(With this, the feature is deactivated on farm scope)

4) Now change the scope for the GSA Feature from "Farm" to "WebApplication" in 
Features.xml file of GSAFeature folder.
5)  Activate the feature for a specific web application.

Command:
stsadm.exe -o activatefeature -name GSAFeature -url (url of your web 
application) -force

(With this, the feature is activated for a specific web application only, and 
not for any other web application)

6) In this case, it is not necessary to uninstall the feature. Just by 
activating or deactivating the GSBS feature for a particular web application, 
we can deploy the search box for a particular web application.

Original comment by priya.kh...@gmail.com on 22 Jun 2010 at 12:30

GoogleCodeExporter commented 9 years ago
This feature needs to be supported by the install for both initial installation 
and later configuration.

Original comment by jeffl...@google.com on 21 Sep 2010 at 5:30

GoogleCodeExporter commented 9 years ago

Original comment by jeffl...@google.com on 21 Sep 2010 at 5:30

GoogleCodeExporter commented 9 years ago
This issue is filed as Google issue #6513575

Original comment by tdnguyen@google.com on 17 May 2012 at 11:26