Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. SharePoint
  4. Deploying and Activating SPItemEventReceiver to Multiple site collections in a single step

Deploying and Activating SPItemEventReceiver to Multiple site collections in a single step

Scheduled Pinned Locked Moved SharePoint
questionsysadmintutorial
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    arut jothi
    wrote on last edited by
    #1

    Hi, I have a requirement of deploying a SPItemEventReceiver as feature to multiple sites (28 site collections actually). Is there a way this can be done in a single step, in order to avoid the deployment and feature activation steps for each of the site collection. [I know how to create a WSP and deploy it as feature for a single site collection. My question is intended only to know if all this can be done in one step] Please note that I already know the following approaches: (a) Create a batch file and write stsadm commands in the same to deploy/ activate the feature on the required site collections. This batch file would run and deploy/ activate the feature in the site collections mentioned in the file. (b) Create a SPFeatureReceiver and deploy it on 1 site collection. Overriden method in the receiver should have logic to add our item event receiver on the required multiple site collections and activate them. Is there any other way? Thanks Arut

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups