Domanda

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

È stato utile?

Soluzione

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.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top