Id="Create a GUID"
< ElementManifests >
< ElementManifest location="element.xml" >
The element.xml file registers the event handler assembly and associates it with a list type, for announcement list type is 104 as shown below:
< Elements >
< ListTemplateOwners="name of site definition using which this site is created and this list belongs to "
< Receiver >
< Name >EventHandler< /Name >
< Type >2< /Type >
< SequenceNumber >10000< /SequenceNumber >
< Assembly > "NameSpace name of assembly"
,version=22.214.171.124,Culture=neutral,PublicKeyToken="public key token of assembly"
< /Assembly >
< /Class >"ClassNameOfAssembly"< /Class >
< Data >< /Data >
< Filter >< /Filter >
< /Receiver >
< /Receivers >
< /Elements >
Once we are done with feature creation ,register feature using stsadm.exe tool present in "C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN"
Run the following command to install feature :
stsadm -o installfeature -filename EventFeature\feature.xml
Run the follwing command to activate the feature:
stsadm -o activatefeature -filename EventFeature\feature.xml -url "url of the site"
That's it you are done with features ...just go forward and try adding ,deleting,editing in list and check weather it performs as per your expectations .
ENJOY!!! LIFE IS MUCH SIMPLER NOW :-)
Saturday, January 06, 2007
Registering Event Handler for list events
To register event handler for list events , create folder in the \template\features folder named "EventFeature" which contain a feature.xml file that specifies the scope and ID of the "feature" and element .xml file that the former file references.The feature file might look like the following :
Are you getting the below error when sening data to IoT Core using the "AWSIoTPythonSDK." ? Here is my error : File "/usr/l...
Note : In below scenario jenkins was deployed in Linux container Scenario: Jenkins build failed with error. java.io.IOException: error...
Error when installing NPM Profile not found. Tried ~/.bashrc, ~/.bash_profile, ~/.zshrc, and ~/.profile. Fix: Run command and try a...
Trying to make node.js work with command node -v and end up with an error node -v ReferenceError: node is not defined You are prob...