We are building an extranet sharepoint portal for our clients. Each client will have a site. Total number of sites will be between 2000-3000.

I have a requirement to copy a document from a SiteCollectionA/SiteA/DocumentLibrary to another global list on another site collection when a client uploads new document.

Should i create workflow to copy the document or event listener? Client will be allowed to update document properties after the upload and these changes will have to be pushed into the global list as well.

My choice would be event listener because is much cleaner, cheaper and easier. Im not an expert with workflows, but i think it will be harder to maintain/update/re-publish workflows on 2000+ sites then an event listener.

What do you guys think?

Thanks

有帮助吗?

解决方案

Definitely an event receiver, all you are doing is a simple mechanical action in response to an event. Event receivers are much easier to develop, deploy and maintain.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top