•January 20, 2010 •
Leave a Comment
Add content sources
- On the Shared Services Administration page, in the Search section, click Search settings.
- On the Configure Search Settings page, in the Crawl Settings section, click Content sources and crawl schedules.
- On the Manage Content Sources page, click New Content Source.
- On the Add Content Source page, in the Name section, in the Name box, type a name for the content source.
- In the Content Source Type section, select the type of content you want to crawl by using this content source.
- In the Start Addresses section, in the Type start addresses below (one per line) box, type the URLs from which the search system should start crawling.
- In the Crawl Settings section, select the behavior for the type of content you selected.
- In the Crawl Schedules section, you can specify when to start full and incremental crawls
- Click OK.
- Repeat steps 4 through 9 for any additional content sources you want to create.
Create a new scope
- On the View Scopes page, click New Scope.
- On the Create Scope page, in the Title and Description section, in the Title box, type a title for the scope.
- In the Description box, type a description for the search scope that informs administrators what the purpose of the scope is.
- In the Target Results Page section, select one of the following:
- Use the default Search Results Page Select this option if you want search results from this search scope to be presented by using the standard Search Results page.
- Specify a different page for searching this scope Select this option if you want search results from this search scope to be presented on a custom page. If you select this option, type the URL for the custom search results page in the Target results page box.
- Click OK.
Add Scope to Site
- On the Site Collection Site Settings page select Search Scopes under Site Collection Administration
- Click New Scope
- Give the scope a Title and Description
- Select which Display Groups the scope will be added to
- Select the Target Results Page
- Click OK
- Back on the Scopes page, select Add Rules to add content to the scope
- In Scope Rule Type, select Content Source
- In Content Source, select the Content Source you created earlier
- Select the Behaviour
- Click OK
Good to Go!! Your new scope will start running within 15 minutes, as Search Scopes are updated every 15 minutes.
If you need the scope to run earlier you can run the update earlier by going to the SSP Admin page, clicking Search Settings and On the Configure Search Settings page, in the Scopes section, click Start update now.
Sources:
- http://technet.microsoft.com/en-us/library/cc263230.aspx
- http://technet.microsoft.com/en-us/library/cc261916.aspx
- http://technet.microsoft.com/en-us/library/cc261860.aspx
Posted in SSP, Scope, Search, SharePoint
Tags: Scope, Search, SharePoint, SSP
•December 10, 2009 •
Leave a Comment
When attempting to create a new SSP I came accross this error:
Failure!
Shared Services Provider creation failed
Reason: User Cannot be found.
Check event log for details.
Note: SSP provisioning will be retried periodically. If you correct the error that caused this failure, provisioning will subsequently succeed. To stop provisioning from being retried, delete the SSP.
This is because when creating a new SSP, the owner of the Central Administration site(primary site collection administrator) is specified as the owner of the SSP admin site. The problem described occurs if the owner (primary site collection administrator) of the Central Administration site no longer exists or has been changed. Changing the primary site collection administrator of the Central Administration site to a valid Active Directory account or returning it to the account required will fix the problem.
- Go to SharePoint Central Administration - Application Management
- Click Site Collection Administrators under the SharePoint Site Management group
- Make sure you select the Central Administration Site Collection
- Update the Primary and secondary Site Collection Administrator accounts
Alternatively, use stsadm siteowner to change the site owner to the correct one.
Posted in SSP, SharePoint
Tags: SharePoint, SSP
•November 20, 2009 •
Leave a Comment
To move the content of a document library along with it’s meta data try the following:
- From the originating document library, use Export to spreadsheet to export content and meta data
- Sort by name
- Create a new view on the destination library that shows all metadata in the same column order as your spreadsheet – and order by Name!
- Bulk upload the documents to the library root
- In the new library open in Datasheet view and paste your metadata column data
- Go back to standard view and check-in files.
Posted in MOSS, SharePoint, meta data
Tags: meta data
•November 13, 2009 •
Leave a Comment
I had to create some new pages for a site I was working on and hit a bit of a problem when the left navigation was missing. Ok, no worries, lets consult t our trusty friend Google (Bing too sometimes). Well I didn’t immidiatly find any solutions, so my solution was to copy an existing page with navigation, and edit that. Solved the problem but why was it happening in the first place?
It would seem that the left side navigation is defined in the Master Page in the “PlaceHolderLeftNavBar” content place holder, and when creating a new basic page, or Web Part Page, they are overriding this content place holder and deleting its content.
If you dont want to copy an existing page like I did above, or you dont have one to copy, an easy solution is to change the page so it will not override the menu place holder, but inherit it from the Master Page. The two place holders we are looking for are: “PlaceHolderLeftNavBar” and “PlaceHolderNavSpacer”.
You can open the page in SPD and remove the following two lines.
<asp:Content ContentPlaceHolderId=”PlaceHolderLeftNavBar” runat=”server”></asp:Content>
<asp:Content ContentPlaceHolderId=”PlaceHolderNavSpacer” runat=”server”></asp:Content>
When you save the file you’ll get a warning saying you’re about to customize the page. That’s fine, go ahead.
Posted in SharePoint, basic page, web part page
Tags: page, SharePoint, web part page
•November 2, 2009 •
Leave a Comment
•October 27, 2009 •
Leave a Comment
You have seen those lovely fab40 templaltes by Microsoft in use? Well I am currently dealing with their helpdesk solution, which isn’t too bad by the way, as it does its job nicely. Well I had to make a change to the Status field and found it a bit difficult to do as I had to follow two completely different instructions to achieve the result. Here are my notes:
1. Locate the required resource file (in this case hlpdsk.resx)
(C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\Resources)
2. Modify the SRStatus_Choice data as required
<data name="SRStatus_Choice1" xml:space="preserve"><value>Initiated</value></data>
<data name="SRStatus_Choice2" xml:space="preserve"><value>Engaged</value></data>
<data name="SRStatus_Choice3" xml:space="preserve"><value>Resolved</value></data>
3. Locate the feature and modify the schema.xml as required
(C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\FEATURES\HelpDeskServiceRequestsList\servicerequest)
<Field ID="{75AF1E7D-39F1-45db-908A-B7AD3F26531A}"
Type="Choice"
Name="Status"
DisplayName="$Resources:hlpdsk,SRStatus;"
StaticName="Status"
Required="TRUE"
Sealed="TRUE"
Format="Dropdown"
FillInChoice="FALSE"
SourceID="http://schemas.microsoft.com/sharepoint/v3"
>
<Default>$Resources:hlpdsk,SRStatus_Choice1;</Default>
<CHOICES>
<CHOICE>$Resources:hlpdsk,SRStatus_Choice1;</CHOICE>
<CHOICE>$Resources:hlpdsk,SRStatus_Choice2;</CHOICE>
<CHOICE>$Resources:hlpdsk,SRStatus_Choice3;</CHOICE>
<CHOICE>$Resources:hlpdsk,SRStatus_Choice4;</CHOICE>
<CHOICE>$Resources:hlpdsk,SRStatus_Choice5;</CHOICE>
</CHOICES>
</Field>
4. Stop and Start the corresponding IIS web application
Posted in Resource Files, SharePoint, fab40 templates
Tags: .resx, fab40
•October 13, 2009 •
Leave a Comment
I am a noob to SharePoint, and I am loving it. I have been involved with a number of SharePoint projects over the last two years, and have decided to switch from my usual day job to get involved with SharePoint. I am very excited to be working in this field, and look forward to blogging about my experience. And maybe at some stage I can get rid of the Noob part!
Anyways this blog is for me a place where I can just write about what I am up to, what I am learning, and just as a repository for my thoughts and experiences. I’ll also be posting some how-to’s depending on what is already out there, I know I have had some issues already that the blogosphere is pretty silent about.
Posted in SharePoint
Tags: SharePoint