How to Set Specific Site Collection as SharePoint Search Scope using C#?
Let’s learn how to Set Specific Site Collection as SharePoint Search Scope using C#. The most accurate or helpful solution is served by SharePoint.
There are ten answers to this question.
Best solution
I have two site collections as Portal1 and Portal2. In Portal2, I have enterprise search centre and will add custom Search scope for Portal1 site collection using C#. I deployed project in Portal2 and activated feature. With properties.Feature.parent as SPSite, I got Site of Portal2. How can I get Portal1 (SpSite site)? scope.Rules.CreateUrlRule(ScopeRuleFilterBehavior.Include, UrlScopeRuleType.HostName, site.RootWeb.Url); Site.RootWeb.Url should get URL of Portal1. Thanks
Answer:
If you know the url of Portal1, you can directly use it instead of site.RootWeb.Url. If you need SPSite...
mkacar at SharePoint Mark as irrelevant Undo
Other solutions
wiki.answers.com Mark as irrelevant Undo
I'm currently working on a MS access 2007 database for a local online forum. I was planning on using Google Cloud to allow others to edit, add, search and access the database. However, I just learned that google cloud doesn't support MS access only word...
Answer:
Hostmatrix.org is offering 100% free webhosting, in fact right now you don't even have to post on the...
jaredmow... at Yahoo! Answers Mark as irrelevant Undo
This article is also available in Hindi athttp://agniveer.com/3209/akbar-g... Very chosen few legends in Indian history had the privilege of being honored with the suffix âthe Greatâ or âMahaanâ after their...
Answer:
As per history books I came across I opine that Akbar was really a great ruler. In comparison to his...
Chaudhary Alha Singh at Quora Mark as irrelevant Undo
Buddhism for beginners (and sceptical Westerners) Introduction Now that Buddhism is such a fast-growing religion in the West, a lot of Westerners are attracted to its rational approach and rejection of an all-powerful deity. But all too often we Westerners...
Answer:
Dhamma friend, My master once told a Prof.of psychology from Cambrige U(a Buddhist as well) that he...
Thomas at Yahoo! Answers Mark as irrelevant Undo
My company currently creates a new site collection for each member of our audience when they sign up to our service. However, they create an empty site collection that requires our standard customisation on its root front page and I have to upload and...
Answer:
Technically you can't. There is not built in mechanism. Of course we're talking about software so there...
Pat Esposito at Quora Mark as irrelevant Undo
Please help me find a site that lets me search for movie showtimes by geography (not just by zipcode or cityname). I've been wandering around the internet today trying to find showtimes for a couple of movies, and it made me wonder --- why isn't there...
Answer:
Google does seem to recognize nonstandard city names. I searched for 'movies bay area' and it gave me...
Susan PG at Ask.Metafilter.Com Mark as irrelevant Undo
I am a customer of Yahoo...in trying to find my web site in Yahoo...Yahoo has it listed the following: site.www.dibros-pianos.com....there should not be the name "site" prior to www. I do not know why Yahoo puts the name "site" prior...
Answer:
Oscar, You are in the wrong part of the Yahoo empire. It's not Yahoo Answers that you want, it is instead...
Oscar Dimas at Yahoo! Answers Mark as irrelevant Undo
Our enterprise people don't want to allow SPD use in our business unit, even though we have SharePoint solution providers who have proven themselves competent and conscientious, and who are are planning to send to SPD training at Mindsharp. They say...
Answer:
1. They wont be able to damage the farm at all. 2. They can damage site collection pretty badly, unless...
Rohit Devmore at Quora Mark as irrelevant Undo
I'd like to implement a search tool on my employer's web site that makes all of the matches for a search string visible on the results page. Currently, with Google custom search, we usually only see the first two or three matches on each page, and in...
Jim R at Yahoo! Answers Mark as irrelevant Undo
Related Q & A:
- How to integrate 3rd party documents with sharepoint search?Best solution by SharePoint
- How to programatically select a item in list using c#?Best solution by Software Quality Assurance & Testing
- How do I connect to SQL Server using C#?Best solution by Stack Overflow
- How do I generate barcode using c#?Best solution by Stack Overflow
- How to set up outlook with a yahoo plus account using optimum isp?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.