Archive

Archive for the ‘MOSS 2007’ Category

Customizing a GridView as a Web Part for SharePoint 2007


Customizing a GridView as a Web Part for SharePoint 2007

http://www.codeguru.com/csharp/.net/net_asp/controls/article.php/c16071

sharepoint 2007 left navigation menu open in new window


// window.onload = function () {
function OpenNewWindow() {
var anchors = document.getElementsByTagName(‘a’);
for (var i = 0; i < anchors.length; i++) {
var strv = anchors[i].href.toString();
var sd = strv;
var ind = sd.indexOf("google");
var indDoc = sd.indexOf(".pdf");
var indPDF = sd.indexOf(".doc");

if ((ind != "-1") || (indDoc != "-1") || (indPDF != "-1")) {
anchors[i].setAttribute('target', '_blank');
}
}
}

MS CRM and SharePoint 2007 Integration

Categories: Microsoft, MOSS 2007

Getting Started with Personalization in MOSS 2007


The first thing you should do is make sure you’ve created a Shared Service Provider (SSP).
To check this does the following:
1. Go to MOSS 2007 Central Administration
2. Click on Shared Services Administration in left navigation
1. If this list is not empty then click on an SSP
2. If this list is empty then click New SSP and create a Shared Service Provider
Once on the Shared Services Administration page for your SSP you should see at least 3 sections titled: User Profiles and My Sites, Audiences and Search. To get started you’ll need to import user profiles from the directory.
To import user profiles:
1. Under User Profiles and My Sites click on the link labeled “User profiles and properties”
2. On the User Profiles and Properties page click on “Configure profile import”
3. Provide a default access account, specify an account that has read access to your directory.
Note: This account needs to also have Manage User Profiles rights, verify click on “Personalization services permissions” under User Profiles and My Sites on the SSP Admin page. To keep things simple until you have a grasp of the service you should use the SharePoint Admin account.
4. Click OK
5. On the User Profiles and Properties page click on “Start full import”
6. Verify that import started and wait until import has completed before moving on to other personalization admin tasks (this may take a few hours)
7. After import is complete to view the results click on “View user profiles” on the User Profiles and Properties page

The SSP administrative portion of My Site should have been configured when you created the SSP. So while waiting on profile import to complete you can explore the non administrative parts of My Site.
To create a My Site:
1. Click on My Site in the global actions bar which is in the top right corner of every SharePoint page
2. Wait while your My Site is created
3. After creation is complete check to make sure the name of the site created is titled with your name
1. If not then open a new browser window with your credentials and click the My Site link again or copy the URL behind the My Site link into the browser window.
Note: My Site is highly personalized so it works best when its created using your credentials and not those of an admin account or alternate account
4. Follow the links in the Getting Started with My Site web part

Once profile import is complete we can go back to setting up personalization services in the SSP Admin page. Now that we have profiles we can do things with them like create audiences.
To create audiences:
1. Go to the Shared Services Administration page for your SSP.
2. Click on “Audiences” under the section Audiences
3. On the Manage Audiences page click on “Create audience”
Note: Audiences should not be created until after you’ve completed a profile import.
4. Walk through the steps to create a new audiences based on user profile data
5. After you’re done creating audiences click on “Start compilation” from the Manage Audiences page
Note: Audiences must be compiled before they can be used.
6. After compilation is complete to view the results click on “View audiences” from the Manage Audiences page

Now that we have created new audiences we should put them to use on SharePoint sites by targeting content.
To target content on SharePoint sites:
1. Go to SharePoint site
2. Go to the document library on the site
3. Go to Document Library Settings
4. Click on “Audience targeting settings” under General Settings
5. Enable audience targeting
Note: You can do this for any list type not just documents.
6. Go back to the document library
7. Edit or upload a new document
8. Click the Browse button in the Target Audiences field
9. Select an audience you created or search and use an existing distribution list
Note: Distribution lists and security groups will only display after you’ve completed a profile import.
10. Click OK to update the document’s properties

To display targeted content on SharePoint sites:
1. Go to the site home page and add the Content Query Web Part
2. Modify the Content Query Web Part
3. Under Query change List Type to Document Library
4. Under Query -> Audience Targeting check “Apply audience filtering”
5. Click OK
6. Verify the items you targeted in the document library only show for people in those audiences.
Now that you’ve had a chance to see how audience targeting works let’s move on to People Search.
To setup people search:
1. Go to Shared Services Administration for your SSP
2. Under Search section click on “Search settings”
3. On Configure Search Settings page find the default content access account
1. If this is not set then provide a default content access account
4. Verify default content access account has Use personal features rights
Note: To verify click on “Personalization services permissions” under User Profiles and My Sites on the SSP Admin page. To keep things simple until you have a grasp of the services you should use the SharePoint Admin account.
5. On Configure Search Settings page click on “Content sources and crawl schedules”
6. On the Manage Content Sources page hover over “Local Office SharePoint Server sites” and click the arrow to drop the ECB menu
7. In the drop menu click Start Full Crawl
8. Verify that crawl started and wait until crawl has completed before moving on to search for people

Finding people:
1. Once crawl is complete to main portal site and click on Search in the top navigation area to go to the Search Center
2. In Search Center click on tab labeled “People”
3. Type in a term you added to your profile while exploring your My Site such as a project, skill or responsibility
4. Hit Enter or click the Go button
5. Verify that you and others who match that search term was returned as search results
One area of personalization we haven’t touched on at all yet is publishing links to the Office client. Links to SharePoint lists, libraries, and sites can be published to Office 2007 clients as places to easily retrieve or save documents.
To publish links to Office 2007 clients:
1. Go to Shared Services Administration for your SSP
2. Under User Profiles and My Sites click on “Published links to Office client applications”
3. Click New to add a link
4. Provide a URL, name and type for the link
1. If you want to the link to only show for a specific set of people then specify and audience
5. Click OK

To view links in the Office 2007 client:
1. Open Word 2007
2. Open the File Open or Save As dialog box
3. Click on My SharePoint Sites on the left
Note: In order for the service to find the SSP you must set the My Site you created earlier as your default My Site.
4. Verify link are presented
Note: The service that updates the client runs daily, this is configurable, so if you don’t see the link wait at least 24 hours.

Last but not least are Personalization Sites. Personalization sites are the culmination of all the personalization pieces put together to offer users highly personalized mash ups. There is no quick and dirty way to get started with Personalization sites as they do require planning and understanding of your site’s content. To get an idea of what they are about and how they connect to the other pieces of personalization and your portal, go to “Plan for personalized content and sites” in the MOSS 2007 Technical Library on TechNet. You can also play around with the features by creating a sub site under your portal using the Personalization site template.

This was just a quick getting started overview of personalization. The MOSS 2007 personalization platform is much richer than can be explained in a getting started blog post. If you want to dive deeper into a particular area of the personalization features that isn’t already covered by the TechNet content referenced above, please leave a comment here.

Categories: Microsoft, MOSS 2007

Configure authentication providers (Windows SharePoint Services)

Categories: Microsoft, MOSS 2007

Central Administration


In Shared Services Administration we can do below things
User Profiles and My Site
Search
Office Sharepoint Usage report
Audience
Excel Services Settings
Business Data Catalog

Enable anonymous User Access permissions

Go to CA–>Application Management–>Authentication Providers (Under Application Security)
Select Membership provider name by default it will be “Windows”
Enable anonymous access checkbox
Save

Now Go to Site collection level of the Web application

Site Actions–>Site Settings–>Advanced Permissions–>Settings–>Anonymous Access–>
Here we can give access permissions entier web site, List and libraries and

Categories: Microsoft, MOSS 2007

Microsoft Office SharePoint Server 2007 Security

Categories: Microsoft, MOSS 2007