1
vote
1answer
62 views

Call event after document library created

I have kofax export connector which will create document library in run time. I have create my Document set pro-grammatically. I wanted to add my document set to the document library which is created ...
1
vote
1answer
44 views

SP ProcessBatchData inside the Event Receiver, slow performance issue

I am writing an Event Receiver on a Document Library to create a new list from the uploaded excel file. it runs on ItemAdded() and ItemUpdated() event. Before calling a method to add new Items to ...
0
votes
1answer
17 views

Download image from Imagelibrary

I have an event receiver that should download images from an imagelibrary, and do some stuff with that copy. There will be several images with the same customid that i want to grab, so I loop over all ...
0
votes
0answers
18 views

migration sharepoint 2010 to sharepoint 2013 [duplicate]

I'm stuck migrate my application in sharepoint 2010 to sharepoint 2013. Because SPEmailEventReceiver. i'm deploy wsp sharepoint 2010 to sharepoint 2013 success. but i'm testing email eventreceiver ...
2
votes
2answers
96 views

SPEmailEventReceiver in sharepoint 2013

I'm stuck in use of SPEmailEventReceiver in sharepoint 2013. this my code: public class EREmail : SPEmailEventReceiver // this error because namespace can't found { public override void ...
0
votes
1answer
131 views

Why ItemUpdating is calling after ItemAdded event in Sharepoint-2010?

I am developing Sharepoint 2010 application where I have been using SPItemEvent to deal with ItemAdded event. One thing surprised me that ItemUpdating event is calling after ItemAdded event in List. ...
0
votes
1answer
103 views

Set lookupfield value on document upload through event receiver

I have a custom list, where when I create a new item, I assign a custom id to that element through an event receiver. After the item is created, I create a file that I upload to a document library. ...
1
vote
3answers
119 views

can a sharepoint site have more than one DOMAIN e.i. DOMAIN\\UserName

I am very confused about the DOMAIN of username Which is actually the HostName(computer name). Is it will be same after hosting sharepoint site to some other remote server or it will get change. And ...
0
votes
3answers
595 views

How to redirect to another page using an event receiver?

I want to redirect to another page after an item is added to the list. I have referred many links and found the same alternative that is SPUtility.Redirect("https://www.google.co.in/", ...
0
votes
1answer
53 views

SharePoint 2010 create SPWeb object in synchronous and in asynchronous events

Is there any difference in creating SPWeb objects in synchronous and in asynchronous events? A far as I know in both cases it will be using (SPSite site = new SPSite("http://.........")) { using ...
0
votes
2answers
50 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
861 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
1answer
289 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
36 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
62 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 ...
2
votes
1answer
1k 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
84 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
262 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
130 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
186 views

Delete SharePoint Calendar Recurrence Event

Item Deleting event is not fired when delete single recurrence event.
0
votes
1answer
601 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
250 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
1answer
78 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
195 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 ...
3
votes
3answers
356 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
144 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
340 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
276 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
250 views

Sharepoint 2010 event reciever item adding

is it possible to retrieve the "Modified" date column in item adding event reciever?
2
votes
4answers
2k 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
294 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
634 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
3k 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
905 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
4k 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
777 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
1k 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
529 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. ...