Wednesday, May 6, 2009
Challenges while working with object model to access recurring meeting workspace site information
Many of the people were facing same problem like me, here is one of the link http://www.eggheadcafe.com/forumarchives/Sharepointwindowsservices/Aug2005/post23625925.asp
I did lots of search on internet and finally I found one line of code from which I got some direction to work on. I followed this link to find my solution, http://www.eggheadcafe.com/forumarchives/Sharepointwindowsservicesdevelopment/Sep2005/post23663884.asp
Points to be taken care:
1. There is one hidden list called “Meeting Series” into object model, which will store all the meeting Instance ID, so we need to take each meeting Instance ID from hidden list
2. We need to pass meeting Instance ID to SPQuery object, SPQuery contains property to hold Meeting Instance ID.
Sample Code to find out all data from recurring meeting workspace site:
//Check if current Web is Meeting Workspace then execute below code
if (SPMeeting.IsMeetingWorkspaceWeb(oWeb))
{
//Get Meeting Series list for taking Instance ID of each workspace site
SPList meetingSeriesList = oWeb.Lists["Meeting Series"];
for (int Cnt = 0; Cnt < meetingSeriesList.Items.Count; Cnt++)
{
int InstanceId = Convert.ToInt32(meetingSeriesList.Items[Cnt]["InstanceID"]);
if (InstanceId != 0)
{
// Use SPQuery to set Meeting Instance ID
SPQuery MeetingQry = new SPQuery();
MeetingQry.IncludeMandatoryColumns = true;
MeetingQry.MeetingInstanceId = InstanceId;
//Do Processing of SPQuery Object and get all Agenda List, Document Library data
}
}
}
Monday, January 26, 2009
Working with SharePoint meeting workspace site
From last 3 weeks, I have been working in SharePoint meeting workspace site, so thought to share with you some of the experience and what’s actual inside into meeting workspace site.
Our main purpose was to create calendar event into SharePoint and store meetings documents and agenda for respective meeting into central location repository, so anybody can go into meeting workspace with proper permissions rights and browse through the documents uploaded and approved by meeting organizer, meeting workspace is working in same manner like outlook calendar, we can create recurring event, single day event and add attendees, agenda for the meeting and upload documents.
In traditional outlook meeting, organizer has to send documents, agenda to attendees by e-mail, so they were no central repository for all work items and documents.
We had met our requirements by out of the box functionality provided by SharePoint Meeting workspace site template. We can also do custom coding into meeting workspace as per our needs.
Below are some useful links which I had followed while starting working on meeting workspace. It’s very beginner’s level information.
http://office.microsoft.com/en-us/outlook/HP030921661033.aspx Overview about meeting workspace site
http://office.microsoft.com/en-us/sharepointtechnology/HA100656201033.aspx Creating meeting workspace site
http://community.bamboosolutions.com/blogs/sharepoint_blank/archive/2008/10/31/create-a-sharepoint-meeting-workspace.aspx How to create and start with meeting workspace site
http://office.microsoft.com/en-us/outlook/HA012304711033.aspx#2 Create, Link and Update meeting workspace site.
http://communityclips.officelabs.com/video.aspx?videoid=601655a8-2111-4406-821d-690f2fce6b35 creates recurring meeting workspace and connects to Outlook
1. we can’t link to an existing meeting workspace that contains recurring events, like when we create any new calendar event into SharePoint, we can specify that current event will be recurring or not, after that we can create new meeting workspace subsite for storing all documents, agenda items and attendees, we have the option to link current site with existing meeting workspace site in which there was no recurring event, but we cant link to existing recurring meeting workspace site. So conclusion of the story, we need to create separate meeting recurring workspace site if we want our recurring dates and agenda different from existing one.
2. Meeting workspace site has some limitation with office 2003, we can also create new meeting workspace site from outlook calendar by creating new calendar event, select invites, here we have two options, either we can link to existing meeting workspace or create new workspace site, but in both the case, the meeting organizer needs to have full control to the Meeting Workspace from SharePoint site, with the full control rights, they can achieve the functionality from outlook 2003.