Tagged Questions
0
votes
2answers
34 views
I want to execute workflow when new item is inserted
private void codeActivity1_ExecuteCode(object sender, EventArgs e)
{
SPSite objsite = SPContext.Current.Site;
using (SPWeb objWeb = SPContext.Current.Web)
{
...
2
votes
3answers
115 views
Event Reciever ItemAdded fired twice
I'm trying to do some treatement after creating an item but the treatement is done twice because in my code after creating the item, I'm updating it , so the event reciever get fired twice: first when ...
0
votes
0answers
35 views
GroupDeleting event receiver in sharepoint 2013 [closed]
I have created custom GroupDeleting event receiver in sharepoint 2013. On deleting group, Properties.GroupName is null. I am not getting properties of group.
0
votes
1answer
123 views
Move files to a folder using event receiver
Hi I have an Infopath form Library and i want to add the forms that are being submitted to a folder in the same library according to the information
I need to do this using an event receiver.
Can ...
0
votes
1answer
26 views
A Complex Permission Structure and A Question
Suppose that i have two lists
OFFICES [COLUMNS: OFFICE NAME (Text), OFFICE MANAGER (User), AND OTHER OFFICE DETAILS ETC...]
EMPLOYEES [COLUMNS: EMPLOYEE NAME(Text), EMPLOYEE OFFICE (Lookup), AND ...
1
vote
0answers
45 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 ...
1
vote
1answer
327 views
Event Receiver on SharePoint-hosted Apps
Is it possible to create event receiver or workflow on SharePoint-hosted apps in SharePoint 2013? I have not much knowledge about SharePoint apps. If yes then how to create it...
Can we use Remote ...
1
vote
0answers
71 views
Email not received in Document Library when Event receiver Added [closed]
Email not received in document library when Email event receiver is added to this library..
1
vote
1answer
159 views
SPListItem.Update() not firing ItemUpdating
I'm updating item in SPListItemCollection using SPListItem.Upadte() but my event receiver is not receiving ItemUpdating/ItemUpdated events (breakpoints are not hit on either handlers).
Sample code ...
1
vote
1answer
62 views
MOSS 2007 Event Receiver and Exchange Web Services API
My goal is to use Event Receiver to add Outlook Calendar Appointements when a ListItem is adding.
My Sharepoint Server is Moss 2007 and it is on a Win2008 R2.
I got and installed the Exchange ...
1
vote
1answer
96 views
Delete SharePoint Calendar Recurrence Event
Item Deleting event is not fired when delete single recurrence event.
0
votes
1answer
244 views
Error while creating Event Receiver
This is Sample of my Code
SPList list = new SPSite(siteURL).OpenWeb().Lists[listName];
SPEventReceiverDefinitionCollection eventReceivers = list.EventReceivers;
SPEventReceiverDefinition ...
0
votes
1answer
168 views
delete feature using event receiver on a farm feature
there is a farm feature and there is a web-scoped feature. web feature does stuff on multiple sites. If ever i want to get rid of the feature on all sites, I have a farm feature that has on ...
0
votes
0answers
47 views
Deactivate web staplee features on deactivation of farm stapler feature
i have a farm level stapler feature that activates themeing feature(web-scoped) on every new instance of web. I wanna be able to deactivate all the themeing feature on all the new sites created if I ...
0
votes
1answer
48 views
SPEmailEventReciever - is this avaliable in sandbox solutions
I was wondering if you could write an sandbox solution using the SPEmailEventReciever class. In the SharePoint SDK documentation it says that the SPEmailEventREciever is not avaliable for use with a ...
2
votes
1answer
175 views
Will feature receiver get activate if user has no permissions to a site?
Here's what I need...User does not have access to a site (http://myserver/sites/MySite). When user tries to access they are redirected to ugly AccessDenied.aspx.
I was researching and found that ...
2
votes
2answers
187 views
Add file watermark as it's uploaded
I've been trying to add a watermark to files as they are uploaded to SharePoint.
I tried using several events:
ItemAdding, ItemUpdating, ItemCheckedIn.
In ItemUpdating and ItemCheckedIn the file is ...
1
vote
0answers
119 views
How to trigger event receiver on library when adding items to library through silverlight control?
I created an event receiver which triggers when an item added to the library.And it is working fine when i am adding items at library level(By clicking upload in ribbon controller of library).But the ...
0
votes
3answers
303 views
How to: Create an Event Handler Feature
I was testing the code provided in below MSDN Link:
http://msdn.microsoft.com/en-us/library/ms453149.aspx
But I got compile time error as "Error1Error occurred in deployment step 'Retract Solution': ...
0
votes
1answer
220 views
Event Reciever(item deleting) pop up for event cancellation yes/np sharepoint 2010
Is there any way that we can create a pop up on item deleting event reiever -- so when an item is deleting which gives us option whether to go ahead and delete the item or cancel the delete..
1
vote
1answer
227 views
Sharepoint 2010 event reciever item adding
is it possible to retrieve the "Modified" date column in item adding event reciever?
2
votes
4answers
1k views
Event Reciever firing twice sharepoint 2010
Hi I have a event receiver(item adding,item editing,item added), it was working fine before ...now it has started to fire twice...any suggestions?
2
votes
2answers
262 views
Requiring Event Receiver while creating new item
I have an event receiver(item adding,item added)..on a custom list..this event receiver creates an ID when a new item is created..so when i deactivate the event receiver and add a new item to the list ...
1
vote
1answer
495 views
Event Reciever Sharepoint 2010(when the calling fails)
I am working on a share-point 2010 custom list event receiver(item adding, item updating,item added), once in a while i will notice that when i create a new item, it seems like the event receiver wont ...
0
votes
4answers
2k views
Event Reciever Custom Error Message Page Sharepoint List 2010
I am working on creating event receiver on a specific custom list using visual studio 2010. Below is the screenshot of the error message set on properties. ErrorMessage I'm interested in knowing ...
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 ...
2
votes
4answers
3k views
Item added or item edited Sharepoint 2010 event receiver
I am working on Sharepoint list form with 10 fields. The first time when I add the new item I fill in 8 values and id is generated. Next time I edit the form I fill in the one of the two remaining ...
0
votes
0answers
567 views
Unable to debug in an event receiver sharepoint 2010
When i debug in the event reciever(item adding) as soon as it reached the if condition
i get the following error
unable to automatically step into the server.The remote procedure could not be ...
3
votes
6answers
969 views
Logged in user name in SharePoint 2010
I am trying to retrieve the display name('firstname lastname') of a user who logs in the SharePoint site.
When I log into my SharePoint site I could see at the top right --'domain/user name'. So when ...
0
votes
2answers
354 views
Deploying Event Reciever on the production environment
I want to deploy the event receiver created in SharePoint 2010 to the production environment. This is a farm solution, but I have a question regarding the deployment in the production environment. ...
