I was faced many challenges while getting all agenda list, document library from recurring meeting workspace site, because when we are accessing recurring meeting workspace into object model by SPList and other object, we are only getting data of first meeting instance ID, we are not able to loop through all instance at one place.
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
}
}
}
Showing posts with label SharePoint security model. Show all posts
Showing posts with label SharePoint security model. Show all posts
Wednesday, May 6, 2009
Challenges while working with object model to access recurring meeting workspace site information
Labels:
IsMeetingWorkspaceWeb,
meeting instance ID,
Meeting Series,
meeting workspace,
MOSS,
Personal Experience,
recurring meeting workspace,
SharePoint,
SharePoint Meeting Workspace,
SharePoint Object Model,
Sharepoint Problems,
SharePoint security model,
SPQuery
Tuesday, October 21, 2008
SharePoint Security model
I have found some useful information related to SharePoint security from below links.
http://blogs.devhorizon.com/blogs/reza_on_blogging/archive/2007/03/12/457.aspx (How to break inheritance and create unique security model from object model, also see second part of current blog)
http://blogs.msdn.com/joelo/archive/2007/08/23/sharepoint-security-and-compliance-resources.aspx ( security improvement in MOSS, how to create security model for internet, intranet and extranet sharepoint site)
http://www.15seconds.com/issue/040511.htm (SharePoint and .NET security model)
http://www.sharepointsecurity.com/ (All about SharePoint security framework)
http://blogs.devhorizon.com/blogs/reza_on_blogging/archive/2007/03/12/457.aspx (How to break inheritance and create unique security model from object model, also see second part of current blog)
http://blogs.msdn.com/joelo/archive/2007/08/23/sharepoint-security-and-compliance-resources.aspx ( security improvement in MOSS, how to create security model for internet, intranet and extranet sharepoint site)
http://www.15seconds.com/issue/040511.htm (SharePoint and .NET security model)
http://www.sharepointsecurity.com/ (All about SharePoint security framework)
Subscribe to:
Posts (Atom)