Logo 
Search:

Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Multiple Meeting InstanceID

  Asked By: Kody    Date: Sep 10    Category: Sharepoint    Views: 1617

I have created a meeting workspace for a recurring meeting. I would
like to create a web part that changes the InstanceID of an agenda
item
from one meeting to another. I can access the agenda items, change
the
instanceId and call the update method on the Item, but this does not
appear to write the change. I do not get an error, I just don't get
a
change. Is there something I'm missing here?

<code>

SPWeb myWeb = SPControl.GetContextWeb(Context);
myWeb.AllowUnsafeUpdates = true;
SPListCollection lists = myWeb.Lists;

SPList agenda = lists["Agenda"];

SPListItem i = agenda.Items[0];
i["InstanceID"] = 20051121;
i.Update();

</code>

Share: 

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on Multiple Meeting InstanceID Or get search suggestion and latest updates.




Tagged: