Resource Page DescriptionA console application that demonstrates the basic functions of a custom activity feed gatherer application.
This sample creates a custom activity feed gatherer and demonstrates how to use the new Activity Feed object model in Microsoft SharePoint Server 2010. The sample creates custom ActivityTemplate, ActivityType, and ActivityEvent objects and shows how to publish and multicast events from a custom gatherer. Console output verifies that each step in the application is finished. You can test this project on your development or test site by taking the following steps:
- Create a folder named Microsoft.SDK.Server.Samples and unzip the CustomActivityGatherer.zip file in it.
- Launch Microsoft Visual Studio 2010 and open the ActivityFeedSample.sln file that is in the folder that you have created in the step above.
- Change the values of the sampleSite and communityUrl strings in CustomActivityGatherer.cs to the appropriate URLs on your development or test site.
- Add references to the following assemblies in the project:
- Microsoft.SharePoint.dll
- Microsoft.Office.Server.dll
- Microsoft.Office.Server.UserProfiles.dll
- Add the resource files in "ULS-Resources-Dir" to your "14/Resources" directory.
- Press F5 to build the project and start the debugging process.
- After the console output indicates that the custom gatherer has finished doing its work, press any key to stop debugging.
|