Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds


  Asked By: Chaim    Date: Aug 06    Category: Sharepoint    Views: 659

In our present portal architecture, we have a "Master" site and a
bunch of "Sub-Sites" under the Master site.


and so on...

We have created a <custom-list> for all <sub-sites>, and the <Master-
Site>. The <custom-list> in the <Master-site> has same type of
coloumns like the <sub-sites> and also a new column 'SiteID'.

Whenever any user updates/add an item to the <custom-list> in any
sub_site, the <MasterSite> has to be updated accordingly.

I am trying to use GetListItems() and UpdateListItems() methods and
copy the list items.

Is there any other approach? I really appreciate if anyone can
provide me with any documentation, urls or simple ideas.



10 Answers Found

Answer #1    Answered By: Ariana Christensen     Answered On: Aug 06

I don't know how it could get much more simplier than setting up an
event for add/edit for all your subsites that adds the item  to the
master list.

Answer #2    Answered By: Darrius Whitfield     Answered On: Aug 06

Well, of course, that might work if Events functioned on lists…

Answer #3    Answered By: Adrienne Greene     Answered On: Aug 06

If you want to take a commercial approach...


Answer #4    Answered By: Joshuah Huber     Answered On: Aug 06

So your saying the a custom IListEventSink cannot be created  for a
list and only a doc library(which is a list)?

Answer #5    Answered By: Ciara Collier     Answered On: Aug 06

You may find the code in this blog post useful … thorprojects.com/blog/archive/2005/11/06/279.aspx

Answer #6    Answered By: Keenan Whitehead     Answered On: Aug 06

Correct, but I believe the next version will have event handlers for all
list types.

Answer #7    Answered By: Peter Peterson     Answered On: Aug 06

I am saying that events only fire for document libraries, image libraries, and form libraries. They do not fire for lists. This was pulled late in the last product development cycle due to insufficient time to test and debug events firing on lists.

Answer #8    Answered By: Damon Garner     Answered On: Aug 06

Will events fire for custom doc libraries? ( One's where you added
columns or something.)

Answer #9    Answered By: Christop Mcfadden     Answered On: Aug 06

Yes they will...........................

Answer #10    Answered By: Harshita Padwal     Answered On: Aug 06

Sure. In SharePoint 2003, lists  did not have an event sink and all
events were a post, asynchronous, non-cancelable process that nearly
required third party solutions to implement maintainable workflow.
SharePoint 2007 has a much better story for OOB workflow. It includes
pre and post events of all sorts in far more places (including lists and
libraries alike as well as other actions like creation and deletion of
certain SharePoint objects). It has many builtin actions that can be
tapped using SharePoint Designer or VS.NET.

Check out Workflow Foundation (WF) available now as a public beta. It
will become the workflow cornerstone for all products in the Microsoft
stack (including SharePoint 2007) and tons and tons of third party and
custom solutions as well; perhaps even your own.

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