Hi, Blogger, nice to meet you. I wish to ask one question here. Thank you.
I tried Sharepoint EventHandler ItemAdding, having registered via codes and testified its correct functionality.
But when I changed to use feature.xml and stsadm command to register it, I met problem. The first time I successfully registered, but the next time I`m changing it and re-registered it, it didn`t change in .gif file and functionality as well. I guess something wrong in my way of deployment, This is my steps:
1. iisreset
2. stsadm.exe -o deactivatefeature -filename ../feature.xml -url .. -force
3. stsadm.exe -o uninstallfeature -filename ../feature.xml -force
4. iisreset
5. stsadm.exe -o installfeature -filename ../feature.xml -force
6. stsadm.exe -o activatefeature -filename ../feature.xml -url .. -force
My Question:
Where should we install feature to? if I want it to function on
http://server/Test3/Nick5,
should I refer to this url in the following commandings?
BIN> stsadm.exe -o installfeature -filename "NickTest10\feature.xml" -url
http://Server/Test3/Nick5" target="_new" rel="nofollow">
http://Server/Test3/Nick5
Or I`d better to register it firstly into "Site Collection Features" writing like the following way:
BIN> stsadm.exe -o installfeature -filename "NickTest10\feature.xml" -url
http://Server
or, Should I register it as a solution by sdk command?
Thank you so much!
Nick.