How is a link to a Meeting Workspace stored for a Calendar Event?

James Love
  • How is a link to a Meeting Workspace stored for a Calendar Event? James Love

    If you open the DispForm.aspx for an item in a Calendar List, you see a link and display text to the Meeting Workspace (if one exists) for that event.

    How can I access the link to the Meeting Workspace from the Object Model? There appears to be a boolean field called "Workspace" which says if one exists or not, but I can't seem to find a way to see which Workspace it links to.

    Any ideas?

  • This seems to work for me

    using (SPSite site = new SPSite("http://siteurl"))
            {
                using (SPWeb web = site.OpenWeb())
                {
                    SPList calendar = web.Lists["Calendar"];
    
                    foreach (SPListItem item in calendar.Items)
                    {
                        bool hasWorkspace = Convert.ToBoolean(item["WorkspaceLink"]);
                        if (hasWorkspace)
                        {
                            string workspace = item["Workspace"].ToString();
                        }
                    }
                }
            }
    

Tags
calendar object-model meeting-workspace
Related questions and answers
  • I want to show the contents of three specific columns from one specific list item. Like Meeting list item ID 5 contains Name MeetingDate Bitfield1 Bitfield2 John Doe 23-06-2010 Yes No In a web part (if possible) I want to create this view: Meeting Date: 23-06-2010 Bitfield1: Yes Bitfield2: No (Edit link to Meeting list item ID 5) Is that possible without coding a web part from scratch? E.g. with the XML web part or others? (solution is MOSS 2007 Enterprise based if that's relevant)

  • So, a meeting workspace was created. Subsequent meetings then where linked to the workspace, one by one, as the meetings where scheduled. At some point the organizer deleted "something" and it no longer appears on her Outlook calendar or the Events calendar. However, the meeting instance that was supposedly removed still is there. And the little drop down that would otherwise appear happily... Things I'm about to try ( in this order) Try using the "Delete" option instead of the move option Maybe see if there is a stsadm commmand available of this Write some C# to work with the Workspaces.asmx

  • I'm needing a hand deciding an approach to this. Here is the business requirement. Create a Meeting Workspace which contains a Project Tasks List (OOTB) and fills it with "stub" tasks (such as "send invites") with deadlines relative to the date on which the Meeting takes place (such as "minus 2 weeks from Meeting"). These "Stub tasks" might be stored in a list somewhere in the parent Web, to allow customisation. Site Templates can save list contents to the template, but you loose the relativity of the task dates. I thought about creating a feature receiver to trigger when the site

  • . One of these forms renders without issue and the rendering template loads along with my control. The other list and its template will not load following the exact procedure as the first one. What I mean is that the link will carry you to the newform.aspx page and it will load the listform webpart as I can see it when I view source. It is just not loading the template I asked it to load just like I... can see that the content type should be loading it, but it does not. The other one as I said laods and works correctly.

  • I'm trying to sync a SharePoint calendar with an Outlook calendar. SharePoint has the connect to Outlook option and all. I did that, I was also able to copy all the events from Outlook into SharePoint fine. I can add events to the SharePoint calendar through Outlook, but when I add a new event on the Outlook Calendar it doesn't get added to the SharePoint calendar. Meaning the user has to enter it in two places if s/he wants to keep them both up to date. It's important for my users that they don't have to do this. Is there anyway to make SharePoint fetch the events from Outlook automatically

  • Rather then building our own tool from the ground up I am looking for a report generation tool for SharePoint, preferably WSS/Foundation. I would like some kind of tool that will generate a Word report based on XML data from SharePoint lists and other sources (via web services). I assume that such tools exists (otherwise it will be the very first time that I have come up with a brand new idea) but which one do you use?

  • sorry if this is a noob question, but I have to start somewhere! I'm working with Sharepoint 2007. I have a custom content type, Room Booking Event. When one is created, I want to start a workflow... around Sharepoint Designer 2007, but I can't figure out how to email an InfoPath form with the event details and an 'apprve/reject' button. Grateful for any advice. Thanks! ... there in Outlook (using an InfoPath form?) If thats not possible, I could include a link to the content approval page I'm really not sure where to start here. I have had a look at the OOTB approval

  • reason for this is to allow for alerting members of a role with a forms authenticated sharepoint. This is where you guys come in. I know you can build an immediate Alert Me function by creating list item event receivers. However, if I wanted to create the summary-feature (daily/weekly notifications) - what would be the best way to go about this? With very limited knowledge, all I could think of was to create a Windows Service, which checks daily for changes to the lists, and sends notifications accordingly, in one summarized email. Would I be wrong to assume that this is, if not the best/only

  • I currently have a normal SharePoint list with about 15 columns or so. I need one of the columns to have a list of links. I know SharePoint lets you have 1 link and it also lets you have multiple lines of text... So I thought it would be there as an option, but no such luck. Anyone knows a solution for this? I wasn't able to find any info online, which doesn't happen often. I guess I wasn't... in stackoverflow (where I had asked this originally.)

Data information