Event Receivers are triggered by certain events on either a SPWeb, SPList or SPListItem.
0
votes
0answers
13 views
disabling multiple fiel upload on picture library
How can I make my library picture one to disable multiple picture upload at a time. only 1 at a time is nice. I tried but getting context as null. not sure how to improve it myself.
I also need this ...
0
votes
1answer
23 views
Sharepoint Event Recievers Feature Activation
I am trying to create an event reciever based off an example created by a previous employee. This event reciever is scoped for the site level and is a ListItem event reciever.
I believe I have ...
2
votes
1answer
23 views
ItemUpdated vs FieldUpdated
I have a user request where a Document Library with Content Approval turned on, wants the name of the person who approved the document. So I created an "Approver" column and want to create an Event ...
0
votes
2answers
28 views
How to update calendar item created by an other list?
Appreciate any thoughts on this:
A user edits an existing list item to pick a date to select a project deadline.
A custom workflow, initiated by that item change, takes that date and project title ...
1
vote
0answers
16 views
Exchange event receivers of lists
Recently i faced an interview question for which i am unable to find a suitable answer.
I was given a scenarion to implement, which goes like this.
There are two event receivers Ea and Eb, these are ...
0
votes
1answer
39 views
redirect to page after itemadding in list withlong run operation
after many checking about redirecting to page from event recievers I understood that my best option it to di it from itemadding event and not itemadded.
that does not means that I can neglect the ...
2
votes
2answers
42 views
Event Receiver site creation
I've got this eventreceiver that fires after an item has been added to a list.
The eventreceiver creates a subsite from a template I created myself. The only
problem is, every first time I try to add ...
0
votes
1answer
12 views
Changed event content type at parent now existing calendar lists content types are _hidden
I am new to SharePoint and I changed the event content type at the parent level. Now existing calendars list content types groups are _Hidden. The calendars also do not work now. Is there a way to re ...
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)
{
...
0
votes
2answers
78 views
The security validation for this page is invalid error trying to add sharepoint approval workflow to List in ListAdded eventreceiver
What I am trying to do is to attach the OOTB sharepoint workflow [Approval Sharepoint - 2010] to each and every document library that ever gets created. To accomplish this I created a List Added event ...
2
votes
2answers
70 views
Access Denied when trying to set formdigestsettings in a list event receiver even when logged in as Farm Administrator account
I am trying to set the formdigestsettings to false within an event receiver (sharepoint 2010). So far I have tried to a) run the code with elevated privileges
public override void ...
0
votes
0answers
23 views
timeout >1 event receivers
I have this custom list in my sandbox solution and when someone
adds an item to the list the synchronous event receiver method itemAdded will call
the spweb.webs.add method and adds a website. Now ...
0
votes
0answers
46 views
Event Recevier ItemAdded/ItemUpdated and Custom Workflow with Word Automation Service
I have created one visual webpart to convert selected word document to pdf using word automation service. Pdf is created successfully on each time when WAS timer job runs. I know we can not retain ...
0
votes
1answer
19 views
Remove entries from dbo.EventReceivers
Can I safely remove Entries in dbo.EventReceivers ?
The Problem is that when i'm deploying a Solution i get on the Feature Activation many Errors in the SharePoint Logs like:
...
1
vote
1answer
50 views
Event Receiver - Cannot access item from Document Library if the user changed the name
I have a library, that has versioning enabled.
On that library is an event receiver that does stuff, on ItemUpdated :)
Ok, if the user uploads a document, and does not rename the document during ...
0
votes
1answer
96 views
EventReceivers not firing at all (SharePoint 2010)
I wrote some code to do some things before and after an item is added to some lists. The solution is sandboxed.
I have checked and confirmed, through power shell, that the event receivers are bound ...
0
votes
2answers
33 views
deployment issue - List Event not firing
I'm facing 2 problems when I'm deploying my solution in QA environment.
Scenario 1:
I have written a feature (Feature 1) to create custom list (say List 1). When feature 1 is activated, List 1 is ...
1
vote
1answer
60 views
Redirect in Event receiver SharePoint 2013
My question was simple in SharePoint 2010 but in SharePoint 2013 is complicated! In 2010 I could redirect user by setting properties.Status and properties.RedirectUrl. Now RedirectUrl and ...
1
vote
0answers
32 views
Using the SocialFeedManager object in remote event receiver
I'm trying to create a remote event receiver that will update the social feed of a user when ever he adds an item to a list on SharePoint Online. I've initiated the client context object using the ...
0
votes
2answers
115 views
Object reference not set to an instance of an object inside Event receiver in Form library
here is the problem. I have a form library that uses Infopath as form. It has an event receiver. This was done by someone else.
I was trying to get the beforeProperties, afterProperties or ListItem ...
0
votes
0answers
88 views
Event Receiver update document content on ItemUpdating
I am trying to update a document in the item updating event receiver, but I keep getting the error: "The file IOF/This is a.docx has been modified by ....."
I have the following code in my SP 2013 ...
1
vote
3answers
112 views
Problem adding sharepoint group in list item on itemupdated event
I have this code below and I am trying to add a sharepoint group to an item in a list in itemUpdated event handler. the problem is that the update never happens. The problem is with this line of code ...
0
votes
1answer
87 views
Use application page as edit form on list?
I createad an application page and put it under /_layouts/, in the list definition I specified the edit form like so:
<FormUrls ...
1
vote
0answers
70 views
remote event receiver on sharepoint 2013 online does not working
Hello i recently started to developing sharepoint 2013 to my office365 account.
The problem is that remote event receivers which I attach to deploying application do not work.
I mean that they should ...
1
vote
1answer
29 views
Monotonically Increasing Counter
We need to do some calculation in an ItemAdding event receiver that uses a monotonically number. Because we need to use the ItemAdding event (rather than the ItemAdded event) we cannot use the item ID ...
2
votes
1answer
80 views
Sharepoint 2010 hosted web service works in browser but not event receiver
I have written a RESTful web service that writes calendar events from Sharepoint to personal exchange calendars. The web service is hosted in sharepoint. When I make the call using javascript from the ...
0
votes
1answer
39 views
Populating list columns when an event is fired in SharePoint 2010
I have created a SharePoint2010 list with 20 columns. which has 2 key columns cid and tid of the user.
There is an application, whenever it is initiated a new row is created in the Sharepoint list ...
1
vote
0answers
64 views
List event receivers not triggered after quick editing/grid editing
I have a custom Sharepoint 2013 list with event receivers attached to it (adding, updating, deleting).
However, it looks like the event receivers are not triggered when the user is adding/editing in ...
1
vote
1answer
34 views
Find a specific field on a site and the set it to “Required” in a EventReciever
I have created a EventReciever that will be activated when a site gets created. This site have a announcement webpart. When they click on "add announcement", newform.aspx pops up as a dialog and there ...
1
vote
2answers
85 views
Change displayname of a List with event receiver
I need to change the displayname of a list using "ItemUpdating". The source of the new name is the "Title"-field of the item which fires the event. Is this possible? I tried it with:
if ...
0
votes
0answers
37 views
SPWorkflowEventReceiver with the Content Approval Workflow
I have a document library that has 'Content Approval' turned on (List Settings > Versioning Settings > 'Require content approval for submitted items'. I also have a workflow event receiver, utilizing ...
0
votes
0answers
46 views
Delete all list permissions and set Author as contributor (Event Receiver)
I wrote an Event Receiver on ItemAdded to automatically create a calendar (Template 106) from a ListItem (Title => Name of calendar). So far so good...
Problem of all is, that I want to delete ALL ...
1
vote
2answers
67 views
EventReceiver for 'Pages' library on multiple languages
I've made a EventReceiver that i want to attach to my Pages library. It will create a folder on a given Image Library for event pictures.
I can say on the elements.xml of the EventReceiver the list ...
0
votes
3answers
118 views
Getting ItemUpdating Even Receiver to do the same thing as ItemAdding
I have a library that allows multiple folder content types. I am grouping the folders by content type but I don't want the group heading to say Content Type: whatever. Instead, I created a hidden ...
2
votes
3answers
107 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 ...
1
vote
2answers
73 views
SPListItem.Delete or SPListItem.Recycle, which one was called?
In an ItemDeleting event receiver, is there a way to find out whether SPListItem.Delete or SPListItem.Recycle was called?
I would like to write different things to my log here...
0
votes
1answer
58 views
Custom Event Reciever For Document Library(sharepoint 2010)
I have a month column which is a choice column in my document library in the format specified below.. For eg. Jan 2013 I have the following requirements 1. The month dropdown should always have only ...
0
votes
1answer
219 views
Cannot associate event receiver with a particular document library
I am trying to develop an Event Receiver for a document library titled Temporary. I have modified the Elements.xml document to look like this:
<?xml version="1.0" encoding="utf-8"?>
...
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
0answers
95 views
ItemUpdating event not firing on folder rename w/ Windows Explorer
I have an Item Updating event receiver that needs to fire when a document library folder is renamed. Everything works perfect when a user renames the folder with the SharePoint UI.
However, if ...
0
votes
3answers
68 views
Event Receiver when document body/content is updated
What event receiver is triggered when the content of an existing Word document is updated/changed? ItemUpdated works when the properties on the document are updated (e.g. changing a content type ...
1
vote
0answers
121 views
Content type inheritance and event receiver
I have defined in a VS project a custom content type "Parent". I want to let the user create (from the ui) child content type of this content type, while benefiting some shared behavior (auto filling ...
1
vote
1answer
69 views
How do I run Microsoft Open XML code to extract data from a Word document in SharePoint 2010
I have a need to extract arbitrary data from a Word document (docx) that has been uploaded into a SharePoint document library and place it into a column in the document's list record.
As far as data ...
1
vote
2answers
78 views
ItemUpdated fires when no item is added
I have an ItemUpdated event receiver in a document library in SharePoint 2010.
When I try to upload a document with a name that already exists in my library I get an error message "The specified name ...
0
votes
1answer
113 views
Do event receivers have a file handling limit?
I created an event receiver inheriting from SPItemEventReceiver for document libraries that moves files to specific folders and changes some metadata columns that I've added to them.
I created a ...
2
votes
0answers
87 views
custom email event receiver doesn't accept .msg file attachments
Environment is Sharepoint 2010. The issue I'm running into is essentially the one that occurred here: ...
1
vote
1answer
59 views
Getting exception on set default page programatically on feature activated in SharePoint-2010
my code on feature activated is
public override void FeatureActivated(SPFeatureReceiverProperties properties)
{
using (SPSite SiteInUserContext = new SPSite((properties.Feature.Parent as ...
0
votes
0answers
44 views
Sharepoint 2007 event receiver - debug on development environment locks production
Sorry for the strange title, but I'm having a hard time finding a good description of the problem, so here it goes.
I've created an event receiver in my projekt and it works fine on my development ...
0
votes
1answer
58 views
ApplyWebConfigModifications caching issue
Doing some testing of adding multiple configuration settings during a feature activation. One of my trials caused an error with a setting, specifically around preCondition statement for ...
1
vote
3answers
219 views
Implement check-in check-out on list items?
I want to implement check-in/check-out functionality on a list in sharepoint 2010.
What I want is, when a person is updating a list item, no one else shuld be able to edit that particular item and ...



