Pages

Monday, September 22, 2008

Audiences creation and compilation

With the help of audiences, we can target content to users based on their job or task, as defined by their membership security group, distribution list, and organizational reporting structure.

We can create Audiences from SSP - > Audiences -> create Audiences link.

Purpose of audience compilation:  when any new user is added into active directory at the same time, it will not add into audience group, so for reflecting and making synchronization with active directory, compilation is necessary.

Manual compilation of Audiences
1. go to SSP - > Audiences -> view Audiences link and select each audience name and click on compile

Scheduling compilation of Audiences
1. On the Shared Services Administration home page, in the Audiences section, click Audiences.

2. On the Manage Audiences page, click Specify compilation schedule.

3. On the Specify Compilation Schedule page, select Enable scheduling.

4. Select a start time in the Start at menu, as follows:
•To compile audiences at the same time each day, select Every day.
•To compile audiences at the same time once per week, select Every week on, and then select a day of the week
•To compile audiences once a month, select Every month on this date, and then select a day of the month.

Google Maps and MOSS

One of my friend has requirements to show Google maps into contact list for SharePoint site, so below are some of the links which will show how to integrate Google maps into SharePoint site.

Two things have to be considered.

1. We can use content editor web part and add JavaScript provided from Google

2. Has to generate or enter key from Google.

Reference links:

http://www.codeplex.com/SPGoogleMap

http://www.sharepointblogs.com/bobbyhabib/archive/2007/12/05/create-a-google-map-web-part-for-free.aspx

http://svengillis.blogspot.com/2007/12/google-maps-and-moss-integration.html

Tuesday, September 16, 2008

Hiding/Deleting Current Navigation(Left Navigation) from Document library

Below are some of the ways to hide/delete left side navigation from SharePoint Page.

1. Left side navigation bar has predefined placeholder into main master file, so if we open our master page into SharePoint designer and try to find navigation placeholder tag and removed that tag then left side navigation bar will not be displayed into any of site.

So removing place holder from master page will completely remove it for all child pages.

2. If we want to hide in some of the pages then we can override style and achieve result.

I. we have to Edit page in designer and unlock region and remove left navigation frame OR
II. We can put left navigation bar in child page and put nothing inside that tag OR
II. We can put
<style>
.ms-navframe{ display:none; }
</style> on page.

With any of the above steps, left side navigation bar will be removed/hide from pages or document library.

Sunday, September 14, 2008

Restoring SharePoint Site.

I was getting below error while executing follow steps.

1. Executed command for restoring SharePoint site.

stsadm -o deletesite -url %SITE% -deleteadaccounts false
stsadm -o restore -url %SITE% -filename %BACKUPFILE LOCATION%

Error: The site collection could not be restored. If this problem persists, please make sure the content databases are available and have sufficient free space.

Solution: I delete any unnecessary sites and also truncate logs for SQL database, so after that there was enough free space.

After this, I was able to restore SharePoint site successfully.

2. I had created new farm envirorment and trying to restore sharepoint site.

Error : Your backup is from a different version of Windows SharePoint Services and cannot be restored to a server running the current version. The backup file should be restored to a server with version '12.0.0.6318' or later.

Solution : I need to install/run infrastructure updates into my new created farm server, The Infrastructure Update contains the new Enterprise Search features that were shipped in Search Server 2008 and Search Server 2008 Express that were are not already in SharePoint Server 2007; this includes Federated Search capability, a unified administration dashboard and several Search core platform performance updates.

you can download updates from below location.

After doing installation, I was able to restore sharepoint site.