Tagged Questions
1
vote
0answers
46 views
Distinguish Event Receiver Firing From Web UI or From Code
Think of some event receiver methods like ItemAdded, ItemDeleted etc.
How can I detect in my event receiver code if the item adding/deleting is being triggered from the web UI or from the object ...
0
votes
1answer
159 views
Enable-Feature powershell-command in object model
How to do Enable-SPFeature equievalent in object model. I want to enable some features (lists) in my publishing site in event receiver. For example:
Enable-SPFeature announcementslist -url ...
2
votes
1answer
646 views
Sending an email using sharepoint object model sharepoint 2010
i have been working on generating email in an event receiver using share point object model..i used the sputility.sendemail method..2 things are necessary in the email(email from and HTML body)..so i ...
0
votes
2answers
226 views
Event reciever (itemadded) sharepoint 2010
is there a way where we can get the link(editform.aspx) of item just added to the list-- in the itemadded method of the event receiver (Share Point object model)